/* ==========================================================================
   MAZICORE public website
   ========================================================================== */
:root {
  --mz-navy: #07152B;
  --mz-navy-2: #0B1F39;
  --mz-navy-3: #10284A;
  --mz-ink: #050F20;
  --mz-blue: #087FEA;
  --mz-cyan: #00D5E8;
  --mz-white: #FFFFFF;
  --mz-muted: #AAB7C8;
  --mz-text: #1B2A41;
  --mz-text-soft: #55667E;
  --mz-surface: #F4F7FB;
  --mz-surface-2: #EAF0F7;
  --mz-border: #DFE7F1;
  --mz-border-dark: rgba(170, 183, 200, .16);
  --mz-grad: linear-gradient(120deg, var(--mz-blue) 0%, var(--mz-cyan) 100%);
  --mz-radius: 16px;
  --mz-radius-sm: 10px;
  --mz-shadow: 0 1px 2px rgba(7, 21, 43, .04), 0 8px 24px rgba(7, 21, 43, .06);
  --mz-shadow-lg: 0 2px 4px rgba(7, 21, 43, .05), 0 18px 48px rgba(7, 21, 43, .12);
  --mz-font: "Plex Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --bs-body-font-family: var(--mz-font);
  --bs-link-color-rgb: 8, 127, 234;
  --bs-primary: #087FEA;
  --bs-primary-rgb: 8, 127, 234;
  --bs-body-color: #1B2A41;
}
html[lang="en"] { --mz-font: "Inter", "Plex Arabic", "Segoe UI", system-ui, sans-serif; }

body { font-family: var(--mz-font); color: var(--mz-text); background: var(--mz-white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { line-height: 1.85; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { font-weight: 700; color: inherit; letter-spacing: -.01em; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.025em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.45; }
a { text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
::selection { background: rgba(0, 213, 232, .3); }

:focus-visible { outline: 3px solid var(--mz-cyan); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -60px; z-index: 2000; background: var(--mz-cyan); color: var(--mz-navy); padding: .5rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 10px; padding: .7rem 1.35rem; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:hover { text-decoration: none; }
.btn-sm { padding: .4rem .85rem; border-radius: 8px; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn-mz { color: #fff; background: var(--mz-grad); border: 0; box-shadow: 0 6px 18px rgba(8, 127, 234, .28); }
.btn-mz:hover, .btn-mz:focus { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(8, 127, 234, .36); }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { color: #fff; border-color: var(--mz-cyan); background: rgba(0, 213, 232, .08); }
.btn-outline-mz { color: var(--mz-blue); border: 1.5px solid var(--mz-blue); background: transparent; }
.btn-outline-mz:hover { color: #fff; background: var(--mz-blue); }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow .bi { transition: transform .15s ease; }
.link-arrow:hover .bi { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .bi { transform: translateX(-3px); }
[dir="rtl"] .bi-flip { transform: scaleX(-1); display: inline-block; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(7, 21, 43, .94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--mz-border-dark); }
.site-header .navbar { padding-block: .7rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; }
.brand:hover { text-decoration: none; color: #fff; }
.brand img { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: "Inter", sans-serif; font-weight: 700; letter-spacing: .14em; font-size: 1.02rem; direction: ltr; }
.brand-name span { color: var(--mz-cyan); }
.brand-sub { font-size: .7rem; color: var(--mz-muted); letter-spacing: .02em; }
.site-header .nav-link { color: #C9D4E2; font-weight: 500; font-size: .95rem; padding: .5rem .75rem !important; border-radius: 8px; position: relative; }
.site-header .nav-link:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .05); }
.site-header .nav-link.active { color: #fff; }
.site-header .nav-link.active::after { content: ""; position: absolute; inset-inline: .75rem; bottom: .15rem; height: 2px; border-radius: 2px; background: var(--mz-grad); }
.lang-switch { color: #C9D4E2; border: 1px solid var(--mz-border-dark); border-radius: 999px; padding: .32rem .8rem; font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.lang-switch:hover { color: #fff; border-color: var(--mz-cyan); text-decoration: none; }
.navbar-toggler { border-color: var(--mz-border-dark); }
.navbar-toggler-icon { filter: invert(1); }
@media (max-width: 1199.98px) {
  .site-header .navbar-collapse { padding-block: 1rem; border-top: 1px solid var(--mz-border-dark); margin-top: .7rem; }
  .site-header .nav-link.active::after { display: none; }
  .site-header .nav-link.active { background: rgba(0, 213, 232, .1); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-light { background: var(--mz-surface); }
.section-dark { background: var(--mz-navy); color: #E6EDF6; }
.section-dark .text-soft, .section-dark .lead-soft { color: var(--mz-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mz-blue); margin-bottom: .75rem; }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--mz-grad); }
.section-dark .eyebrow { color: var(--mz-cyan); }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: .75rem; }
.section-lead { color: var(--mz-text-soft); font-size: 1.08rem; max-width: 46rem; }
.section-dark .section-lead { color: var(--mz-muted); }
.section-head { margin-bottom: 2.75rem; }
.text-soft { color: var(--mz-text-soft); }
.text-gradient { background: var(--mz-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--mz-navy); color: #fff; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(170, 183, 200, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(170, 183, 200, .055) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; inset-inline-end: -160px; top: -220px; background: radial-gradient(circle, rgba(8, 127, 234, .28) 0%, rgba(0, 213, 232, .06) 45%, transparent 70%); }
.hero-kicker { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--mz-border-dark); background: rgba(255, 255, 255, .03); color: #C9D4E2; font-size: .85rem; margin-bottom: 1.5rem; }
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mz-cyan); box-shadow: 0 0 0 4px rgba(0, 213, 232, .15); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.55rem); line-height: 1.25; margin-bottom: 1.25rem; }
html[lang="ar"] .hero h1 { line-height: 1.5; }
.hero-text { color: var(--mz-muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 36rem; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-stat { display: inline-flex; align-items: center; gap: .9rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--mz-border-dark); }
.hero-stat .num { font-family: "Inter", sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; }
.hero-stat .lbl { color: var(--mz-muted); font-size: .9rem; max-width: 18rem; line-height: 1.5; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }

/* ---------- Cards ---------- */
.mz-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--mz-border); border-radius: var(--mz-radius); padding: 1.6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.mz-card:hover { transform: translateY(-3px); box-shadow: var(--mz-shadow-lg); border-color: rgba(8, 127, 234, .35); }
.mz-card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.mz-card p { color: var(--mz-text-soft); margin-bottom: 0; }
.mz-card .stretched-link:hover { text-decoration: none; }
.mz-card .stretched-link:focus-visible::after { outline: 3px solid var(--mz-cyan); outline-offset: 2px; border-radius: var(--mz-radius); }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: var(--mz-grad); margin-bottom: 1.1rem; box-shadow: 0 8px 18px rgba(8, 127, 234, .22); }
.icon-tile-soft { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; color: var(--mz-blue); background: rgba(8, 127, 234, .08); margin-bottom: 1rem; }
.section-dark .mz-card { background: var(--mz-navy-2); border-color: var(--mz-border-dark); color: #E6EDF6; }
.section-dark .mz-card p { color: var(--mz-muted); }
.section-dark .mz-card:hover { border-color: rgba(0, 213, 232, .4); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.section-dark .icon-tile-soft { background: rgba(0, 213, 232, .1); color: var(--mz-cyan); }

.media-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.media-card .thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--mz-navy-2), var(--mz-navy-3)); overflow: hidden; position: relative; }
.media-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.media-card:hover .thumb img { transform: scale(1.03); }
.media-card .thumb .placeholder-mark { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(170, 183, 200, .35); font-size: 2.5rem; }
.media-card .body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 600; padding: .22rem .6rem; border-radius: 999px; background: var(--mz-surface-2); color: var(--mz-text-soft); }
.chip-blue { background: rgba(8, 127, 234, .1); color: var(--mz-blue); }
.chip-cyan { background: rgba(0, 213, 232, .14); color: #037C88; }
.chip-dark { background: rgba(7, 21, 43, .75); color: #fff; backdrop-filter: blur(6px); }
.thumb .chip-dark { position: absolute; top: .85rem; inset-inline-start: .85rem; }

/* ---------- Process ---------- */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 991.98px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .process { grid-template-columns: 1fr; } }
.process-step { position: relative; padding: 1.4rem; border-radius: var(--mz-radius); background: var(--mz-navy-2); border: 1px solid var(--mz-border-dark); }
.process-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: "Inter", sans-serif; font-weight: 700; font-size: .85rem; color: var(--mz-cyan); display: block; margin-bottom: .6rem; letter-spacing: .08em; }
.process-step h3 { font-size: 1.05rem; margin-bottom: .25rem; color: #fff; }
.process-step p { color: var(--mz-muted); font-size: .92rem; margin: 0; }

/* ---------- Industries / list pills ---------- */
.pill-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.15rem; border-radius: 12px; background: #fff; border: 1px solid var(--mz-border); font-weight: 500; }
.pill .bi { color: var(--mz-blue); font-size: 1.1rem; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--mz-navy); color: #fff; padding-block: clamp(2.75rem, 6vw, 4.5rem); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 480px; height: 480px; inset-inline-end: -140px; top: -200px; background: radial-gradient(circle, rgba(8, 127, 234, .25), transparent 70%); }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); margin-bottom: .6rem; }
.page-hero .lead { color: var(--mz-muted); max-width: 44rem; font-size: 1.08rem; margin: 0; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--mz-muted); --bs-breadcrumb-item-active-color: #fff; font-size: .88rem; margin-bottom: 1rem; }
.breadcrumb a { color: var(--mz-muted); }
.breadcrumb a:hover { color: #fff; }
[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before { float: right; padding-left: var(--bs-breadcrumb-item-padding-x); padding-right: 0; }

/* ---------- Content ---------- */
.prose { font-size: 1.05rem; color: #263750; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; }
.prose h3 { font-size: 1.22rem; margin: 1.6rem 0 .6rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1rem; }
.prose blockquote { border-inline-start: 4px solid var(--mz-cyan); padding: .5rem 1.1rem; background: var(--mz-surface); border-radius: 0 8px 8px 0; color: var(--mz-text-soft); }
[dir="rtl"] .prose blockquote { border-radius: 8px 0 0 8px; }
.prose pre { direction: ltr; text-align: left; background: var(--mz-navy); color: #E6EDF6; padding: 1rem 1.2rem; border-radius: 10px; overflow-x: auto; font-size: .9rem; }
.prose code { direction: ltr; unicode-bidi: isolate; color: #C2185B; }
.prose pre code { color: inherit; }
.prose img { border-radius: 12px; }
.prose table { width: 100%; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; color: var(--mz-blue); font-size: 1.05rem; line-height: 1.7; flex-shrink: 0; }
.section-dark .check-list li::before { color: var(--mz-cyan); }
.info-box { background: var(--mz-surface); border: 1px solid var(--mz-border); border-radius: var(--mz-radius); padding: 1.5rem; }
.info-box dt { font-size: .82rem; color: var(--mz-text-soft); font-weight: 500; }
.info-box dd { font-weight: 600; margin-bottom: 1rem; }
.info-box dd:last-child { margin-bottom: 0; }
.sticky-aside { position: sticky; top: 96px; }

/* ---------- Gallery / tour ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery-grid button { padding: 0; border: 1px solid var(--mz-border); border-radius: 12px; overflow: hidden; background: #fff; aspect-ratio: 16 / 10; cursor: zoom-in; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.lightbox .modal-content { background: transparent; border: 0; }
.lightbox img { border-radius: 10px; max-height: 85vh; width: auto; margin-inline: auto; display: block; }
.tour { background: var(--mz-navy); border-radius: var(--mz-radius); overflow: hidden; color: #fff; }
.tour-stage { aspect-ratio: 16 / 9; background: var(--mz-navy-2); display: grid; place-items: center; }
.tour-stage img { width: 100%; height: 100%; object-fit: contain; }
.tour-caption { padding: 1.25rem 1.5rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tour-caption p { color: var(--mz-muted); margin: 0; }
.tour-step[hidden] { display: none !important; }
.tour-dots { display: flex; gap: .35rem; }
.tour-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(170, 183, 200, .35); }
.tour-dots span.on { background: var(--mz-cyan); }
.demo-frame { width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--mz-border); border-radius: var(--mz-radius); background: var(--mz-surface); }
.ratio-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--mz-radius); overflow: hidden; background: #000; }
.ratio-video iframe, .ratio-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-notice { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: 12px; background: #FFF8E6; border: 1px solid #F5DFA3; color: #6B5413; font-size: .93rem; }
.cred { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; direction: ltr; background: var(--mz-surface); padding: .2rem .55rem; border-radius: 6px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--mz-border); border-radius: var(--mz-radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--mz-shadow); }
.form-label { font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.form-label .req { color: #D63A3A; }
.form-label .opt { font-weight: 400; color: var(--mz-text-soft); font-size: .82rem; }
.form-control, .form-select { border-radius: 10px; border-color: #CFDAE7; padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--mz-blue); box-shadow: 0 0 0 .2rem rgba(8, 127, 234, .15); }
.hp-field { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; padding-block: .8rem; border-bottom: 1px solid var(--mz-border-dark); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .bi { font-size: 1.2rem; color: var(--mz-cyan); margin-top: .15rem; }
.contact-item a { color: #fff; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--mz-border); border-radius: 12px !important; overflow: hidden; margin-bottom: .75rem; }
.faq .accordion-button { font-weight: 600; padding: 1.1rem 1.3rem; }
.faq .accordion-button:not(.collapsed) { background: rgba(8, 127, 234, .06); color: var(--mz-text); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(8, 127, 234, .2); }
[dir="rtl"] .faq .accordion-button::after { margin-left: 0; margin-right: auto; }

/* ---------- Testimonials ---------- */
.quote-card blockquote { font-size: 1.02rem; color: var(--mz-text); margin-bottom: 1.2rem; }
.quote-card .bi-quote { font-size: 2rem; color: var(--mz-cyan); line-height: 1; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(2rem, 5vw, 3.5rem); color: #fff; background: radial-gradient(circle at 85% 0%, rgba(0, 213, 232, .3), transparent 50%), linear-gradient(135deg, var(--mz-navy-2), var(--mz-navy)); border: 1px solid var(--mz-border-dark); }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: var(--mz-muted); }

/* ---------- Filters / pagination ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filter-bar a { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--mz-border); color: var(--mz-text-soft); font-weight: 500; font-size: .9rem; background: #fff; }
.filter-bar a:hover { text-decoration: none; border-color: var(--mz-blue); color: var(--mz-blue); }
.filter-bar a.active { background: var(--mz-navy); border-color: var(--mz-navy); color: #fff; }
.pagination { --bs-pagination-color: var(--mz-text); --bs-pagination-active-bg: var(--mz-blue); --bs-pagination-active-border-color: var(--mz-blue); --bs-pagination-border-radius: 10px; gap: .3rem; }
.pagination .page-link { border-radius: 10px !important; }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 3rem 1.5rem; border: 1.5px dashed var(--mz-border); border-radius: var(--mz-radius); background: #fff; color: var(--mz-text-soft); }
.empty-state .bi { font-size: 2.2rem; color: #9DB0C7; display: block; margin-bottom: .75rem; }
.section-dark .empty-state { background: transparent; border-color: var(--mz-border-dark); color: var(--mz-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--mz-ink); color: var(--mz-muted); padding-top: 4rem; font-size: .95rem; }
.site-footer h2 { font-size: .95rem; color: #fff; margin-bottom: 1.1rem; font-weight: 600; }
.site-footer a { color: var(--mz-muted); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-logo { max-width: 210px; margin-bottom: 1.1rem; }
.footer-tagline { font-family: "Inter", sans-serif; letter-spacing: .28em; font-size: .72rem; color: #C9D4E2; direction: ltr; }
.footer-bottom { border-top: 1px solid var(--mz-border-dark); margin-top: 3rem; padding-block: 1.4rem; font-size: .86rem; }
.social a { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--mz-border-dark); font-size: 1.05rem; }
.social a:hover { border-color: var(--mz-cyan); color: var(--mz-cyan); text-decoration: none; }
.wa-float { position: fixed; inset-inline-end: 1.25rem; bottom: 1.25rem; z-index: 1040; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; font-size: 1.6rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.wa-float:hover { color: #fff; transform: translateY(-2px); text-decoration: none; }

/* ---------- Alerts ---------- */
.alert { border-radius: 12px; }

/* ---------- 404 ---------- */
.nf-code { font-family: "Inter", sans-serif; font-weight: 700; font-size: clamp(4rem, 12vw, 7.5rem); line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Keep large gutters from causing horizontal scroll on phones */
@media (max-width: 575.98px) {
  .g-5, .gx-5, .g-4, .gx-4 { --bs-gutter-x: 1.5rem; }
}
