/* ==========================================================================
   ARTVISION STUDIO – site stylesheet (single source of truth)
   Light, bright, Canva-inspired. Loaded on every public page.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0e1318;
  --ink-2: #3c4552;
  --muted: #6b7280;
  --line: #e7e6f0;
  --soft: #f6f5fc;
  --soft-2: #efeafd;
  --white: #ffffff;

  --purple: #7d2ae8;
  --purple-2: #5a32ea;
  --purple-tint: #f1ebff;
  --teal: #00bcc6;
  --pink: #ff4d8d;
  --yellow: #ffc233;
  --green: #22c55e;

  --grad: linear-gradient(95deg, #00c4cc 0%, #7d2ae8 100%);
  --grad-warm: linear-gradient(95deg, #ffc233 0%, #ff8a3d 100%);

  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(34, 22, 90, .06);
  --shadow: 0 10px 30px rgba(34, 22, 90, .10), 0 2px 6px rgba(34, 22, 90, .05);
  --shadow-lg: 0 24px 60px rgba(60, 30, 140, .18);

  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  overflow-x: hidden;
  padding-bottom: 0;
}
img, video, canvas, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-2); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 0 0 .6rem;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(125, 42, 232, .45); outline-offset: 3px; border-radius: 8px; }
::selection { background: #d9c6fb; color: var(--ink); }

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 5000;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-pill);
}
.skip-link:focus { top: 8px; color: #fff; }

/* hide leftovers that are no longer part of the design */
.page-loader, .loader-ring, #global-3d, .ultra-vignette, .glow-orb, .floating-shapes,
.hero-overlay, .page-symbol, .float-card, .scroll-indicator, .tilt-glare, .card-shine,
.offer-sparkles, .walkthrough-overlay, .walkthrough-glow, .ultra-lightbox, .avs-lightbox,
.hero-3d-frame::before, .hero-3d-frame::after { display: none !important; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 3000;
  background: var(--grad); pointer-events: none;
}

/* ---------- 3. Layout utilities (grid, spacing, flex, text) ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.row > * { padding: 0 12px; width: 100%; max-width: 100%; }
.g-3 { margin: -8px; } .g-3 > * { padding: 8px; }
.g-4 { margin: -12px; } .g-4 > * { padding: 12px; }
.g-5 { margin: -16px; } .g-5 > * { padding: 16px; }
.col-6 { width: 50%; }
.col-12 { width: 100%; }
@media (min-width: 576px) { .col-sm-6 { width: 50%; } }
@media (min-width: 768px) {
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.3333%; }
  .col-md-6 { width: 50%; }
  .col-md-8 { width: 66.6667%; }
}
@media (min-width: 992px) {
  .col-lg-2 { width: 16.6667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.3333%; }
  .col-lg-5 { width: 41.6667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.3333%; }
  .col-lg-8 { width: 66.6667%; }
  .col-lg-10 { width: 83.3333%; }
  .col-lg-12 { width: 100%; }
}
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-none { display: none !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.gap-1 { gap: .25rem !important; } .gap-2 { gap: .5rem !important; } .gap-3 { gap: 1rem !important; } .gap-4 { gap: 1.5rem !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.m-0 { margin: 0 !important; }
.mt-1 { margin-top: .25rem !important; } .mt-2 { margin-top: .5rem !important; } .mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; } .mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: .25rem !important; } .mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; } .mb-4 { margin-bottom: 1.5rem !important; } .mb-5 { margin-bottom: 3rem !important; }
.ms-1 { margin-left: .25rem !important; } .ms-2 { margin-left: .5rem !important; } .ms-auto { margin-left: auto !important; }
.me-1 { margin-right: .25rem !important; } .me-2 { margin-right: .5rem !important; } .me-3 { margin-right: 1rem !important; }
.p-0 { padding: 0 !important; } .p-3 { padding: 1rem !important; } .p-4 { padding: 1.5rem !important; }
.pt-3 { padding-top: 1rem !important; } .pt-4 { padding-top: 1.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-5 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-muted { color: var(--muted) !important; }
.fw-semibold { font-weight: 600 !important; } .fw-bold { font-weight: 700 !important; }
.small, small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.list-unstyled { list-style: none; padding: 0; }
.rounded-3 { border-radius: var(--radius) !important; }
.rounded-4 { border-radius: var(--radius-lg) !important; }
.overflow-hidden { overflow: hidden !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.img-fluid { max-width: 100%; height: auto; }
.visually-hidden, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-decoration-none { text-decoration: none !important; }
.float-end { float: right; }
.inline { display: inline; }
.d-md-flex { display: none; }
@media (min-width: 768px) { .d-md-flex { display: flex !important; } .mt-md-0 { margin-top: 0 !important; } }
@media (min-width: 992px) { .d-lg-block { display: block !important; } .d-lg-none { display: none !important; } .d-lg-flex { display: flex !important; } }
@media (max-width: 991.98px) { .d-lg-none { display: block !important; } .d-lg-block { display: none !important; } }

/* ---------- 4. Section + header primitives ---------- */
section { position: relative; }
section.py-5 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
section.py-4 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.section-alt, section.alt { background: var(--soft); }

.section-label {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .38rem .95rem; border-radius: var(--radius-pill);
  background: var(--purple-tint); color: var(--purple);
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  margin-bottom: .9rem;
}
.section-title { font-family: var(--font-heading); color: var(--ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: .5rem; }
.title-underline {
  width: 56px; height: 5px; border-radius: 9px; background: var(--grad);
  margin: .9rem 0 1.25rem;
}
.text-center .title-underline, .mx-auto.title-underline { margin-left: auto; margin-right: auto; }
.section-title + .title-underline { margin-top: .6rem; }

/* ---------- 5. Page hero + home hero ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 3rem) 0 3.25rem;
  background: linear-gradient(180deg, #f4efff 0%, #ffffff 100%);
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.page-hero p { color: var(--ink-2); max-width: 36rem; font-size: 1.05rem; }
.page-hero-visual, .hero-3d-frame {
  border: 8px solid #fff; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: #fff;
}
.page-hero-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }

.hero {
  padding: calc(var(--nav-h) + 2.5rem) 0 4rem;
  background: linear-gradient(180deg, #f4efff 0%, #ffffff 100%);
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 2; }
.hero-badge, .live-chip { display: none; }
.hero-title { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.04; color: var(--ink); }
.hero-subtitle, .tagline-script, .hero-tagline {
  display: block; margin: .35rem 0 1rem;
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-desc, .hero-lead, .hero-text {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--purple);
  border-radius: var(--radius); padding: 1.1rem 1.35rem; box-shadow: var(--shadow-sm);
  color: var(--ink-2); font-size: 1.02rem; max-width: 34rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start;
  gap: 1rem 2.2rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.stat-item strong { display: block; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.stat-item span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.stat-value, .stat-number { font-family: var(--font-heading); font-weight: 800; color: var(--purple); }

.walkthrough-container { position: relative; }
.walkthrough-frame, .walkthrough-video-frame {
  position: relative; border: 8px solid #fff; border-radius: 30px; overflow: hidden;
  background: #0b0b12; box-shadow: var(--shadow-lg); transform: rotate(1deg);
}
.hero-walkthrough-video, .walkthrough-frame video { width: 100%; height: auto; display: block; min-height: 0 !important; aspect-ratio: 16 / 10; object-fit: cover; }
.walkthrough-label {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  display: flex; align-items: center; gap: .55rem; padding: .55rem .9rem;
  border-radius: var(--radius-pill); background: rgba(255, 255, 255, .94);
  color: var(--ink); font-weight: 700; font-size: .88rem; box-shadow: var(--shadow-sm);
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0, 188, 198, .2); flex-shrink: 0; }

/* ---------- 6. Buttons ---------- */
.btn-primary-custom, .btn-nav, .cta-btn, .btn-login, .btn-primary, .btn-whatsapp, .btn-light-custom,
.btn-gold, .btn-outline-custom, .btn-outline, .btn-outline-light, .btn-sm, .btn-lg, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .78rem 1.45rem; border-radius: var(--radius-pill); border: 2px solid transparent;
  font-family: var(--font-heading); font-weight: 700; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn-primary-custom, .btn-nav, .cta-btn, .btn-login, .btn-primary {
  background: var(--grad); color: #fff !important; -webkit-text-fill-color: #fff; border: 0;
  box-shadow: 0 8px 22px rgba(125, 42, 232, .25);
}
.btn-primary-custom:hover, .btn-nav:hover, .cta-btn:hover, .btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 12px 28px rgba(125, 42, 232, .35); color: #fff !important;
}
.btn-outline-custom, .btn-outline, .btn-outline-light {
  background: #fff; color: var(--purple) !important; border-color: #d9c6fb;
}
.btn-outline-custom:hover, .btn-outline:hover, .btn-outline-light:hover { background: var(--purple-tint); border-color: var(--purple); transform: translateY(-2px); }
.btn-gold { background: var(--grad-warm); color: var(--ink) !important; border: 0; box-shadow: 0 8px 22px rgba(255, 138, 61, .30); }
.btn-gold:hover { transform: translateY(-2px); color: var(--ink) !important; }
.btn-whatsapp { background: #25d366; color: #fff !important; border: 0; }
.btn-light-custom { background: #fff; color: var(--purple) !important; border: 0; box-shadow: var(--shadow-sm); }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.02rem; }
.btn-nav { padding: .6rem 1.1rem; font-size: .9rem; box-shadow: 0 6px 16px rgba(255, 77, 141, .25); background: linear-gradient(95deg, #ff4d8d, #7d2ae8); }
.map-action-btn { padding: .55rem 1rem; font-size: .85rem; border-radius: var(--radius-pill); background: #fff; color: var(--purple); border: 1.5px solid #d9c6fb; font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; text-decoration: none; }
.map-action-btn:hover { background: var(--purple-tint); color: var(--purple-2); }
.filter-btn, .tab-btn, .gallery-filter {
  padding: .5rem 1.05rem; border-radius: var(--radius-pill); border: 1.5px solid var(--line);
  background: #fff; color: var(--ink-2); font-weight: 600; font-size: .9rem; cursor: pointer;
}
.filter-btn:hover, .tab-btn:hover, .gallery-filter:hover { border-color: #d9c6fb; color: var(--purple); }
.filter-btn.active, .tab-btn.active, .gallery-filter.active { background: var(--purple); border-color: var(--purple); color: #fff; }
.btn-sm.active { background: var(--purple); color: #fff !important; border-color: var(--purple); }

/* ---------- 7. Cards ---------- */
.service-card, .feature-card, .why-card, .team-card, .glass-card, .review-card, .training-card,
.course-card, .card-panel, .doc-card, .stat-card, .client-logo-card, .video-card, .video-card-lg,
.offline-video-card, .premium-brochure-card, .p-3.rounded-3, .card, .info-card, .contact-card, .process-card {
  background: #fff; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.service-card:hover, .feature-card:hover, .why-card:hover, .team-card:hover, .glass-card:hover,
.review-card:hover, .training-card:hover, .course-card:hover, .video-card:hover, .video-card-lg:hover,
.offline-video-card:hover, .doc-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ddd0f7;
}
.service-card, .feature-card, .why-card, .training-card, .course-card, .doc-card {
  padding: 1.5rem; height: 100%; display: flex; flex-direction: column;
}
.service-card h3, .feature-card h3, .training-card h3, .course-card h3, .doc-card h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.service-card p, .feature-card p, .why-card p, .training-card p, .course-card p { color: var(--ink-2); font-size: .95rem; }
.service-card .btn-outline-custom, .service-card .btn-outline { margin-top: auto; align-self: flex-start; }
.service-card-img, .service-visual { border-radius: var(--radius); overflow: hidden; margin: -.2rem -.2rem 1rem; height: 170px; }
.service-card-img img, .service-visual-img, .service-card .rounded-3 img { width: 100%; height: 100%; object-fit: cover; }
.service-icon, .feature-icon, .course-icon-box, .why-icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--purple-tint); color: var(--purple); font-size: 1.1rem; margin-bottom: 0;
}
.service-icon-img { background: var(--soft) !important; padding: 0; overflow: hidden; }
.service-icon-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.service-card .d-flex.align-items-center { gap: .75rem; margin-bottom: .6rem; }

.glass-card, .card-panel, .p-3.rounded-3 { padding: 1.25rem; }
.glass-card h5, .glass-card h4 { color: var(--ink) !important; }
.team-card { padding: 1.5rem 1.25rem; text-align: center; }
.team-avatar, .team-avatar-md {
  width: 118px; height: 118px; border-radius: 50%; margin: 0 auto 1rem; overflow: hidden;
  background: var(--soft-2); border: 4px solid #fff; box-shadow: var(--shadow-sm);
}
.team-avatar img, .team-avatar-md img, .team-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3, .team-card h4 { font-size: 1.05rem; margin-bottom: .2rem; }
.team-role { color: var(--purple); font-weight: 700; font-size: .85rem; }
.avatar-ring { border-radius: 50%; padding: 3px; background: var(--grad); display: inline-block; }
.review-card { padding: 1.5rem; }
.review-card h4 { font-size: 1.02rem; }
.review-stars-display, .star-rating-label, .star-rating-input { color: #f5b301; }
.star-btn { background: none; border: 0; color: #d1d5db; font-size: 1.35rem; padding: 0 .1rem; cursor: pointer; }
.star-btn.active, .star-btn:hover { color: #f5b301; }

.stat-card { padding: 1.25rem; text-align: center; }
.client-logo-card { padding: 1rem; display: flex; align-items: center; justify-content: center; height: 110px; }
.client-logo-img { max-height: 70px; width: auto; object-fit: contain; }
.clients-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }

/* Gallery + video grids */
.avs-grid, .grid-item-wrap {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem;
}
.avs-grid-services, .avs-grid-team, .avs-grid-reviews, .avs-grid-features, .avs-grid-videos { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.gallery-col, .video-grid-item, .grid-item { min-width: 0; }
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); cursor: zoom-in; }
.gallery-item img, .gallery-thumb img, .gallery-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb { aspect-ratio: 4 / 3; border-radius: 0; }
.gallery-item .gallery-thumb, .gallery-item > a { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item img { transition: transform .5s ease; }
.gallery-overlay, .overlay { display: none; }
.gallery-item-caption { padding: .85rem 1rem; font-weight: 700; color: var(--ink); font-size: .95rem; }

.video-thumb-wrap { position: relative; aspect-ratio: 16 / 10; background: var(--soft-2); overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.video-thumb-wrap video, .video-thumb-wrap img, .video-thumb-wrap > video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--purple); box-shadow: 0 10px 26px rgba(34, 22, 90, .28);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; z-index: 2;
}
.video-play-btn:hover { transform: translate(-50%, -50%) scale(1.06); }
.video-card-info, .video-info, .video-card-body { padding: 1rem 1.2rem 1.25rem; }
.video-card-title, .video-card h3, .video-card h4, .video-info h3, .video-info h4 { font-size: 1.05rem; color: var(--ink); margin-bottom: .25rem; }
.video-card-desc, .video-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Software strip */
.software-strip-section { background: var(--soft) !important; }
.software-icon-strip { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.soft-icon-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; display: flex; align-items: center; gap: .6rem; box-shadow: var(--shadow-sm); }
.soft-icon-img, .soft-icon-wrap img { width: 32px; height: 32px; object-fit: contain; }
.soft-icon-label { font-weight: 700; color: var(--ink); font-size: .9rem; }

/* Map */
.premium-map-card, .map-wrap { background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm); }
.premium-map-card .map-info-left { padding: 1.4rem 1.6rem 0; }
.map-info-actions { display: flex; flex-wrap: wrap; gap: .6rem; padding: 1rem 1.6rem 1.4rem; }
.map-iframe, .premium-map iframe, .map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-pin-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--purple-tint); color: var(--purple); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- 8. Forms + alerts ---------- */
.form-label { display: block; color: var(--ink); font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.form-control, .form-select, input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=number], input[type=url], input[type=search], input[type=date], textarea, select {
  width: 100%; display: block; padding: .8rem 1rem; font: inherit; font-size: .97rem;
  color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
textarea.form-control, textarea { min-height: 130px; resize: vertical; }
.form-control::placeholder, textarea::placeholder, input::placeholder { color: #9aa0ad; opacity: 1; }
.form-control:focus, .form-select:focus, input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(125, 42, 232, .14);
}
.form-grid, form .row { gap: 0; }
form .row > * { margin-bottom: 1rem; }
.alert, .alert-success, .alert-danger, .alert-success-custom, .alert-error-custom, .alert-error, .alert-info {
  padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 1rem; border: 1px solid transparent;
}
.alert-success, .alert-success-custom { background: #ecfdf3; color: #137a3c; border-color: #bff0d3; }
.alert-danger, .alert-error-custom, .alert-error { background: #fef2f2; color: #b42318; border-color: #fecaca; }
.alert-info { background: var(--purple-tint); color: var(--purple-2); border-color: #dccbfb; }

/* ---------- 9. CTA band ---------- */
.cta-section {
  margin: 3rem auto 2rem; max-width: 1180px; padding: 3.5rem 2rem; border-radius: 36px;
  background: var(--grad); color: #fff; text-align: center; box-shadow: 0 30px 70px rgba(90, 50, 234, .30);
}
.cta-section h2, .cta-section h3, .cta-section p, .cta-section span, .cta-content * { color: #fff !important; -webkit-text-fill-color: #fff; }
.cta-section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .6rem; }
.cta-section p { opacity: .95; max-width: 36rem; margin: 0 auto 1.4rem; }
.cta-section .btn-primary-custom, .cta-section .cta-btn { background: #fff; color: var(--purple) !important; -webkit-text-fill-color: var(--purple); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.cta-section .btn-primary-custom *, .cta-section .cta-btn * { color: inherit !important; }
.cta-section .btn-outline-light { background: transparent; color: #fff !important; -webkit-text-fill-color: #fff; border-color: rgba(255, 255, 255, .7) !important; }

/* ---------- 10. Accordion / FAQ ---------- */
.faq-item, .accordion-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question, .accordion-button { width: 100%; text-align: left; background: #fff; border: 0; padding: 1rem 1.25rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; font-family: var(--font-heading); }
.faq-question:hover { color: var(--purple); }
.faq-answer, .accordion-body { padding: 0 1.25rem 1.1rem; color: var(--ink-2); }
.accordion-button:not(.collapsed), .faq-item.open .faq-question { background: var(--purple-tint); color: var(--purple); }

/* ---------- 11. Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  height: var(--nav-h); background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.navbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(34, 22, 90, .06); }
.navbar > .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.navbar-brand {
  display: inline-flex; align-items: center; gap: .6rem; color: var(--ink) !important;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
}
.navbar-brand span { color: var(--purple); }
.navbar-brand .brand-logo { width: 42px; height: 42px; object-fit: contain; border-radius: 12px; background: #0e1318; padding: 4px; }
.navbar-brand > i { font-size: 1.4rem; color: var(--purple); }
.navbar-collapse { display: none; }
.navbar-collapse.show { display: block; }
.navbar-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .8rem; border-radius: var(--radius-pill);
  color: var(--ink-2) !important; font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--purple) !important; background: var(--purple-tint); }
.navbar-toggler {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px;
  border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; padding: 0 11px;
}
.navbar-toggler-icon, .navbar-toggler-icon::before, .navbar-toggler-icon::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
}
.navbar-toggler-icon { position: relative; }
.navbar-toggler-icon::before, .navbar-toggler-icon::after { content: ""; position: absolute; left: 0; }
.navbar-toggler-icon::before { top: -6px; } .navbar-toggler-icon::after { top: 6px; }

.lang-switcher { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; cursor: pointer;
}
.lang-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; z-index: 1100;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: .4rem;
}
.lang-dropdown[hidden] { display: none; }
.lang-option { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 12px; color: var(--ink-2); text-decoration: none; }
.lang-option:hover, .lang-option.active { background: var(--purple-tint); color: var(--purple); }
.lang-native { font-weight: 700; color: var(--ink); }
.lang-name { font-size: .8rem; color: var(--muted); margin-left: auto; }
.lang-flag { font-size: 1.1rem; }

.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 210px; z-index: 1100;
  margin: 6px 0 0; padding: .4rem; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.dropdown:hover > .dropdown-menu, .dropdown.open > .dropdown-menu { display: block; }
.dropdown-item { display: block; padding: .6rem .8rem; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none; }
.dropdown-item:hover { background: var(--purple-tint); color: var(--purple); }

@media (min-width: 992px) {
  .navbar-toggler { display: none; }
  .navbar-collapse { display: flex !important; align-items: center; }
  .navbar-nav { flex-direction: row; align-items: center; gap: .1rem; }
  .navbar-nav .nav-item.ms-auto, .navbar-nav { margin-left: auto; }
  .dropdown-menu { top: calc(100% + 4px); }
}
@media (max-width: 991.98px) {
  .navbar-collapse.show {
    position: absolute; top: calc(var(--nav-h) - 6px); left: 12px; right: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
    padding: .75rem; max-height: calc(100vh - var(--nav-h) - 24px); overflow-y: auto;
  }
  .navbar-nav { gap: .1rem; }
  .nav-link { width: 100%; padding: .7rem .9rem; font-size: 1rem; }
  .dropdown-menu { position: static; display: none; box-shadow: none; border: 0; background: var(--soft); margin: 0 0 .25rem; }
  .dropdown.open > .dropdown-menu { display: block; }
  .dropdown:hover > .dropdown-menu { display: none; }
  .dropdown.open:hover > .dropdown-menu { display: block; }
  .lang-switcher { width: 100%; }
  .lang-btn { width: 100%; justify-content: center; }
  .lang-dropdown { position: static; box-shadow: none; border: 0; background: var(--soft); margin-top: .4rem; }
  .btn-nav { width: 100%; margin-top: .4rem; }
}

/* ---------- 12. Footer ---------- */
.site-footer {
  background: #0e1318; color: #c9ced8; margin-top: 3rem; padding: 4rem 0 0; font-size: .95rem;
}
.site-footer .footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-col h5 {
  color: #fff; font-size: .98rem; font-weight: 700; margin: 0 0 1.1rem; letter-spacing: 0;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col a, .footer-link { color: #c9ced8; text-decoration: none; transition: color .2s; }
.footer-col a:hover, .footer-link:hover { color: #fff; }
.footer-brand-title { display: flex; align-items: center; gap: .6rem; font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: 1rem; }
.footer-brand-title span { color: #fff; }
.footer-logo { width: 42px; height: 42px; border-radius: 12px; background: #fff; padding: 4px; object-fit: contain; }
.footer-about { color: #a9b0bf; max-width: 34ch; margin: 0 0 1.2rem; line-height: 1.7; }
.social-links { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: background .2s, transform .2s;
}
.social-links a:hover { background: var(--purple); transform: translateY(-2px); }
.footer-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.footer-contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.footer-icon {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0, 196, 204, .12); color: #5eead4;
}
.footer-label { color: #8e97a8; font-size: .8rem; font-weight: 600; margin-bottom: .1rem; }
.footer-address { color: #e5e8ef; font-size: .92rem; line-height: 1.6; }
.copyright {
  margin-top: 3.2rem; padding: 1.3rem 0 1.6rem; border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center; color: #8e97a8; font-size: .86rem;
}
.copyright p { margin: 0; }
@media (max-width: 991.98px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem 1.5rem; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .footer-grid { grid-template-columns: 1fr; } .site-footer { padding-top: 3rem; } }

/* ---------- 13. Floating actions + mobile bar + cookies + back-to-top ---------- */
.float-contact {
  position: fixed; right: 18px; bottom: 26px; z-index: 900;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.float-btn {
  position: relative; width: 54px; height: 54px; border-radius: 50%; border: 0;
  display: inline-flex; align-items: center; justify-content: center; color: #fff !important;
  font-size: 1.2rem; text-decoration: none; box-shadow: 0 10px 24px rgba(34, 22, 90, .25);
  transition: transform .2s ease;
}
.float-btn:hover { transform: scale(1.07); }
.float-btn i { color: #fff; }
.float-brochure { background: var(--grad-warm); }
.float-brochure i { color: var(--ink); }
.float-whatsapp { background: #25d366; }
.float-call { background: var(--grad); }
.float-ai { background: #fff; padding: 0; overflow: visible; }
.float-ai .ai-icon-wrap { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; display: inline-flex; background: #fff; box-shadow: 0 10px 24px rgba(125, 42, 232, .35); }
.float-ai img, .ai-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.float-label {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; padding: .35rem .7rem; border-radius: var(--radius-pill);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.float-btn:hover .float-label, .float-btn:focus-visible .float-label { opacity: 1; }
.float-btn.active { outline: 3px solid rgba(125, 42, 232, .35); }

.back-to-top {
  position: fixed; left: 18px; bottom: 26px; z-index: 900; width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--purple) !important;
  border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }

.av-cookie-bar {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); z-index: 1200;
  width: min(680px, calc(100% - 32px)); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  color: var(--ink-2); font-size: .9rem; transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.av-cookie-bar.show { transform: translate(-50%, 0); }
.av-cookie-bar span { flex: 1 1 320px; }
.av-cookie-bar button { background: var(--grad); color: #fff; border: 0; border-radius: var(--radius-pill); padding: .6rem 1.2rem; font-weight: 700; cursor: pointer; }

.mobile-cta-bar { display: none; }
@media (max-width: 991.98px) {
  body { padding-bottom: 78px; }
  .float-contact { right: 12px; bottom: 96px; gap: 10px; }
  .float-btn { width: 48px; height: 48px; font-size: 1.05rem; }
  .float-label { display: none; }
  .back-to-top { left: 12px; bottom: 96px; width: 42px; height: 42px; }
  .av-cookie-bar { bottom: 88px; padding: .85rem 1rem; }
  .mobile-cta-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(34, 22, 90, .08);
  }
  .mobile-cta-bar a {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .7rem .4rem; border-radius: var(--radius-pill);
    font-weight: 700; font-size: .88rem; text-decoration: none; color: #fff;
  }
  .mobile-cta-bar .cta-call { background: #fff; color: var(--purple) !important; border: 1.5px solid #d9c6fb; }
  .mobile-cta-bar .cta-wa { background: #25d366; }
  .mobile-cta-bar .cta-quote { background: var(--grad); }
}

/* ---------- 14. Offer popup ---------- */
.offer-overlay {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(14, 19, 24, .55); opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.offer-overlay.show { opacity: 1; pointer-events: auto; }
.offer-popup {
  position: relative; width: min(420px, 100%); background: #fff; border-radius: 28px; padding: 2.2rem 1.8rem 1.6rem;
  text-align: center; box-shadow: var(--shadow-lg); transform: translateY(12px) scale(.98); transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.offer-overlay.show .offer-popup { transform: none; }
.offer-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: var(--soft); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.offer-badge { display: inline-block; padding: .35rem .9rem; border-radius: var(--radius-pill); background: #fff4d6; color: #8a5a00; font-weight: 700; font-size: .85rem; margin-bottom: .9rem; }
.offer-title { font-size: 1.6rem; color: var(--ink); margin-bottom: .4rem; }
.offer-subtitle { color: var(--ink-2); margin-bottom: 1.1rem; }
.offer-discount-box { background: var(--soft); border-radius: 20px; padding: 1rem; margin-bottom: .9rem; }
.offer-discount { font-family: var(--font-heading); font-weight: 800; font-size: 2.4rem; line-height: 1.05; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.offer-discount-note { margin: .2rem 0 0; color: var(--ink-2); font-size: .92rem; }
.offer-valid { color: var(--muted); font-size: .88rem; margin-bottom: 1.1rem; }
.offer-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1rem; border-radius: var(--radius-pill); background: #25d366; color: #fff !important; font-weight: 700; text-decoration: none; }
.offer-footer-note { margin: .9rem 0 0; color: var(--muted); font-size: .8rem; }

/* ---------- 15. AI chat (Arpita) ---------- */
.aryan-panel {
  position: fixed; right: 18px; bottom: 96px; z-index: 1150; width: min(380px, calc(100vw - 24px)); max-height: min(600px, calc(100vh - 140px));
  display: none; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--shadow-lg);
}
.aryan-panel.open { display: flex; }
.aryan-header { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: var(--grad); color: #fff; }
.aryan-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #fff; flex-shrink: 0; }
.aryan-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.aryan-header-info { flex: 1; min-width: 0; }
.aryan-header-info h4 { color: #fff; font-size: 1rem; margin: 0; }
.aryan-header-info p { color: rgba(255, 255, 255, .9); font-size: .8rem; margin: 0; }
.aryan-status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: .25rem; }
.aryan-close { background: rgba(255, 255, 255, .18); color: #fff; border: 0; width: 32px; height: 32px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.aryan-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; min-height: 200px; background: var(--soft); }
.aryan-msg { max-width: 85%; padding: .65rem .9rem; border-radius: 16px; font-size: .92rem; line-height: 1.5; word-wrap: break-word; }
.aryan-msg.bot { background: #fff; color: var(--ink-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.aryan-msg.user { background: var(--grad); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.aryan-msg a { color: var(--purple); }
.aryan-msg.user a { color: #fff; text-decoration: underline; }
.aryan-typing { display: inline-flex; gap: 4px; padding: .6rem .8rem; background: #fff; border-radius: 14px; align-self: flex-start; }
.aryan-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: aryanDot 1s infinite ease-in-out; }
.aryan-typing span:nth-child(2) { animation-delay: .15s; } .aryan-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes aryanDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.aryan-suggestions { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem .9rem; border-top: 1px solid var(--line); background: #fff; }
.aryan-chip { background: var(--purple-tint); color: var(--purple); border: 0; border-radius: var(--radius-pill); padding: .35rem .8rem; font-size: .8rem; font-weight: 600; cursor: pointer; }
.aryan-chip:hover { background: #e6d9ff; }
.aryan-input-area { display: flex; gap: .5rem; padding: .7rem .8rem; border-top: 1px solid var(--line); background: #fff; }
.aryan-input-area input { flex: 1; min-width: 0; padding: .65rem .9rem; border-radius: var(--radius-pill); }
.aryan-send { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; cursor: pointer; flex-shrink: 0; }
.aryan-footer-note { padding: .4rem .9rem .6rem; font-size: .72rem; color: var(--muted); text-align: center; background: #fff; }

/* ---------- 16. Lightbox (one implementation, see site.js) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center;
  background: rgba(14, 19, 24, .92); padding: 56px 16px 24px;
}
.lightbox.open { display: flex; }
.lightbox-figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; text-align: center; }
.lightbox-figure img { max-width: 100%; max-height: calc(100vh - 140px); margin: 0 auto; border-radius: 16px; object-fit: contain; }
.lightbox-caption { color: #e5e8ef; margin-top: .7rem; font-size: .95rem; }
.lightbox-btn {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .26); }
.lightbox-close { top: 12px; right: 14px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; top: 22px; left: 20px; color: #cfd4de; font-weight: 600; font-size: .9rem; }

/* ---------- 17. Admin-only & misc ---------- */
.drop-zone { border: 2px dashed #d9c6fb; border-radius: var(--radius); padding: 1.5rem; text-align: center; background: var(--soft); cursor: pointer; }
.drop-zone.dragover { border-color: var(--purple); background: var(--purple-tint); }
.hero-walkthrough-video[poster] { background: #0b0b12; }

/* ---------- 18. Responsive tweaks ---------- */
@media (max-width: 767.98px) {
  .container { padding: 0 16px; }
  .row { margin: 0 -8px; } .row > * { padding: 0 8px; }
  .page-hero { padding-top: calc(var(--nav-h) + 1.75rem); padding-bottom: 2.5rem; }
  .hero { padding-top: calc(var(--nav-h) + 1.6rem); padding-bottom: 2.5rem; }
  section.py-5 { padding-top: 3.2rem !important; padding-bottom: 3.2rem !important; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-item strong { font-size: 1.3rem; }
  .hero-actions .btn-primary-custom, .hero-actions .btn-outline-custom, .hero-actions .btn-gold { width: 100%; }
  .walkthrough-frame { transform: none; border-width: 6px; }
  .map-iframe, .premium-map iframe, .map-wrap iframe { height: 320px; }
  .cta-section { margin: 2rem 12px; padding: 2.4rem 1.3rem; border-radius: 26px; }
  .cta-section .btn-primary-custom, .cta-section .btn-outline-light { width: 100%; }
}
@media (max-width: 575.98px) {
  .hero-title { font-size: 2.15rem; }
  .avs-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; }
  .avs-grid-services, .avs-grid-team, .avs-grid-reviews, .avs-grid-features, .avs-grid-videos { grid-template-columns: 1fr; }
  .gallery-item img { height: auto; }
  .aryan-panel { right: 8px; left: 8px; width: auto; bottom: 150px; }
  .team-avatar, .team-avatar-md { width: 96px; height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- 19. Final fixes (navbar fit, card media) ---------- */
@media (min-width: 992px) {
  .navbar > .container { max-width: 1320px; }
  .nav-link { padding: .5rem .6rem; font-size: .88rem; }
  .navbar-nav { gap: 0; }
  .btn-nav { padding: .55rem 1rem; }
  .lang-btn { padding: .42rem .7rem; }
}
@media (min-width: 992px) and (max-width: 1279px) {
  .navbar-brand span { display: none; }
  .nav-link { padding: .5rem .45rem; font-size: .84rem; }
}
.service-card .rounded-3 { flex-shrink: 0; }
.service-card .rounded-3 img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 20. Redesign fixes (Oct 2026) ---------- */
/* Outline button inside the gradient CTA band: white text needs a translucent fill, not white */
.cta-section .btn-outline-custom,
.cta-section .btn-outline {
  background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .75);
}
.cta-section .btn-outline-custom:hover, .cta-section .btn-outline:hover {
  background: rgba(255, 255, 255, .24); color: #fff; border-color: #fff;
}

/* Centered wrapping card rows: partial last rows stay centered instead of hanging left */
.avs-grid-services, .avs-grid-team, .avs-grid-features {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
}
.avs-grid-services > *, .avs-grid-team > *, .avs-grid-features > * {
  flex: 0 1 calc((100% - 48px) / 3); max-width: calc((100% - 48px) / 3); min-width: 0;
}
@media (max-width: 991.98px) {
  .avs-grid-services > *, .avs-grid-team > *, .avs-grid-features > * { flex-basis: calc((100% - 24px) / 2); max-width: calc((100% - 24px) / 2); }
}
@media (max-width: 575.98px) {
  .avs-grid-services > *, .avs-grid-team > *, .avs-grid-features > * { flex-basis: 100%; max-width: 100%; }
}

/* Gradient text on white: start from a deeper teal so the text stays readable (WCAG AA for large text) */
.hero-subtitle, .tagline-script, .hero-tagline {
  background: linear-gradient(95deg, #0a7f86 0%, #7d2ae8 100%);
  -webkit-background-clip: text; background-clip: text;
}
/* White CTA button must keep purple text (the band rule above forces descendants to white) */
.cta-section .btn-light-custom { background: #fff; color: var(--purple) !important; -webkit-text-fill-color: var(--purple); }
.cta-section .btn-light-custom * { color: inherit !important; -webkit-text-fill-color: inherit; }

/* ---------- 21. 3D Studio (CSS 3D building) ---------- */
.studio3d-section .scene {
  --W: 200px; --D: 150px; --H: 260px;
  position: relative; height: 460px; max-width: 520px; margin: 0 auto;
  perspective: 1000px; cursor: grab; user-select: none; touch-action: none; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 42%, var(--purple-tint) 0%, rgba(241, 235, 255, 0) 68%);
}
.studio3d-section .scene.is-dragging { cursor: grabbing; }
.studio3d-section .scene:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }

.studio3d-section .scene-rig {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d;
  transform: translateY(var(--ty, 130px)) rotateX(-12deg) rotateY(var(--ry, -28deg)) scale(var(--s, 1));
}
.studio3d-section .scene-spin { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; animation: sceneSpin 28s linear infinite; }
.studio3d-section .bldg { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }

/* Walls: glass curtain wall with mullions and floor lines */
.studio3d-section .face {
  position: absolute; width: var(--W); height: var(--H); left: calc(var(--W) / -2); top: calc(var(--H) * -1);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 26px, rgba(255, 255, 255, .55) 26px 28px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0) 0 50px, rgba(255, 255, 255, .45) 50px 52px),
    linear-gradient(170deg, #a4eef2 0%, #6283f0 52%, #6d2fd9 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.studio3d-section .f-front { transform: translateZ(calc(var(--D) / 2)); }
.studio3d-section .f-back { transform: rotateY(180deg) translateZ(calc(var(--D) / 2)); filter: brightness(.82); }
.studio3d-section .f-right { width: var(--D); left: calc(var(--D) / -2); transform: rotateY(90deg) translateZ(calc(var(--W) / 2)); filter: brightness(.9); }
.studio3d-section .f-left { width: var(--D); left: calc(var(--D) / -2); transform: rotateY(-90deg) translateZ(calc(var(--W) / 2)); filter: brightness(.78); }

/* Floor plates (slabs) and roof: horizontal planes, slightly larger than the walls */
.studio3d-section .plate {
  position: absolute; width: calc(var(--W) + 14px); height: calc(var(--D) + 14px);
  left: calc((var(--W) + 14px) / -2); top: calc((var(--D) + 14px) / -2);
  background: linear-gradient(180deg, #f3f1fb, #d9d3ee); border: 1px solid rgba(125, 42, 232, .18);
}
.studio3d-section .p0 { transform: rotateX(90deg); }
.studio3d-section .p1 { transform: translateY(-52px) rotateX(90deg); }
.studio3d-section .p2 { transform: translateY(-104px) rotateX(90deg); }
.studio3d-section .p3 { transform: translateY(-156px) rotateX(90deg); }
.studio3d-section .p4 { transform: translateY(-208px) rotateX(90deg); }
.studio3d-section .roof { background: linear-gradient(180deg, #7d2ae8, #5a32ea); transform: translateY(-260px) rotateX(90deg); }

.studio3d-section .scene-shadow {
  position: absolute; left: 50%; top: calc(50% + var(--ty, 130px)); width: 300px; height: 40px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(14, 19, 24, .26), rgba(14, 19, 24, 0));
}

.studio3d-section .scene-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
  padding: .4rem .85rem; font-size: .8rem; font-weight: 700; color: var(--ink); animation: chipFloat 6s ease-in-out infinite;
}
.studio3d-section .scene-chip i { color: var(--purple); }
.studio3d-section .chip-a { top: 10%; left: 2%; }
.studio3d-section .chip-b { top: 44%; right: 0; animation-delay: -2s; }
.studio3d-section .chip-c { bottom: 12%; left: 8%; animation-delay: -4s; }

.studio3d-section .scene-hint { margin-top: .5rem; }
.studio3d-section .scene-list li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .6rem; color: var(--ink-2); line-height: 1.6; }
.studio3d-section .scene-list i { color: var(--purple); margin-top: .3rem; }

@keyframes sceneSpin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 575.98px) {
  .studio3d-section .scene { height: 360px; --s: .7; --ty: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .studio3d-section .scene-spin, .studio3d-section .scene-chip { animation: none; }
}

/* ---------- 22. Layout repairs: client logos and tools strip ---------- */
/* Client logos: one responsive grid, no Bootstrap column classes fighting it */
.clients-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; max-width: 980px; margin: 0 auto; }
.client-logo-item { min-width: 0; }
.client-logo-card { width: 100%; height: 124px; padding: 1rem 1.25rem; border-radius: var(--radius-lg); }
.client-logo-img { display: block; max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 575.98px) { .clients-logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* Tools strip: uniform chips that never overlap or stretch */
.tool-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  width: 108px; padding: .75rem .45rem .6rem; text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease;
}
.tool-chip:hover, .tool-chip:focus-visible { transform: translateY(-3px); border-color: #d9c6fb; color: var(--ink); }
.tool-chip-img { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; margin-bottom: .5rem; flex: 0 0 auto; }
.tool-chip-img img { display: block; width: 52px; height: 52px; }
.tool-chip-label {
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: .72rem; font-weight: 600; line-height: 1.25; color: var(--ink-2); min-height: 2.5em; width: 100%;
}
.software-icon-strip { gap: 14px; }
/* Homepage rhythm: sections used py-5 plus an inner py-4 container, which doubled the padding and left large empty bands */
section.py-5 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
section.py-5 > .container.py-4 { padding-top: 0 !important; padding-bottom: 0 !important; }
section.py-4 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
@media (max-width: 575.98px) {
  .tool-chip { width: 98px; }
  .software-icon-strip { padding: 0 16px; gap: 12px; }
}

/* ---------- 23. 3D accent on every page hero (injected by site.js) ---------- */
.page-hero { position: relative; }
.page-hero > .container { position: relative; z-index: 2; }
.hero-3d-bg {
  position: absolute; top: calc(var(--nav-h) + 1.25rem); right: 2%; width: 300px; height: 300px; z-index: 1;
  pointer-events: none; perspective: 700px; opacity: .95;
}
.hero-3d-bg .h3d { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-18deg); }
.h3d-cube {
  --s: 130px; position: absolute; width: var(--s); height: var(--s); left: calc(var(--s) / -2); top: calc(var(--s) / -2);
  transform-style: preserve-3d; animation: h3dSpin 16s linear infinite;
}
.h3d-cube.c1 { --s: 130px; transform: translate(-40px, -10px); }
.h3d-cube.c2 { --s: 74px; transform: translate(78px, 62px); animation-duration: 11s; animation-direction: reverse; }
.h3d-cube i {
  position: absolute; inset: 0; display: block; border-radius: 10px;
  background: linear-gradient(150deg, rgba(164, 238, 242, .75), rgba(98, 131, 240, .7) 55%, rgba(109, 47, 217, .72));
  border: 1.5px solid rgba(255, 255, 255, .75); box-shadow: inset 0 0 18px rgba(255, 255, 255, .35);
}
.h3d-cube i.f1 { transform: translateZ(calc(var(--s) / 2)); }
.h3d-cube i.f2 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.h3d-cube i.f3 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.h3d-cube i.f4 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.h3d-cube i.f5 { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.h3d-cube i.f6 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.h3d-ring {
  position: absolute; width: 250px; height: 250px; left: -125px; top: -125px; border-radius: 50%;
  border: 2px dashed rgba(125, 42, 232, .35); transform: rotateX(70deg); animation: h3dSpin 22s linear infinite;
}
@keyframes h3dSpin { from { transform: translate(var(--tx, 0), var(--ty, 0)) rotateX(0deg) rotateY(0deg); } to { transform: translate(var(--tx, 0), var(--ty, 0)) rotateX(360deg) rotateY(360deg); } }
.h3d-cube.c1 { --tx: -40px; --ty: -10px; }
.h3d-cube.c2 { --tx: 78px; --ty: 62px; }
@media (max-width: 991.98px) {
  .hero-3d-bg { width: 220px; height: 220px; top: .5rem; right: -20px; opacity: .45; }
}
@media (max-width: 575.98px) {
  .hero-3d-bg { width: 170px; height: 170px; opacity: .35; }
}
@media (prefers-reduced-motion: reduce) {
  .h3d-cube, .h3d-ring { animation: none; }
}

/* ---------- 24. 3D design system (site-wide) ---------- */
/* Hero accent stays behind the content layer; visual frames sit above the cubes */
.page-hero .hero-3d-bg { z-index: 0; }
.page-hero .hero-3d-frame, .page-hero .page-hero-visual { position: relative; z-index: 3; }

/* Ambient 3D glow drifting behind every page */
body::before {
  content: ""; position: fixed; inset: -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42rem 30rem at 88% 8%, rgba(0, 196, 204, .14), transparent 62%),
    radial-gradient(38rem 30rem at 6% 42%, rgba(125, 42, 232, .11), transparent 62%),
    radial-gradient(34rem 26rem at 70% 96%, rgba(255, 77, 141, .08), transparent 62%);
  animation: ambientDrift 26s ease-in-out infinite alternate;
}
@keyframes ambientDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2%, 3%, 0) scale(1.05); } }

/* Depth: layered shadows on every card-like surface */
.service-card, .course-card, .doc-card, .stat-card, .video-card, .why-card, .team-card, .review-card,
.feature-card, .card-panel, .info-card, .contact-card, .process-card, .client-logo-card, .tool-chip {
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 6px rgba(34, 22, 90, .06), 0 22px 40px -22px rgba(34, 22, 90, .32);
}

/* Pointer tilt (added by site.js to cards) */
.tilt { position: relative; transform-style: preserve-3d; will-change: transform; }
.tilt, .tilt:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)) !important;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}
.tilt:hover { --lift: -6px; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 4px 10px rgba(34, 22, 90, .08), 0 34px 56px -26px rgba(125, 42, 232, .45); }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .45), transparent 45%);
  transition: opacity .35s ease;
}
.tilt:hover::after { opacity: 1; }
.tilt img { transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.tilt:hover img { transform: scale(1.05); }

/* Extruded 3D buttons */
.btn-primary-custom, .cta-btn {
  box-shadow: 0 6px 0 #4b1ea8, 0 16px 26px -10px rgba(125, 42, 232, .55) !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}
.btn-primary-custom:hover, .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #4b1ea8, 0 20px 30px -10px rgba(125, 42, 232, .6) !important; }
.btn-primary-custom:active, .cta-btn:active { transform: translateY(5px); box-shadow: 0 1px 0 #4b1ea8, 0 6px 12px -8px rgba(125, 42, 232, .5) !important; }
.cta-section .btn-primary-custom, .cta-section .btn-light-custom { box-shadow: 0 6px 0 rgba(0, 0, 0, .18), 0 16px 26px -10px rgba(0, 0, 0, .35) !important; }

/* 3D section pill and heading depth */
.section-label {
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 4px 12px -6px rgba(125, 42, 232, .45);
}
.section-title { text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 10px 24px rgba(34, 22, 90, .08); }

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .tilt, .tilt:hover { transform: none !important; transition: none; }
}
/* Inline gradients on hero frames are translucent; keep a solid white base so the 3D accent never shows through */
.page-hero .hero-3d-frame, .page-hero .page-hero-visual { background-color: #fff !important; }

/* ---------- 25. WebGL 3D backdrop ---------- */
#webgl-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }

/* ---------- 26. Scroll reveal and counters ---------- */
html.js-reveal [data-aos] {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity .85s cubic-bezier(.22, 1, .36, 1), transform .85s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--aos-delay, 0ms);
}
html.js-reveal [data-aos].in { opacity: 1; transform: none; }
html.js-reveal [data-aos="fade-right"] { transform: translate3d(-28px, 0, 0); }
html.js-reveal [data-aos="fade-left"] { transform: translate3d(28px, 0, 0); }
html.js-reveal [data-aos="zoom-in"] { transform: scale(.94); }
html.js-reveal [data-aos].in { transform: none; }
.count-up { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  html.js-reveal [data-aos] { opacity: 1; transform: none; transition: none; }
}
/* Reveal offsets and 3D accents must never create a horizontal scrollbar (clip keeps sticky elements working) */
html, body { overflow-x: clip; }
