/* ===========================================================
   Rana Jazib Shafique — WordPress Developer & Frontend Expert
   Design system: colors, layout, components
   =========================================================== */

:root {
  --primary: #1A05A2;
  --primary-light: #3A1FD6;
  --secondary: #8F0177;
  --secondary-light: #C0139E;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --dark: #0B0620;
  --dark-soft: #150B33;
  --ink: #1C1830;
  --muted: #675F82;
  --light: #F6F5FC;
  --border: #E7E4F5;
  --white: #FFFFFF;
  --success: #1FAA59;
  --star: #FFB020;

  --font-head: "Poppins", "Poppins Fallback", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Inter Fallback", "Segoe UI", Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(26, 5, 162, 0.07);
  --shadow: 0 10px 30px rgba(26, 5, 162, 0.12);
  --shadow-lg: 0 20px 50px rgba(26, 5, 162, 0.18);
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--dark); line-height: 1.3; margin: 0 0 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
p { margin: 0 0 16px; color: var(--muted); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--secondary); background: rgba(143,1,119,0.08);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 14px 30px; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.top-bar { background: var(--primary); color: rgba(255,255,255,0.9); font-size: 0.82rem; padding: 8px 0; }
.top-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-bar-left { display: flex; align-items: center; gap: 22px; }
.top-bar-left a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.9); transition: color 0.2s ease; }
.top-bar-left a:hover { color: var(--white); }
.top-bar-left svg { flex-shrink: 0; }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap; }
.top-bar-status .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; display: inline-block; }
.top-bar-social { display: flex; align-items: center; gap: 12px; }
.top-bar-social a { color: rgba(255,255,255,0.85); display: flex; transition: color 0.2s ease; }
.top-bar-social a:hover { color: var(--white); }
@media (max-width: 768px) { .top-bar { display: none; } }
@media (max-width: 1100px) { .top-bar-status { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: #ffffff;
  padding: 10px 0; transition: padding 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 12px rgba(15,15,40,0.08);
}
.site-header.is-scrolled { padding: 6px 0; box-shadow: 0 6px 24px rgba(15,15,40,0.14); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.brand svg { flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav-mobile-brand { display: none; }
.nav a.nav-link {
  display: flex; align-items: center; gap: 5px; color: var(--ink);
  font-weight: 500; font-size: 0.95rem; padding: 10px 14px; border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a.nav-link:hover, .nav li.open > a.nav-link, .nav li.has-dropdown:has(> .dropdown a[aria-current="page"]) > a.nav-link { color: var(--primary); background: rgba(26,5,162,0.08); }
.nav .chev { width: 10px; height: 10px; transition: transform 0.2s ease; }
.nav li.open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s ease; z-index: 50;
}
.nav li.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 10px; color: var(--ink); }
.dropdown a:hover { background: var(--light); color: var(--primary); }
.dropdown a strong { font-family: var(--font-head); font-size: 0.92rem; font-weight: 600; }
.dropdown a span { font-size: 0.78rem; color: var(--muted); }
.dropdown-mega { left: 50%; right: auto; min-width: 640px; padding: 16px; transform: translateX(-50%) translateY(8px); }
.nav li.open .dropdown-mega { transform: translateX(-50%) translateY(0); }
.mega-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 8px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.mega-head strong { font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em; }
.mega-head a { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; color: var(--secondary); flex-shrink: 0; transition: gap 0.2s ease, color 0.2s ease; }
.mega-head a:hover { color: var(--primary); gap: 8px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.dropdown-mega a { flex-direction: row; align-items: center; gap: 12px; padding: 10px; }
.dropdown-mega .dd-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(26,5,162,0.08); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.dropdown-mega a:hover .dd-icon { background: var(--gradient); color: var(--white); transform: scale(1.08) rotate(-4deg); }
.dropdown-mega .dd-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink); transition: all 0.25s ease;
}
.nav-toggle::before { top: 13px; }
.nav-toggle span { top: 19px; }
.nav-toggle::after { top: 25px; }
.nav-toggle.active::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle.active span { opacity: 0; }

@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .header-cta .btn-primary.header-only { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); height: 100vh;
    background: var(--dark-soft); flex-direction: column; align-items: stretch;
    padding: 90px 20px 30px; transform: translateX(100%); transition: transform 0.3s ease;
    overflow-y: auto; gap: 2px;
  }
  .nav.open { transform: translateX(0); }
  .nav a.nav-link { width: 100%; color: rgba(255,255,255,0.85); }
  .nav a.nav-link:hover, .nav li.open > a.nav-link, .nav li.has-dropdown:has(> .dropdown a[aria-current="page"]) > a.nav-link { color: var(--white); background: rgba(255,255,255,0.08); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden; padding: 0; box-shadow: none; background: transparent; border-radius: 0; transition: max-height 0.25s ease, padding 0.25s ease; }
  .nav li.open .dropdown { max-height: 600px; padding: 8px; margin-bottom: 6px; }
  .dropdown a strong, .dropdown a span { color: var(--white); }
  .dropdown a span { color: rgba(255,255,255,0.6); }
  .dropdown-mega { display: block; min-width: auto; left: 0; right: auto; transform: none; padding: 8px; }
  .nav li.open .dropdown-mega { transform: none; max-height: 2000px; }
  .mega-grid { display: block; }
  .nav-mobile-brand { display: flex; justify-content: center; padding-bottom: 20px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .nav-mobile-brand a { display: inline-flex; background: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }
  .nav-mobile-brand img { height: 34px; width: auto; display: block; }
  .mega-head { border-bottom-color: rgba(255,255,255,0.15); }
  .mega-head strong, .mega-head a { color: var(--white); }
  .mega-head a:hover { color: var(--secondary-light); }
  .dropdown-mega .dd-icon { background: rgba(255,255,255,0.1); color: var(--white); }
  .nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: opacity 0.3s ease; z-index: 400; }
  .nav-scrim.open { opacity: 1; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero { background: var(--gradient); position: relative; overflow: hidden; padding: 70px 0 90px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08) 0, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.08) 0, transparent 45%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.14); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; padding: 7px 16px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.hero h1 .hl { color: #FFD9F5; }
.hero p.lead { color: rgba(255,255,255,0.85); font-size: 1.08rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin: 26px 0 30px; flex-wrap: wrap; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-stats li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; }
.hero-stats svg { color: #FFD9F5; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); position: relative; z-index: 2; }
.hero-card {
  position: absolute; bottom: -20px; right: -10px; z-index: 3; background: var(--white);
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg);
  min-width: 170px;
}
.hero-card .row { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.hero-card .score { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--success); }
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-media { max-width: 380px; margin: 40px auto 0; }
  .hero-card:not(.hero-card-alt) { position: static; margin: 16px auto 0; width: fit-content; }
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--light); padding: 34px 0; }
.trust-strip p { text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 20px; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px; }
.trust-logos li { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--ink); opacity: 0.65; font-size: 0.95rem; }
.trust-logos svg { color: var(--primary); }
.trust-logos img { height: 60px; width: auto; max-width: 220px; object-fit: contain; filter: grayscale(1); opacity: 0.6; transition: filter 0.25s ease, opacity 0.25s ease; }
.trust-logos img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 992px) { .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 576px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

/* ---------- Service / feature cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--gradient); color: var(--white); }
.card h2, .card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { font-size: 0.92rem; margin-bottom: 0; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--secondary); }
.card-cta { background: var(--gradient); border-color: transparent; }
.card-cta .card-icon { background: rgba(255,255,255,0.18); }
.card-cta h3, .card-cta p, .card-cta .more { color: var(--white); }
.card-cta::after { background: rgba(255,255,255,0.6); }

.icon-tile { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.icon-tile:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.icon-tile .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(26,5,162,0.08); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-tile strong { font-family: var(--font-head); font-size: 0.92rem; font-weight: 600; color: var(--ink); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--gradient); border-radius: var(--radius-lg); padding: 44px 30px; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stats-band li { text-align: center; color: var(--white); }
.stats-band .num { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; }
.stats-band .lbl { font-size: 0.88rem; color: rgba(255,255,255,0.85); }
@media (max-width: 768px) { .stats-band { grid-template-columns: repeat(2,1fr); } }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.process-grid::before { content: ""; position: absolute; top: 46px; left: 0; right: 0; height: 2px; background: var(--border); z-index: 0; }
.process-step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 20px; text-align: left; position: relative; z-index: 1; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.process-step .step-no { font-family: var(--font-head); font-weight: 700; color: var(--white); background: var(--gradient); width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 0.95rem; }
.process-step h3, .process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; margin-bottom: 0; }
@media (max-width: 992px) { .process-grid { grid-template-columns: repeat(2,1fr); } .process-grid::before { display: none; } }
@media (max-width: 576px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-left: 38px; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--gradient); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--border); }
.timeline-year { display: inline-block; font-family: var(--font-head); font-weight: 700; color: var(--primary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.timeline-item h3, .timeline-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline-item p { font-size: 0.92rem; color: var(--muted); margin-bottom: 0; }

/* ---------- Portfolio ---------- */
.portfolio-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--dark); }
.portfolio-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; opacity: 0.92; transition: transform 0.4s ease; }
.portfolio-card:hover img { transform: scale(1.06); }
.portfolio-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; background: linear-gradient(to top, rgba(11,6,32,0.92), transparent); }
.portfolio-overlay strong { color: var(--white); font-family: var(--font-head); font-size: 1rem; display: block; }
.portfolio-overlay span { color: rgba(255,255,255,0.75); font-size: 0.82rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; justify-content: center; }
.tag-pill { font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); color: var(--muted); transition: all 0.2s ease; }
.tag-pill.active, .tag-pill:hover { background: var(--gradient); color: var(--white); border-color: transparent; }

/* ---------- Testimonials ---------- */
.testimonials-wrap { background: var(--dark); border-radius: var(--radius-lg); padding: 54px 40px; }
.testimonials-wrap .section-head h2, .testimonials-wrap .section-head p { color: var(--white); }
.testimonials-wrap .eyebrow { background: rgba(255,255,255,0.12); color: var(--white); }
.t-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 26px; }
.t-card .quote-mark { color: var(--secondary-light); font-size: 2rem; font-family: Georgia, serif; line-height: 1; }
.t-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.t-person { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.t-person img { width: 44px; height: 44px; border-radius: 50%; }
.t-person strong { color: var(--white); font-family: var(--font-head); font-size: 0.9rem; display: block; }
.t-person .stars { color: var(--star); font-size: 0.8rem; }

/* ---------- Blog cards ---------- */
.blog-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: box-shadow 0.25s ease, transform 0.25s ease; background: var(--white); }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.blog-card .thumb { position: relative; }
.blog-card .thumb img { aspect-ratio: 16/10; object-fit: cover; }
.blog-cat { position: absolute; top: 14px; left: 14px; background: var(--gradient); color: var(--white); font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.blog-card .body { padding: 22px; }
.blog-card .meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 8px; }
.blog-card h2, .blog-card h3 { font-size: 1.02rem; margin-bottom: 10px; }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--secondary); }
.read-more { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gradient); border-radius: var(--radius-lg); padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer-particles { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }

/* ---------- Map embed ---------- */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); line-height: 0; }
.map-embed iframe { display: block; }

/* ---------- Breadcrumb / page header ---------- */
.page-hero { background: var(--gradient); padding: 60px 0 70px; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background-image: radial-gradient(circle at 90% 10%, rgba(255,255,255,0.1) 0, transparent 40%); }
.page-hero .container { position: relative; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--white); }
.page-hero .eyebrow { color: var(--white); background: rgba(255,255,255,0.15); }
.page-hero h1 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 10px; max-width: 760px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 640px; margin-bottom: 0; }

/* ---------- Content layout (service pages) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius-lg); }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 900px) { .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; } }

.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 0.96rem; color: var(--ink); }
.check-list svg { flex-shrink: 0; color: var(--success); margin-top: 3px; }

.sub-service-card { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); transition: box-shadow .2s ease, transform .2s ease; }
.sub-service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.sub-service-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--gradient); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; }
.faq-q svg { transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a p { margin-bottom: 0; font-size: 0.92rem; }

.sidebar-box { background: var(--light); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; }
.sidebar-box h4 { font-size: 1rem; margin-bottom: 16px; }
.sidebar-box ul li { margin-bottom: 10px; }
.sidebar-box ul a { font-size: 0.9rem; display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.sidebar-box ul a:hover { color: var(--secondary); }

/* ---------- Forms ---------- */
.form-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 576px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--ink); }
.field input, .field select, .field textarea {
  padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--light); transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); background: var(--white); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.captcha-field .captcha-answer { max-width: 140px; }
.form-success, .form-error { display: none; padding: 16px 20px; border-radius: var(--radius-sm); font-size: 0.92rem; margin-bottom: 18px; }
.form-success { background: rgba(31,170,89,0.1); color: #1FAA59; }
.form-error { background: rgba(220,53,69,0.1); color: #dc3545; }
.form-success.show, .form-error.show { display: block; }

/* Multi-step quote form */
.stepper { display: flex; justify-content: space-between; margin-bottom: 36px; position: relative; }
.stepper::before { content: ""; position: absolute; top: 17px; left: 5%; right: 5%; height: 2px; background: var(--border); z-index: 0; }
.stepper .bar { position: absolute; top: 17px; left: 5%; height: 2px; background: var(--gradient); z-index: 1; width: 0; transition: width 0.35s ease; }
.stepper .s-item { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.stepper .s-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--muted); transition: all 0.25s ease; }
.stepper .s-item.active .s-dot, .stepper .s-item.done .s-dot { background: var(--gradient); border-color: transparent; color: var(--white); }
.stepper .s-label { font-size: 0.75rem; font-weight: 600; color: var(--muted); text-align: center; display: none; }
.stepper .s-item.active .s-label { color: var(--primary); }
@media (min-width: 640px) { .stepper .s-label { display: block; } }

.quote-step { display: none; animation: fadeUp 0.35s ease; }
.quote-step.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px);} to { opacity:1; transform: translateY(0);} }

.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 10px; }
@media (max-width: 640px) { .option-grid { grid-template-columns: repeat(2,1fr); } }
.option-card { position: relative; }
.option-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option-card .box { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 18px 14px; text-align: center; transition: all 0.2s ease; height: 100%; }
.option-card .box svg { color: var(--primary); margin-bottom: 8px; }
.option-card .box strong { display: block; font-family: var(--font-head); font-size: 0.88rem; }
.option-card input:checked + .box { border-color: var(--secondary); background: rgba(143,1,119,0.06); box-shadow: 0 0 0 3px rgba(143,1,119,0.1); }

.step-actions { display: flex; justify-content: space-between; margin-top: 26px; gap: 14px; }
.summary-list { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 20px; }
.summary-list div { display: flex; justify-content: space-between; padding: 12px 18px; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.summary-list div:last-child { border-bottom: none; }
.summary-list span:first-child { color: var(--muted); }
.summary-list span:last-child { font-weight: 600; text-align: right; }

/* ---------- Tools ---------- */
.tool-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.tool-result { background: var(--light); border-radius: var(--radius-sm); padding: 20px; margin-top: 20px; display: none; }
.tool-result.show { display: block; }
.tool-result pre { white-space: pre-wrap; word-break: break-all; font-size: 0.85rem; background: var(--dark); color: #B9F6CA; padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; }
.copy-btn { margin-top: 12px; }
.meta-row { display:flex; justify-content:space-between; font-size:0.85rem; color: var(--muted); margin-top:6px; }
.progress-bar { height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; margin-top:6px; }
.progress-bar span { display:block; height:100%; background: var(--gradient); transition: width 0.3s ease; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge-soft { display:inline-block; background: rgba(26,5,162,0.08); color: var(--primary); font-family: var(--font-head); font-weight:600; font-size:0.78rem; padding:5px 14px; border-radius:999px; }
.divider { height:1px; background: var(--border); margin: 40px 0; border:0; }
.skip-link { position:absolute; left:-999px; top:0; background:var(--white); padding:10px 16px; z-index:1000; }
.skip-link:focus { left:10px; top:10px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Cookie banner */
.cookie-bar { position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 560px; margin: 0 auto; background: var(--dark); color: rgba(255,255,255,0.85); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-lg); z-index: 900; display: none; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.8); flex: 1 1 260px; }
.cookie-bar a { text-decoration: underline; color: var(--white); }

/* Back to top */

/* ---------- Scroll-reveal system (hidden only once JS confirms it can reveal them) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in-view { opacity: 1; transform: none; }
.grid > .reveal:nth-child(1), .process-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.grid > .reveal:nth-child(2), .process-grid > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3), .process-grid > .reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4), .process-grid > .reveal:nth-child(4) { transition-delay: .24s; }
.grid > .reveal:nth-child(5), .process-grid > .reveal:nth-child(5) { transition-delay: .32s; }
.grid > .reveal:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------- Hero status pill & floating trust card ---------- */
.status-pill { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,0.14); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; padding: 8px 18px 8px 14px; border-radius: 999px; margin-bottom: 18px; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,0.6); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(61,220,132,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); }
}
.hero-card-alt { top: -18px; left: -14px; bottom: auto; right: auto; }
.mini-avatars { display: flex; margin-bottom: 8px; }
.mini-avatars img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--white); margin-left: -10px; }
.mini-avatars img:first-child { margin-left: 0; }
.hero-card-alt strong { display: block; font-family: var(--font-head); font-size: 0.92rem; color: var(--ink); }
.hero-card-alt span { font-size: 0.76rem; color: var(--muted); }
@media (max-width: 992px) { .hero-card-alt { position: static; margin: 0 auto 16px; width: fit-content; box-shadow: none; background: transparent; padding: 0; } .hero-card-alt .mini-avatars { justify-content: center; } }

/* ---------- Card & icon micro-interactions ---------- */
.card-icon { transition: transform 0.3s ease; }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.btn-primary, .btn-outline, .btn-outline-dark { transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease; }
.btn-primary:active, .btn-outline:active, .btn-outline-dark:active { transform: scale(0.97); }

/* Portfolio hover spotlight */
.portfolio-card { position: relative; }
.portfolio-card[data-lightbox] { cursor: zoom-in; }
.portfolio-card::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 54px; height: 54px;
  transform: translate(-50%, -50%) scale(0.7); opacity: 0; transition: all 0.3s ease; pointer-events: none;
  background: var(--white) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231A05A2" stroke-width="2"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.3-4.3"/><path d="M11 8v6M8 11h6"/></svg>') center/24px no-repeat;
  border-radius: 50%; box-shadow: var(--shadow);
}
.portfolio-card:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.portfolio-card:hover img { filter: brightness(0.5); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(11,6,32,0.92); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 60px 20px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 90vw; text-align: center; }
.lightbox img { max-width: 90vw; max-height: 78vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.lightbox figcaption { color: rgba(255,255,255,0.85); font-family: var(--font-head); font-weight: 600; margin-top: 16px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.1); color: var(--white); border: none; border-radius: 50%;
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { width: 38px; height: 38px; } }

/* ---------- Sticky mobile CTA bar (injected by main.js) ---------- */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; gap: 10px;
    background: var(--white); box-shadow: 0 -6px 24px rgba(11,6,32,0.14);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-cta-bar a { flex: 1; }
  body { padding-bottom: 66px; }
}

/* ---------- WhatsApp floating button (injected by main.js) ---------- */
.whatsapp-float {
  position: fixed; left: 20px; bottom: 22px; width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); z-index: 950; transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px); }
@media (max-width: 768px) { .whatsapp-float { bottom: 88px; } }

/* ---------- Chat widget (injected by chatbot.js) ---------- */
.chat-toggle {
  position: fixed; right: 20px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gradient); color: var(--white); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); z-index: 950;
  transition: transform 0.2s ease;
}
.chat-toggle:hover { transform: translateY(-3px); }
.chat-toggle .ic-close { display: none; }
.chat-toggle.open .ic-chat { display: none; }
.chat-toggle.open .ic-close { display: block; }
.chat-toggle .dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid var(--white); }
@media (max-width: 768px) { .chat-toggle { bottom: 88px; } }

.chat-panel {
  position: fixed; right: 20px; bottom: 88px; width: 340px; max-width: calc(100vw - 40px);
  height: 460px; max-height: calc(100vh - 140px); background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: 949;
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.97); transform-origin: bottom right;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.chat-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
@media (max-width: 768px) { .chat-panel { bottom: 154px; right: 16px; width: calc(100vw - 32px); } }

.chat-head { background: var(--gradient); color: var(--white); padding: 16px 18px; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.chat-head .chat-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-head); font-weight: 700; }
.chat-head strong { display: block; font-family: var(--font-head); font-size: 0.92rem; }
.chat-head span { display: block; font-size: 0.76rem; color: rgba(255,255,255,0.85); }
.chat-head span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; margin-right: 5px; }

.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--light); }
.chat-msg { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 0.86rem; line-height: 1.45; }
.chat-msg.bot { align-self: flex-start; background: var(--white); border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--ink); }
.chat-msg.user { align-self: flex-end; background: var(--gradient); color: var(--white); border-bottom-right-radius: 4px; }
.chat-typing { align-self: flex-start; background: var(--white); border: 1px solid var(--border); border-radius: 14px; border-bottom-left-radius: 4px; padding: 11px 15px; display: flex; gap: 4px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: 0.5; animation: chatTyping 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatTyping { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.chat-options { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 100%; }
.chat-option-btn { background: var(--white); border: 1.5px solid var(--primary); color: var(--primary); font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: all 0.15s ease; }
.chat-option-btn:hover { background: var(--gradient); color: var(--white); border-color: transparent; }

.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: var(--white); flex-shrink: 0; }
.chat-input-row input { flex: 1; border: 1.5px solid var(--border); border-radius: 999px; padding: 9px 15px; font-size: 0.86rem; font-family: inherit; outline: none; }
.chat-input-row input:focus { border-color: var(--primary); }
.chat-input-row button { width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--gradient); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.chat-input-row.hidden { display: none; }

/* ---------- Lead generation components ---------- */
.nav a.nav-link.nav-link-accent { color: var(--secondary); }
.nav a.nav-link.nav-link-accent:hover { color: var(--secondary); background: rgba(143,1,119,0.08); }

.lead-card { background: var(--white); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); text-align: left; }
.lead-card h2, .lead-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.lead-card > p { font-size: 0.9rem; margin-bottom: 16px; }
.lead-form .lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.lead-form .field label { font-size: 0.78rem; }
.lead-form .field input, .lead-form .field select, .lead-form .field textarea { padding: 11px 14px; font-size: 0.95rem; }
.lead-form .field textarea { min-height: 84px; }
.lead-form .btn-block { margin-top: 6px; }
.lead-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 14px; font-size: 0.78rem; color: var(--muted); }
.lead-assure span { display: inline-flex; align-items: center; gap: 5px; }
.lead-assure svg { color: var(--success); flex-shrink: 0; }
.lead-form .form-error { margin-bottom: 12px; }
@media (max-width: 576px) { .lead-form .lead-grid { grid-template-columns: 1fr; } .lead-card { padding: 20px; } }

.hero .lead-card { margin: 24px 0; max-width: 540px; }
@media (max-width: 992px) { .hero .lead-card { margin-left: auto; margin-right: auto; } }

.lead-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lead-section-grid h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.lead-section-grid .check-list { margin: 20px 0 0; }
.lead-section .lead-card { box-shadow: var(--shadow); border: 1px solid var(--border); }
@media (max-width: 900px) { .lead-section-grid { grid-template-columns: 1fr; gap: 32px; } }

.lead-box { background: var(--light); border: 1px solid var(--border); border-left: 4px solid var(--secondary); border-radius: var(--radius); padding: 28px; margin: 36px 0; }
.lead-box h3 { font-size: 1.15rem; margin-bottom: 8px; }
.lead-box p { margin-bottom: 18px; }
.lead-box .lead-box-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.audit-banner { background: var(--gradient); border-radius: var(--radius-lg); padding: 40px 44px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; color: var(--white); }
.audit-banner .ab-icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; }
.audit-banner h2 { color: var(--white); font-size: 1.45rem; margin-bottom: 6px; }
.audit-banner p { color: rgba(255,255,255,0.88); margin-bottom: 0; }
.audit-banner .btn-white { background: var(--white); color: var(--primary); }
.audit-banner .btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
@media (max-width: 900px) { .audit-banner { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; justify-items: center; } }

.invest { display: inline-block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; color: var(--primary); background: rgba(26,5,162,0.08); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 768px) { .how-grid { grid-template-columns: 1fr; } }

.thanks-card { max-width: 720px; margin: 0 auto; text-align: center; }
.thanks-icon { width: 76px; height: 76px; border-radius: 50%; background: rgba(31,170,89,0.12); color: var(--success); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.thanks-steps { text-align: left; margin: 30px 0; }
.hero-secondary { color: rgba(255,255,255,0.85); font-size: 0.92rem; margin-bottom: 22px; }
.hero-secondary a { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lead-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
aside .lead-card { box-shadow: var(--shadow); border: 1px solid var(--border); padding: 22px; }
aside .lead-form .lead-grid { grid-template-columns: 1fr; }

/* Blog article + sidebar layout */
.blog-layout { grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.blog-layout > * { min-width: 0; }
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Hero v2: richer background, glass cards, photo glow ---------- */
.hero {
  background:
    radial-gradient(1000px 520px at 12% -10%, rgba(120, 90, 255, 0.55) 0, transparent 60%),
    radial-gradient(900px 560px at 95% 105%, rgba(255, 60, 200, 0.40) 0, transparent 60%),
    linear-gradient(135deg, #14046f 0%, #1A05A2 38%, #6a0a8f 72%, #8F0177 100%);
  padding: 64px 0 120px;
}
.hero::before {
  background-image: radial-gradient(rgba(255,255,255,0.16) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  opacity: 0.55;
}
.hero::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 70px; z-index: 1;
  background: var(--light); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; animation: hero-drift 14s ease-in-out infinite; }
.hero-orb-1 { width: 340px; height: 340px; background: rgba(110, 80, 255, 0.55); top: -90px; left: -80px; }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(255, 60, 200, 0.40); bottom: 40px; right: 6%; animation-delay: -5s; }
.hero-orb-3 { width: 200px; height: 200px; background: rgba(61, 220, 255, 0.28); top: 40%; left: 44%; animation-delay: -9s; }
@keyframes hero-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, -18px) scale(1.08); } }

.hero .container { z-index: 2; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-pills .status-pill, .hero-pills .hero-badge { margin: 0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.12); }
.hero-pills .hero-badge { text-transform: none; letter-spacing: 0.01em; font-size: 0.8rem; padding: 8px 16px; }

.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.12; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(10, 0, 60, 0.35); }
.hero h1 .hl {
  background: linear-gradient(90deg, #FFE9FA 0%, #FFB3EC 55%, #9be8ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: none;
}
.hero p.lead { font-size: 1.12rem; line-height: 1.65; color: rgba(255,255,255,0.9); }

.hero .lead-card {
  position: relative; border: 1px solid rgba(255,255,255,0.6); overflow: hidden;
  box-shadow: 0 30px 70px rgba(8, 0, 60, 0.45);
}
.hero .lead-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, #1A05A2, #C0139E, #3ddcff); }

.hero-stats { gap: 10px; margin-top: 4px; }
.hero-stats li { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 0.86rem; }

.hero-media::before {
  content: ""; position: absolute; inset: 6% -8% -6% -8%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,150,230,0.55) 0, rgba(140,110,255,0.30) 45%, transparent 70%);
  filter: blur(30px);
}
.hero-ring {
  position: absolute; z-index: 1; inset: 10px -14px -14px 14px; border-radius: var(--radius-lg);
  border: 2px solid rgba(255,255,255,0.45);
  background: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02));
}
.hero-media img { box-shadow: 0 30px 60px rgba(8, 0, 60, 0.45); border: 1px solid rgba(255,255,255,0.35); }

.hero-card { background: rgba(255,255,255,0.94); border: 1px solid rgba(255,255,255,0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: hero-float 6s ease-in-out infinite; }
.hero-card-alt { animation-delay: -2s; }
.hero-card-reply {
  top: 46%; left: -34px; bottom: auto; right: auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; animation-delay: -4s;
}
.hero-card-reply .reply-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(31,170,89,0.14); color: var(--success); flex: none; }
.hero-card-reply strong { display: block; font-family: var(--font-head); font-size: 0.86rem; color: var(--ink); line-height: 1.25; }
.hero-card-reply span:not(.reply-ico) { font-size: 0.74rem; color: var(--muted); }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 992px) {
  .hero { padding: 48px 0 100px; }
  .hero-pills { justify-content: center; }
  .hero-card-reply { position: static; margin: 14px auto 0; width: fit-content; animation: none; }
  .hero-card { animation: none; }
  .hero-ring { display: none; }
  .hero-media::before { inset: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-orb, .hero-card { animation: none; } }


/* ---------- Hero without form + quote section ---------- */
.btn-white { background: var(--white); color: var(--primary); box-shadow: 0 10px 30px rgba(8,0,60,0.35); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(8,0,60,0.45); }
.btn-lg { padding: 16px 30px; font-size: 1rem; gap: 10px; }
.hero { padding: 72px 0 170px; }
.hero p.lead { max-width: 540px; }
.hero-actions { margin: 30px 0 18px; }
.hero-secondary { margin-bottom: 26px; }
.quote-section { position: relative; z-index: 5; margin-top: -120px; padding: 0 0 56px; background: linear-gradient(to bottom, transparent 0, transparent 120px, var(--light) 120px); }
.quote-wrap { display: grid; grid-template-columns: 1fr 1.05fr; border-radius: 26px; overflow: hidden; box-shadow: 0 34px 80px rgba(20, 4, 111, 0.28); background: var(--white); border: 1px solid rgba(255,255,255,0.7); }
.quote-side { position: relative; padding: 46px 44px; color: rgba(255,255,255,0.9); overflow: hidden;
  background: radial-gradient(520px 320px at 100% 0, rgba(255,60,200,0.35) 0, transparent 60%), linear-gradient(145deg, #14046f 0%, #1A05A2 50%, #6a0a8f 100%); }
.quote-side::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; left: -90px; bottom: -110px; background: rgba(255,255,255,0.08); }
.quote-side > * { position: relative; z-index: 1; }
.quote-side .eyebrow { color: var(--white); background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.2); }
.quote-side h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.2; margin-bottom: 14px; }
.quote-side p { color: rgba(255,255,255,0.86); }
.quote-points { margin: 22px 0 26px; display: grid; gap: 14px; }
.quote-points li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.quote-points li svg { flex: none; margin-top: 1px; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(61,220,132,0.22); color: #7dffb4; }
.quote-points strong { color: var(--white); }
.quote-contact { display: flex; flex-wrap: wrap; gap: 10px; }
.quote-contact a { font-size: 0.88rem; font-weight: 600; color: var(--white); padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.32); background: rgba(255,255,255,0.08); transition: background 0.2s ease; }
.quote-contact a:hover { background: rgba(255,255,255,0.2); }
.quote-form { padding: 40px 40px 34px; display: flex; align-items: center; }
.quote-form .lead-card { box-shadow: none; padding: 0; width: 100%; max-width: none; margin: 0; }
.quote-form .lead-card h3 { font-size: 1.35rem; }
.quote-form .lead-card > p { font-size: 0.95rem; }
@media (max-width: 900px) {
  .quote-wrap { grid-template-columns: 1fr; }
  .quote-side { padding: 32px 26px; }
  .quote-form { padding: 28px 22px; }
  .hero { padding: 48px 0 150px; }
  .quote-section { margin-top: -100px; background: linear-gradient(to bottom, transparent 0, transparent 100px, var(--light) 100px); }
}

/* ---------- Section polish ---------- */
.section-head h2::after { content: ""; display: block; width: 58px; height: 4px; border-radius: 4px; margin: 16px auto 0; background: var(--gradient); }
.section-head .eyebrow { border: 1px solid rgba(143,1,119,0.16); }
.testimonials-wrap .section-head h2::after { background: linear-gradient(90deg, #FFB3EC, #9be8ff); }
.trust-strip { padding: 10px 0 46px; }
.trust-strip .container { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px 22px; box-shadow: var(--shadow-sm); }
.trust-strip p { margin-bottom: 14px; }
.trust-logos { gap: 36px 52px; }
.card { box-shadow: 0 1px 2px rgba(26,5,162,0.04); }
.card-icon { border-radius: 16px; box-shadow: 0 10px 22px rgba(26,5,162,0.28); transition: transform 0.3s ease; }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card .more { transition: gap 0.2s ease; }
.card:hover .more { gap: 10px; }
.process-step { box-shadow: 0 1px 2px rgba(26,5,162,0.04); }
.process-step .step-no { box-shadow: 0 8px 18px rgba(26,5,162,0.28); }
.icon-tile .ic { background: var(--gradient); color: var(--white); }
.t-card { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform 0.25s ease, background 0.25s ease; }
.t-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
.testimonials-wrap { background: radial-gradient(600px 300px at 90% 0, rgba(255,60,200,0.22) 0, transparent 60%), radial-gradient(600px 300px at 0 100%, rgba(80,60,255,0.28) 0, transparent 60%), var(--dark); }
.faq-item { background: var(--white); box-shadow: 0 1px 2px rgba(26,5,162,0.04); transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.faq-item.open, .faq-item:hover { box-shadow: var(--shadow-sm); border-color: rgba(26,5,162,0.25); }
.faq-item.open .faq-q { color: var(--primary); }
.blog-card .thumb { overflow: hidden; }
.blog-card .thumb img { transition: transform 0.4s ease; }
.blog-card:hover .thumb img { transform: scale(1.06); }
.audit-banner { box-shadow: 0 24px 60px rgba(26,5,162,0.28); position: relative; overflow: hidden; }
.lead-section { background: linear-gradient(180deg, var(--light) 0%, #ffffff 100%); }
.lead-section .lead-card { box-shadow: var(--shadow-lg); border: 1px solid var(--border); border-top: 5px solid var(--primary); }

/* ---------- Back to top (progress ring, sits above the chat button) ---------- */
.to-top {
  position: fixed; right: 25px; bottom: 96px; width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: conic-gradient(var(--secondary-light) calc(var(--p, 0) * 1%), rgba(26,5,162,0.18) 0);
  box-shadow: 0 10px 26px rgba(26,5,162,0.28); z-index: 940;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.to-top::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--white); transition: background 0.2s ease; }
.to-top svg { position: relative; z-index: 1; color: var(--primary); width: 20px; height: 20px; display: block; margin: auto; transition: color 0.2s ease; }
.to-top:hover { transform: translateY(-3px); }
.to-top:hover::before { background: var(--primary); }
.to-top:hover svg { color: var(--white); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width: 768px) { .to-top { bottom: 158px; right: 24px; } }

/* ---------- Footer v2 ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 320px at 90% -10%, rgba(143,1,119,0.35) 0, transparent 60%), radial-gradient(640px 320px at 0 110%, rgba(26,5,162,0.5) 0, transparent 60%); }
.site-footer > * { position: relative; z-index: 1; }
.footer-trust { border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-trust ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 0; }
.footer-trust li { display: flex; align-items: center; gap: 12px; }
.footer-trust .ft-ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: #FFB3EC; }
.footer-trust strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 0.92rem; line-height: 1.25; }
.footer-trust span { font-size: 0.8rem; color: rgba(255,255,255,0.62); }
.footer-main { padding-top: 60px; padding-bottom: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 44px; }
.footer-grid h4 { color: var(--white); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-grid h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #C0139E, #3ddcff); }
.footer-grid .brand { margin-bottom: 18px; display: inline-flex; }
.footer-grid .brand img { filter: brightness(0) invert(1); height: 50px; width: auto; }
.footer-grid p { font-size: 0.92rem; color: rgba(255,255,255,0.68); max-width: 340px; }
.footer-status { display: inline-flex; align-items: center; gap: 9px; margin-top: 6px; font-size: 0.8rem; font-weight: 600; color: var(--white); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); padding: 7px 14px 7px 12px; border-radius: 999px; font-family: var(--font-head); }
.footer-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; animation: pulse-dot 2s infinite; }
.site-footer .footer-links li { margin-bottom: 11px; }
.site-footer .footer-links a { color: rgba(255,255,255,0.7); font-size: 0.92rem; display: inline-block; transition: color 0.2s ease, transform 0.2s ease; }
.site-footer .footer-links a:hover { color: var(--white); transform: translateX(4px); }
.site-footer .footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.92rem; color: rgba(255,255,255,0.72); align-items: flex-start; }
.site-footer .footer-contact a { color: rgba(255,255,255,0.78); }
.site-footer .footer-contact a:hover { color: var(--white); }
.site-footer .footer-contact svg { flex: none; color: #FFB3EC; margin-top: 3px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.22); }
.footer-legal .container { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-size: 0.84rem; color: rgba(255,255,255,0.62); }
.footer-legal nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.72); }
.footer-legal a:hover { color: var(--white); }
@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } .footer-trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) { .footer-grid { grid-template-columns: 1fr; } .footer-trust ul { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; } .footer-legal .container { justify-content: center; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .footer-status .dot { animation: none; } }
@media (max-width: 768px) { .footer-legal .container { padding-bottom: 96px; } }


/* ---------- Two key services (home) ---------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.duo-card { background: var(--white); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(26,5,162,0.04); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.duo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.duo-media { position: relative; overflow: hidden; }
.duo-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.5s ease; }
.duo-card:hover .duo-media img { transform: scale(1.05); }
.duo-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,6,32,0.55), transparent 55%); }
.duo-tag { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.duo-body { padding: 30px 30px 28px; display: flex; flex-direction: column; flex: 1; }
.duo-body h3 { font-size: 1.35rem; margin-bottom: 10px; }
.duo-list { margin: 8px 0 22px; display: grid; gap: 11px; }
.duo-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; color: var(--ink); }
.duo-list svg { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: rgba(31,170,89,0.14); color: var(--success); margin-top: 0; }
.duo-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--border); }
.duo-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.duo-card-social { border-color: rgba(143,1,119,0.22); }
.duo-card-social .duo-tag { background: rgba(143,1,119,0.5); }
@media (max-width: 900px) { .duo-grid { grid-template-columns: 1fr; } }
@media (max-width: 576px) { .duo-body { padding: 24px 20px; } .duo-foot { flex-direction: column; align-items: flex-start; } }

/* ---------- Inner-page hero v2 (matches the home hero) ---------- */
.page-hero {
  background:
    radial-gradient(900px 420px at 8% -20%, rgba(120, 90, 255, 0.55) 0, transparent 60%),
    radial-gradient(800px 460px at 100% 120%, rgba(255, 60, 200, 0.38) 0, transparent 60%),
    linear-gradient(135deg, #14046f 0%, #1A05A2 38%, #6a0a8f 72%, #8F0177 100%);
  padding: 58px 0 104px;
}
.page-hero::before {
  background-image: radial-gradient(rgba(255,255,255,0.16) 1.2px, transparent 1.4px);
  background-size: 26px 26px; opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%); mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.page-hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 54px; background: var(--white); border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: 1; }
.page-hero .container { z-index: 2; }
.page-hero .container::after { content: ""; position: absolute; right: 20px; top: -30px; width: 300px; height: 300px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.14); box-shadow: 0 0 0 46px rgba(255,255,255,0.04), 0 0 0 96px rgba(255,255,255,0.025); pointer-events: none; z-index: -1; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: 20px; font-size: 0.82rem; }
.page-hero h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.14; letter-spacing: -0.015em; text-shadow: 0 2px 22px rgba(10,0,60,0.35); max-width: 820px; }
.page-hero p { font-size: 1.08rem; line-height: 1.65; color: rgba(255,255,255,0.9); max-width: 680px; }
.page-hero .eyebrow { border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.page-hero .hero-stats { margin-top: 24px; }
.page-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 768px) { .page-hero { padding: 40px 0 88px; } .page-hero .container::after { display: none; } }

/* About photo */
.about-photo { display: block; position: relative; }
.about-photo img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--gradient); }
.about-photo::before { content: ""; position: absolute; inset: 14px -12px -12px 14px; border-radius: var(--radius-lg); border: 2px solid rgba(26,5,162,0.2); z-index: -1; }


/* ---------- Mega menu v2 ---------- */
.nav > li.mega-wide { position: static; }
.dropdown-mega { border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 70px rgba(20,4,111,0.22); overflow: hidden; padding: 18px; }
.dropdown-mega::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #1A05A2, #C0139E, #3ddcff); }
.dropdown-services { left: 50%; right: auto; width: min(1060px, calc(100vw - 40px)); min-width: 0; transform: translateX(-50%) translateY(8px); padding: 22px; }
.nav li.open .dropdown-services { transform: translateX(-50%) translateY(0); }
.dropdown-services .mega-cols { display: grid; grid-template-columns: 1fr 270px; gap: 22px; }
.dropdown-services .mega-head { padding: 0 4px 14px; margin-bottom: 14px; }
.mega-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mega-svc { border: 1px solid var(--border); border-radius: 14px; padding: 12px; background: var(--white); transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.mega-svc:hover { border-color: rgba(26,5,162,0.28); box-shadow: 0 10px 26px rgba(26,5,162,0.12); transform: translateY(-2px); }
.mega-svc.is-popular { background: linear-gradient(180deg, rgba(26,5,162,0.05), rgba(143,1,119,0.03)); border-color: rgba(26,5,162,0.2); }
.dropdown-services a { flex-direction: row; }
.dropdown-services .mega-svc-title { display: flex; align-items: center; gap: 12px; padding: 4px; margin-bottom: 6px; border-radius: 10px; }
.dropdown-services .mega-svc-title:hover { background: transparent; }
.dropdown-services .mega-svc-title:hover strong { color: var(--primary); }
.dropdown-services .dd-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--gradient); color: var(--white); box-shadow: 0 8px 18px rgba(26,5,162,0.25); }
.dropdown-services .mega-svc:hover .dd-icon { transform: scale(1.06) rotate(-4deg); }
.dropdown-services .mega-svc-title strong { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.95rem; line-height: 1.2; }
.dropdown-services .mega-svc-title .dd-text > span { font-size: 0.78rem; color: var(--muted); }
.mega-badge { font-style: normal; font-family: var(--font-head); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--white); background: linear-gradient(90deg, #C0139E, #8F0177); padding: 3px 8px; border-radius: 999px; }
.mega-sub { display: grid; gap: 1px; padding: 6px 0 0 4px; border-top: 1px dashed var(--border); margin-top: 2px; }
.dropdown-services .mega-sub a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; font-size: 0.84rem; font-weight: 500; color: var(--muted); border-radius: 8px; }
.dropdown-services .mega-sub a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(26,5,162,0.3); flex: none; transition: background 0.2s ease, transform 0.2s ease; }
.dropdown-services .mega-sub a:hover { color: var(--primary); background: rgba(26,5,162,0.06); }
.dropdown-services .mega-sub a:hover::before { background: var(--secondary-light); transform: scale(1.4); }
.mega-promo { position: relative; overflow: hidden; border-radius: 16px; padding: 24px 22px; color: rgba(255,255,255,0.9); display: flex; flex-direction: column; gap: 12px; align-self: stretch;
  background: radial-gradient(260px 200px at 100% 0, rgba(255,60,200,0.4) 0, transparent 60%), linear-gradient(150deg, #14046f 0%, #1A05A2 55%, #6a0a8f 100%); }
.mega-promo::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -70px; bottom: -80px; background: rgba(255,255,255,0.08); }
.mega-promo > * { position: relative; z-index: 1; }
.mega-promo-tag { align-self: flex-start; font-family: var(--font-head); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.25); color: var(--white); }
.mega-promo h4 { color: var(--white); font-size: 1.2rem; line-height: 1.25; margin: 0; }
.mega-promo p { color: rgba(255,255,255,0.82); font-size: 0.88rem; margin: 0; line-height: 1.55; }
.dropdown-services .mega-promo a.btn { display: inline-flex; flex-direction: row; justify-content: center; align-items: center; gap: 8px; padding: 11px 18px; margin-top: auto; color: var(--primary); background: var(--white); font-weight: 600; }
.dropdown-services .mega-promo a.btn:hover { background: var(--white); color: var(--primary); transform: translateY(-2px); }
.dropdown-services .mega-promo .mega-promo-link { padding: 0; text-align: center; justify-content: center; font-size: 0.84rem; font-weight: 600; color: rgba(255,255,255,0.85); text-decoration: underline; text-underline-offset: 3px; background: transparent; }
.dropdown-services .mega-promo .mega-promo-link:hover { color: var(--white); background: transparent; }

/* Tools mega polish */
.dropdown-mega:not(.dropdown-services) { min-width: 700px; padding: 20px; }
.dropdown-mega:not(.dropdown-services) .mega-grid { gap: 6px; }
.dropdown-mega:not(.dropdown-services) .mega-grid a { border: 1px solid transparent; border-radius: 12px; padding: 10px; transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
.dropdown-mega:not(.dropdown-services) .mega-grid a:hover { border-color: rgba(26,5,162,0.18); background: var(--light); transform: translateY(-1px); }
.dropdown-mega:not(.dropdown-services) .dd-icon { background: var(--gradient); color: var(--white); box-shadow: 0 6px 14px rgba(26,5,162,0.22); }

@media (max-width: 1100px) { .dropdown-services .mega-cols { grid-template-columns: 1fr; } .mega-promo { display: none; } }
@media (max-width: 992px) {
  .nav > li.mega-wide { position: relative; }
  .dropdown-mega, .dropdown-services { width: auto; border: 0; border-radius: 0; box-shadow: none; overflow: hidden; padding: 0; left: 0; transform: none; }
  .nav li.open .dropdown-mega, .nav li.open .dropdown-services { padding: 8px; margin-bottom: 6px; }
  .dropdown-mega::before { display: none; }
  .nav li.open .dropdown-services { transform: none; max-height: 2600px; }
  .dropdown-services .mega-cols { grid-template-columns: 1fr; gap: 0; }
  .mega-svc-grid { grid-template-columns: 1fr; gap: 8px; }
  .mega-svc, .mega-svc.is-popular { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); padding: 10px; }
  .dropdown-services .mega-svc-title strong { color: var(--white); }
  .dropdown-services .mega-svc-title .dd-text > span { color: rgba(255,255,255,0.6); }
  .mega-sub { border-top-color: rgba(255,255,255,0.14); }
  .dropdown-services .mega-sub a { color: rgba(255,255,255,0.75); }
  .dropdown-services .mega-sub a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
  .dropdown-mega:not(.dropdown-services) { min-width: 0; }
  .dropdown-mega:not(.dropdown-services) .mega-grid a:hover { background: rgba(255,255,255,0.08); border-color: transparent; }
  .mega-promo { display: flex; margin-top: 10px; padding: 18px; }
}
.site-header > .container { position: relative; }
@media (max-width: 992px) { .site-header > .container { position: static; } }
@media (max-width: 992px) { .dropdown-services .mega-head strong { display: none; } .dropdown-services .mega-head { justify-content: flex-end; } }


/* Fallback fonts sized to match Poppins/Inter, so the web-font swap does not move the hero (CLS). */
@font-face { font-family: "Poppins Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"); font-weight: 500 800; size-adjust: 95.8%; ascent-override: 105%; descent-override: 35%; line-gap-override: 10%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo"); font-weight: 400 600; size-adjust: 106.7%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }

/* Hero heading: fixed 3-line layout on desktop so the web-font swap cannot change its height (CLS). */
@media (min-width: 993px) {
  .hero h1 { font-size: min(3.25rem, calc((100vw - 88px) * 0.045)); }
  .hero h1 .ln { display: block; white-space: nowrap; }
  /* Pills always sit on two rows (as in the real font), so a fallback font cannot make them one row. */
  .hero-pills { flex-direction: column; align-items: flex-start; }
}

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.header-cta .lang-switch { display: none; }
@media (max-width: 768px) { .header-cta .lang-switch { display: block; } }
.top-bar .lang-switch { display: flex; align-items: center; }
.top-bar .lang-btn { height: 22px; line-height: 1; padding: 0 9px; font-size: 0.74rem; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.28); color: var(--white); }
.top-bar .lang-btn:hover, .top-bar .lang-btn[aria-expanded="true"] { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); color: var(--white); }
.top-bar .lang-panel { top: calc(100% + 10px); color: var(--ink); }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.03em; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: rgba(26,5,162,0.35); background: rgba(26,5,162,0.05); color: var(--primary); }
.lang-btn svg { flex: none; }
.lang-btn .lang-chev { width: 10px; height: 10px; transition: transform 0.2s ease; }
.lang-btn[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }
.lang-panel { position: absolute; right: 0; top: calc(100% + 14px); width: min(400px, calc(100vw - 32px)); max-height: min(72vh, 480px); overflow-y: auto; background: var(--white); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 30px 70px rgba(20,4,111,0.22); padding: 14px; z-index: 700; }
.lang-panel[hidden] { display: none; }
.lang-note { margin: 0 4px 10px; font-size: 0.78rem; color: var(--muted); }
.lang-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; }
.lang-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; text-align: left; padding: 9px 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; font: inherit; color: var(--ink); transition: background 0.15s ease, border-color 0.15s ease; }
.lang-opt:hover { background: rgba(26,5,162,0.06); }
.lang-opt.is-active { background: rgba(26,5,162,0.08); border-color: rgba(26,5,162,0.25); }
.lang-native { font-weight: 600; font-size: 0.92rem; line-height: 1.25; }
.lang-en { font-size: 0.74rem; color: var(--muted); line-height: 1.2; }
@media (max-width: 992px) { .lang-panel { position: fixed; left: 16px; right: 16px; top: 66px; width: auto; } }
@media (max-width: 420px) { .lang-list { grid-template-columns: 1fr; } .lang-btn { height: 38px; padding: 0 10px; } }

/* Hide Google Translate's own bar and highlights so the page looks exactly the same */
body { top: 0 !important; }
.skiptranslate iframe, iframe.skiptranslate, .goog-te-banner-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
#google_translate_element { display: none; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { vertical-align: baseline !important; }

/* Keep the layout intact when translated text is longer than English */
html[class*="translated-"] .hero h1 .ln { display: inline; white-space: normal; }
html[class*="translated-"] .btn { white-space: normal; text-align: center; }
html[class*="translated-"] .nav a.nav-link { font-size: 0.84rem; padding: 10px 7px; white-space: nowrap; }
html.translated-rtl :is(p, h1, h2, h3, h4, h5, h6, li, blockquote, figcaption, label, td, th, summary) { unicode-bidi: plaintext; text-align: start; }
html[class*="translated-"] .header-cta .btn { white-space: nowrap; font-size: 0.8rem; padding: 11px 18px; }
@media (min-width: 993px) { html[class*="translated-"] .hero h1 { font-size: min(2.7rem, calc((100vw - 88px) * 0.038)); } }


/* ---------- Portfolio: jump links + social media section ---------- */
.jump-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 28px; }
.jump-pill { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; padding: 9px 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); color: var(--ink); transition: all 0.2s ease; }
.jump-pill:hover { background: var(--gradient); color: var(--white); border-color: transparent; }
#websites, #social-media { scroll-margin-top: 90px; }


/* ---------- Blog posts: table of contents, sources, author box ---------- */
.post-toc { background: var(--light); border: 1px solid var(--border); border-radius: 14px; padding: 14px 20px; margin: 4px 0 28px; }
.post-toc summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.post-toc[open] summary { margin-bottom: 10px; }
.post-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.post-toc li { margin: 0 0 6px; font-size: 0.9rem; break-inside: avoid; }
.post-toc a { color: var(--primary); }
.post-toc a:hover { text-decoration: underline; }
.source-list { margin: 0 0 8px; padding-left: 20px; list-style: disc; }
.source-list li { margin-bottom: 6px; font-size: 0.95rem; }
.source-list a { color: var(--primary); font-weight: 500; }
.source-list a:hover { text-decoration: underline; }
.author-box { display: flex; gap: 18px; align-items: flex-start; background: var(--light); border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px; margin: 28px 0; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; flex: none; border: 2px solid var(--white); box-shadow: var(--shadow-sm); }
.author-box p { margin: 0 0 6px; font-size: 0.92rem; }
.author-label { font-family: var(--font-head); font-size: 0.72rem !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.author-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem !important; }
.author-box a { color: var(--primary); font-weight: 600; }
@media (max-width: 640px) { .post-toc ol { columns: 1; } .author-box { flex-direction: column; } }

.from-my-work { border-left: 4px solid var(--secondary); background: rgba(143,1,119,0.05); border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 28px 0; }
.from-my-work p { margin: 0; font-size: 0.95rem; }
.from-my-work .from-my-work-label { font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--secondary); margin-bottom: 6px; }
.from-my-work a { color: var(--primary); font-weight: 600; }

/* ---------- Social media cards (compact) ---------- */
.social-section { background: var(--light); }
.social-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.social-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(26,5,162,0.04); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.social-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.social-card .social-shot { border-radius: 0; box-shadow: none; display: flex; align-items: center; justify-content: center; padding: 26px 20px 22px; background: radial-gradient(circle at 50% 48%, rgba(var(--accent, 120,90,255), 0.5) 0, transparent 62%), linear-gradient(180deg, #0a0522 0%, #220860 100%); }
.social-card .social-shot img { width: 100%; max-width: 230px; height: auto; aspect-ratio: 560/960; object-fit: contain; opacity: 1; position: relative; z-index: 1; }
.social-shot .portfolio-overlay { display: none; }
.social-body { padding: 18px 22px 20px; text-align: center; }
.social-body h3 { font-size: 1.08rem; margin: 0 0 2px; text-transform: none; letter-spacing: 0; }
.social-meta { margin: 0 0 8px; font-size: 0.85rem; color: var(--muted); }
.social-handle { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; color: var(--secondary); }
.social-handle:hover { text-decoration: underline; }
.social-cta { text-align: center; margin-top: 38px; }
.social-cta p { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-bottom: 14px; }
@media (max-width: 992px) { .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 576px) { .social-grid { grid-template-columns: 1fr; } .social-card .social-shot img { max-width: 210px; } }


/* ---------- Contact page ---------- */
.contact-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.contact-info h2 { margin-bottom: 12px; }
.contact-info > p { color: var(--muted); margin-bottom: 22px; }
.contact-info > p a { color: var(--primary); font-weight: 600; }
.contact-cards { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 1px 2px rgba(26,5,162,0.04); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(26,5,162,0.22); }
.cc-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(26,5,162,0.08); color: var(--primary); flex: none; }
.cc-icon.cc-wa { background: rgba(37,211,102,0.14); color: #1aa851; }
.cc-label { display: block; font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-card a, .cc-text { font-weight: 600; font-size: 1rem; color: var(--ink); }
.contact-card a:hover { color: var(--primary); }
.contact-form-card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 36px 34px 30px; box-shadow: var(--shadow-lg); overflow: hidden; }
.contact-form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, #1A05A2, #C0139E, #3ddcff); }
.contact-form-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.contact-form-card .cf-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.contact-form-card .field input, .contact-form-card .field textarea { background: var(--light); }
.contact-form-card .field textarea { min-height: 150px; }
.contact-form-card .lead-assure { margin-top: 16px; }
@media (max-width: 992px) { .contact-split { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 576px) { .contact-form-card { padding: 28px 20px 24px; } }

/* 404 quick links */
.quick-links { list-style: none; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 0; margin: 0; }
.quick-links a { display: inline-block; padding: 12px 26px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink); transition: all 0.2s ease; }
.quick-links a:hover { background: var(--gradient); color: var(--white); border-color: transparent; }

/* ---------- Mobile menu fixes ---------- */
@media (max-width: 992px) {
  .dropdown-mega:not(.dropdown-services) { padding: 0; min-width: 0; }
  .nav li.open .dropdown-mega:not(.dropdown-services) { padding: 8px; }
  .nav-toggle.active::before, .nav-toggle.active::after { background: var(--white); }
  .nav { z-index: 1; }
  .header-cta { position: relative; z-index: 2; }
  .nav a.nav-link.nav-link-accent { color: #FFB3EC; font-weight: 600; }
}
@media (max-width: 576px) { .nav { width: 100%; padding-left: 24px; padding-right: 24px; } }
