/* ==========================================================================
   Hazx Technologies - main stylesheet
   ========================================================================== */

:root {
    --hz-navy-950: #060b20;
    --hz-navy-900: #0a1230;
    --hz-navy-800: #111c45;
    --hz-navy-700: #1a2858;
    --hz-line: #26356d;
    --hz-cyan: #22d3ee;
    --hz-indigo: #6d5dfc;
    --hz-violet: #a855f7;
    --hz-pink: #ff6aa2;
    --hz-green: #3ee08f;
    --hz-amber: #ffc542;
    --hz-text: #1b2445;
    --hz-muted: #5d6888;
    --hz-soft: #9aa8d6;
    --hz-bg: #ffffff;
    --hz-bg-alt: #f4f6fd;
    --hz-grad: linear-gradient(135deg, #22d3ee 0%, #6d5dfc 55%, #a855f7 100%);
    --hz-grad-warm: linear-gradient(135deg, #ff6aa2 0%, #a855f7 100%);
    --hz-radius: 18px;
    --hz-radius-lg: 28px;
    --hz-shadow: 0 20px 50px -20px rgba(17, 28, 69, .25);
    --hz-shadow-lg: 0 40px 80px -30px rgba(17, 28, 69, .35);
    --hz-ease: cubic-bezier(.22, 1, .36, 1);
    --hz-font-head: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --hz-font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --bs-body-font-family: var(--hz-font-body);
    --bs-body-color: var(--hz-text);
    --bs-link-color-rgb: 109, 93, 252;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body {
    font-family: var(--hz-font-body);
    color: var(--hz-text);
    background: var(--hz-bg);
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .display-font { font-family: var(--hz-font-head); font-weight: 800; letter-spacing: -.02em; color: inherit; }
a { color: var(--hz-indigo); text-decoration: none; transition: color .2s; }
a:hover { color: var(--hz-violet); }
img, svg { max-width: 100%; }
::selection { background: var(--hz-indigo); color: #fff; }

.text-gradient {
    background: var(--hz-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.text-soft { color: var(--hz-soft) !important; }
.text-muted-hz { color: var(--hz-muted); }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 9999; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--hz-font-head); font-weight: 700; border-radius: 999px; padding: .75rem 1.5rem; transition: transform .3s var(--hz-ease), box-shadow .3s var(--hz-ease), background .3s; }
.btn-gradient {
    position: relative;
    color: #fff;
    background: var(--hz-grad);
    background-size: 160% 160%;
    border: 0;
    box-shadow: 0 12px 30px -10px rgba(109, 93, 252, .7);
    overflow: hidden;
    isolation: isolate;
}
.btn-gradient:hover, .btn-gradient:focus { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 40px -12px rgba(109, 93, 252, .85); }
.btn-gradient::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .8s var(--hz-ease);
}
.btn-gradient:hover::after { transform: translateX(100%); }
.btn-outline-light-hz { color: #fff; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-outline-light-hz:hover { color: var(--hz-navy-900); background: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-outline-hz { color: var(--hz-indigo); border: 1.5px solid rgba(109,93,252,.35); background: transparent; }
.btn-outline-hz:hover { color: #fff; background: var(--hz-indigo); border-color: var(--hz-indigo); transform: translateY(-2px); }
.btn i { transition: transform .3s var(--hz-ease); }
.btn:hover i.bi-arrow-right, .btn:hover i.bi-arrow-up-right { transform: translateX(4px); }

/* ---------- Preloader & page transitions ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 10000;
    display: grid; place-items: center;
    background: var(--hz-navy-950);
    transition: opacity .6s var(--hz-ease), visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-mark { display: grid; justify-items: center; gap: 18px; }
.preloader-mark img { animation: hzPulse 1.4s ease-in-out infinite; }
.preloader-bar { width: 140px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 40%; background: var(--hz-grad); animation: hzLoad 1.1s ease-in-out infinite; }
@keyframes hzLoad { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes hzPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }

.page-curtain {
    position: fixed; inset: 0; z-index: 9998; pointer-events: none;
    background: var(--hz-grad);
    transform: scaleY(0); transform-origin: bottom;
    transition: transform .55s var(--hz-ease);
}
.page-curtain.leaving { transform: scaleY(1); transform-origin: bottom; pointer-events: all; }

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

/* ---------- Top bar & header ---------- */
.topbar { background: var(--hz-navy-950); color: var(--hz-soft); font-size: .82rem; padding: .5rem 0; }
.topbar a, .topbar span { color: var(--hz-soft); }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--hz-cyan); margin-right: 4px; }

/* The header shrinks on scroll; stop the browser nudging the page to compensate (that caused blinking). */
html { overflow-anchor: none; }
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgb(12, 19, 50);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transform: translateZ(0);
    transition: background .4s, box-shadow .4s;
}
.site-header.scrolled { background: rgb(9, 15, 40); box-shadow: 0 10px 40px -10px rgba(0,0,0,.5); }
.site-header .navbar { padding: 1rem 0; transition: padding .4s var(--hz-ease); }
.site-header.scrolled .navbar { padding: .55rem 0; }
.navbar-brand img { height: 40px; width: auto; transition: height .4s var(--hz-ease); }
.site-header.scrolled .navbar-brand img { height: 34px; }
.site-header .nav-link {
    position: relative;
    color: #d6defa; font-family: var(--hz-font-head); font-weight: 600; font-size: .95rem;
    padding: .5rem 1rem !important;
}
.site-header .nav-link::after {
    content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .2rem; height: 2px;
    background: var(--hz-grad); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--hz-ease);
}
.site-header .nav-link.dropdown-toggle::after { border: 0; margin: 0; vertical-align: 0; }
.site-header .nav-link:hover, .site-header .nav-link.active, .site-header .nav-link.show { color: #fff; }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.btn-nav { padding: .6rem 1.25rem; font-size: .9rem; }

/* Mega menu */
.navbar .mega { position: static; }
.mega-menu {
    left: 0; right: 0; width: 100%; margin-top: 0 !important;
    border: 0; border-radius: 0 0 var(--hz-radius-lg) var(--hz-radius-lg);
    padding: 2rem 0 1.25rem;
    background: rgba(9, 15, 40, .98);
    border-top: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
@media (min-width: 992px) {
    .mega-menu { display: block; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--hz-ease), transform .3s var(--hz-ease), visibility .3s; }
    .mega-menu.show, .mega:hover > .mega-menu { opacity: 1; visibility: visible; transform: none; }
}
.mega-title { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.mega-title i { color: var(--hz-cyan); margin-right: 6px; }
.mega-list a { display: flex; gap: 12px; align-items: flex-start; padding: .55rem .6rem; border-radius: 12px; color: #c5cff0; font-size: .9rem; line-height: 1.35; transition: background .25s, color .25s, transform .25s var(--hz-ease); }
.mega-list a i { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: rgba(109,93,252,.15); color: var(--hz-cyan); }
.mega-list a:hover { background: rgba(255,255,255,.05); color: #fff; transform: translateX(4px); }
.mega-footer { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: space-between; color: var(--hz-soft); font-size: .9rem; }

/* Burger + mobile nav */
.navbar-toggler { border: 0; padding: .4rem; box-shadow: none !important; }
.burger { display: grid; gap: 5px; width: 26px; }
.burger span { display: block; height: 2px; border-radius: 2px; background: #fff; }
.burger span:nth-child(2) { width: 70%; justify-self: end; }
.mobile-nav { background: var(--hz-navy-900); color: #fff; }
.mobile-links > li { border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-links a { display: block; padding: .9rem 0; color: #fff; font-family: var(--hz-font-head); font-weight: 700; font-size: 1.1rem; }
.mobile-links .sub a { font-size: .92rem; font-weight: 500; color: #c5cff0; padding: .5rem 0 .5rem .5rem; }
.mobile-links .sub i { color: var(--hz-cyan); margin-right: 6px; }
.mobile-contact a { display: block; color: var(--hz-soft); margin-bottom: .5rem; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section-alt { background: var(--hz-bg-alt); }
.section-dark { background: var(--hz-navy-900); color: #e6ecff; }
.section-dark .text-muted-hz { color: var(--hz-soft); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--hz-font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--hz-indigo); background: rgba(109,93,252,.08); border: 1px solid rgba(109,93,252,.18);
    padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hz-grad); box-shadow: 0 0 0 4px rgba(109,93,252,.15); }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #a5f3fc; background: rgba(34,211,238,.08); border-color: rgba(34,211,238,.22); }
.section-title { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; margin-bottom: 1rem; }
.section-lead { font-size: 1.1rem; color: var(--hz-muted); max-width: 640px; }
.section-dark .section-lead { color: var(--hz-soft); }
.section-head { margin-bottom: 3.5rem; }
.section-head.text-center .section-lead { margin-inline: auto; }

/* Decorative backgrounds */
.grid-bg::before, .footer-grid-bg {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none; animation: blobMove 18s ease-in-out infinite alternate; }
.blob-1 { width: 480px; height: 480px; background: #6d5dfc; top: -120px; left: -120px; }
.blob-2 { width: 420px; height: 420px; background: #22d3ee; bottom: -160px; right: -100px; animation-delay: -6s; opacity: .35; }
.blob-3 { width: 320px; height: 320px; background: #ff6aa2; top: 40%; left: 45%; animation-delay: -12s; opacity: .22; }
@keyframes blobMove { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,-40px) scale(1.1); } 100% { transform: translate(-40px,40px) scale(.95); } }

/* ---------- Hero slideshow ---------- */
.hero {
    position: relative; overflow: hidden;
    background: radial-gradient(1200px 600px at 80% -10%, #1d2a6b 0%, transparent 60%), var(--hz-navy-900);
    color: #fff;
}
.hero .carousel-item { min-height: calc(100vh - 115px); min-height: calc(100svh - 115px); padding: 70px 0 190px; }
.hero .carousel-item > .container { min-height: inherit; display: flex; align-items: center; }
.hero .carousel-item.carousel-item { transition: opacity 1s var(--hz-ease); }
.hero h1, .hero h2.display-font { font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.05; margin-bottom: 1.4rem; }
.hero .lead { color: #c5cff0; font-size: 1.15rem; max-width: 560px; margin-bottom: 2.2rem; }
.hero-figure { position: relative; }
.hero-figure .illustration { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.35)); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2.2rem; color: var(--hz-soft); font-size: .9rem; }
.hero-badges i { color: var(--hz-green); margin-right: 6px; }

/* Slide text animation */
.hero .slide-anim > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--hz-ease), transform .9s var(--hz-ease); }
.hero .carousel-item.active .slide-anim > * { opacity: 1; transform: none; }
.hero .carousel-item.active .slide-anim > *:nth-child(2) { transition-delay: .12s; }
.hero .carousel-item.active .slide-anim > *:nth-child(3) { transition-delay: .24s; }
.hero .carousel-item.active .slide-anim > *:nth-child(4) { transition-delay: .36s; }
.hero .carousel-item.active .slide-anim > *:nth-child(5) { transition-delay: .48s; }
.hero .hero-figure { opacity: 0; transform: translateX(60px) scale(.95); transition: opacity 1.1s var(--hz-ease) .2s, transform 1.1s var(--hz-ease) .2s; }
.hero .carousel-item.active .hero-figure { opacity: 1; transform: none; }

.hero-controls {
    position: absolute; left: 0; right: 0; bottom: 105px; z-index: 5;
    display: flex; align-items: center; justify-content: space-between;
}
.hero-dots { display: flex; gap: 10px; margin: 0; position: static; }
.hero-dots button {
    width: 46px !important; height: 4px !important; border: 0 !important; border-radius: 4px;
    background: rgba(255,255,255,.2) !important; opacity: 1 !important; margin: 0 !important; overflow: hidden; position: relative; text-indent: 0 !important;
}
.hero-dots button::after { content: ""; position: absolute; inset: 0; background: var(--hz-grad); transform: scaleX(0); transform-origin: left; }
.hero-dots button.active::after { animation: dotFill var(--slide-interval, 7000ms) linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button {
    width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: #fff;
    transition: background .3s, transform .3s var(--hz-ease);
}
.hero-arrows button:hover { background: #fff; color: var(--hz-navy-900); transform: scale(1.06); }
.hero-counter { font-family: var(--hz-font-head); color: var(--hz-soft); font-weight: 700; margin-left: 18px; }
.hero-counter strong { color: #fff; font-size: 1.3rem; }

.scroll-hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 5; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollHint 1.8s infinite; }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--hz-navy-950); border-top: 1px solid rgba(255,255,255,.05); padding: 22px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 10px; color: #8f9cc8; font-family: var(--hz-font-head); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.marquee-item i { font-size: 1.4rem; color: var(--hz-cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.service-card {
    position: relative; height: 100%;
    padding: 2rem; border-radius: var(--hz-radius-lg);
    background: #fff; border: 1px solid #e7eaf6;
    transition: transform .5s var(--hz-ease), box-shadow .5s var(--hz-ease), border-color .5s;
    overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column;
}
.service-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(109,93,252,.1), transparent 40%);
    transition: opacity .4s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--hz-shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card .num { position: absolute; top: 1.4rem; right: 1.6rem; font-family: var(--hz-font-head); font-weight: 800; font-size: 2.6rem; color: #eef0fa; line-height: 1; transition: color .4s; }
.service-card:hover .num { color: rgba(109,93,252,.14); }
.icon-tile {
    width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
    font-size: 1.6rem; color: #fff; background: var(--hz-grad);
    box-shadow: 0 14px 30px -12px rgba(109,93,252,.7); margin-bottom: 1.4rem;
    transition: transform .5s var(--hz-ease);
}
.service-card:hover .icon-tile { transform: rotate(-8deg) scale(1.08); }
.service-card h3 { font-size: 1.22rem; margin-bottom: .7rem; }
.service-card p { color: var(--hz-muted); margin-bottom: 1.3rem; }
.service-card .card-actions { margin-top: auto; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.link-arrow { font-family: var(--hz-font-head); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow i { transition: transform .3s var(--hz-ease); }
.link-arrow:hover i { transform: translateX(5px); }
.quick-view-btn { border: 0; background: none; color: var(--hz-muted); font-size: .88rem; font-weight: 600; padding: 0; }
.quick-view-btn:hover { color: var(--hz-indigo); }

.feature-card { padding: 2rem; border-radius: var(--hz-radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); height: 100%; transition: transform .5s var(--hz-ease), background .5s, border-color .5s; }
.feature-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); border-color: rgba(34,211,238,.35); }
.feature-card i { font-size: 1.9rem; display: inline-block; margin-bottom: 1rem; background: var(--hz-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feature-card h3 { font-size: 1.15rem; color: #fff; }
.feature-card p { color: var(--hz-soft); margin: 0; }

/* Group tabs on home */
.group-tabs { gap: 10px; justify-content: center; border: 0; margin-bottom: 3rem; }
.group-tabs .nav-link {
    border: 1px solid #e1e5f4; border-radius: 999px; color: var(--hz-text); font-family: var(--hz-font-head); font-weight: 700; padding: .7rem 1.3rem; background: #fff;
    transition: all .3s var(--hz-ease);
}
.group-tabs .nav-link i { margin-right: 6px; color: var(--hz-indigo); }
.group-tabs .nav-link.active, .group-tabs .nav-link:hover { color: #fff; background: var(--hz-navy-900); border-color: var(--hz-navy-900); }
.group-tabs .nav-link.active i, .group-tabs .nav-link:hover i { color: var(--hz-cyan); }
.tab-pane.fade { transition: opacity .5s var(--hz-ease); }
.tab-pane.active .service-card { animation: cardIn .7s var(--hz-ease) both; }
.tab-pane.active .col-md-6:nth-child(2) .service-card { animation-delay: .07s; }
.tab-pane.active .col-md-6:nth-child(3) .service-card { animation-delay: .14s; }
.tab-pane.active .col-md-6:nth-child(4) .service-card { animation-delay: .21s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Stats ---------- */
.stats-band { position: relative; margin-top: -70px; z-index: 6; }
.stats-inner { background: #fff; border-radius: var(--hz-radius-lg); box-shadow: var(--hz-shadow-lg); padding: 2.4rem 1rem; }
.stat { text-align: center; padding: .5rem 1rem; }
.stat + .stat { border-left: 1px solid #eceff8; }
.stat-value { font-family: var(--hz-font-head); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; }
.stat-label { color: var(--hz-muted); font-size: .92rem; margin-top: .5rem; }
@media (max-width: 767.98px) { .stat + .stat { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid #eceff8; padding-top: 1.4rem; margin-top: .6rem; } }

/* ---------- About / split blocks ---------- */
.media-frame { position: relative; border-radius: var(--hz-radius-lg); background: linear-gradient(160deg, var(--hz-navy-800), var(--hz-navy-950)); padding: 2rem; overflow: hidden; box-shadow: var(--hz-shadow-lg); }
.media-frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at 20% 0%, rgba(109,93,252,.35), transparent 60%); pointer-events: none; }
.media-frame .illustration { position: relative; z-index: 1; width: 100%; height: auto; }
.float-chip {
    position: absolute; z-index: 2; display: flex; gap: 12px; align-items: center;
    background: #fff; border-radius: 16px; padding: .85rem 1.1rem; box-shadow: var(--hz-shadow);
    font-family: var(--hz-font-head); font-weight: 700; font-size: .9rem; color: var(--hz-text);
    animation: chipFloat 6s ease-in-out infinite;
}
.float-chip i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--hz-grad); }
.float-chip small { display: block; font-weight: 500; color: var(--hz-muted); font-family: var(--hz-font-body); }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: .85rem; }
.check-list li::before {
    content: "\F26E"; font-family: bootstrap-icons; position: absolute; left: 0; top: 1px;
    width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem;
    color: #fff; background: var(--hz-grad);
}
.section-dark .check-list li { color: #d6defa; }

/* ---------- Process ---------- */
.process { counter-reset: step; position: relative; }
.process-line { position: absolute; top: 38px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, rgba(109,93,252,.4), transparent); }
.process-step { text-align: center; position: relative; padding: 0 .5rem; }
.process-step .step-icon {
    width: 76px; height: 76px; margin: 0 auto 1.4rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem;
    background: var(--hz-navy-900); color: var(--hz-cyan); border: 2px solid rgba(34,211,238,.35); position: relative;
    transition: transform .5s var(--hz-ease), background .5s;
}
.process-step:hover .step-icon { transform: scale(1.08); background: var(--hz-indigo); color: #fff; }
.process-step .step-icon::after {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; top: -6px; right: -10px; font-size: .72rem; font-weight: 800; font-family: var(--hz-font-head);
    background: var(--hz-grad); color: #fff; border-radius: 999px; padding: .2rem .5rem;
}
.process-step h3 { font-size: 1.15rem; }
.process-step p { color: var(--hz-muted); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testimonial-card { max-width: 820px; margin: 0 auto; text-align: center; padding: 1rem 3rem 3rem; }
.testimonial-card .quote-mark { font-size: 3rem; line-height: 1; background: var(--hz-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.testimonial-card blockquote { font-family: var(--hz-font-head); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.5; color: #fff; margin: 1rem 0 1.8rem; }
.testimonial-card .who { color: var(--hz-soft); }
.testimonial-card .who strong { color: #fff; display: block; font-family: var(--hz-font-head); }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto .8rem; font-family: var(--hz-font-head); font-weight: 800; color: #fff; background: var(--hz-grad); }
#testimonials .carousel-indicators { bottom: -10px; }
#testimonials .carousel-indicators button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); }
#testimonials .carousel-indicators button.active { background: var(--hz-cyan); width: 28px; border-radius: 6px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden; color: #fff;
    padding: 110px 0 120px;
    background: radial-gradient(900px 500px at 85% 0%, #23307a 0%, transparent 60%), var(--hz-navy-900);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.08; margin-bottom: 1.2rem; }
.page-hero .lead { color: #c5cff0; font-size: 1.12rem; max-width: 640px; }
.page-hero .illustration { width: 100%; max-width: 520px; height: auto; display: block; margin-left: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.breadcrumb-hz { display: flex; gap: 8px; font-size: .88rem; color: var(--hz-soft); margin-bottom: 1.4rem; flex-wrap: wrap; }
.breadcrumb-hz a { color: var(--hz-soft); }
.breadcrumb-hz a:hover { color: #fff; }
.breadcrumb-hz span.sep { opacity: .5; }
.page-hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.page-hero-wave svg { width: 100%; height: 70px; display: block; }

/* ---------- Service detail ---------- */
.service-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.service-item {
    display: flex; gap: 14px; align-items: flex-start; padding: 1.15rem 1.25rem; border-radius: 16px; background: #fff; border: 1px solid #e7eaf6;
    transition: transform .4s var(--hz-ease), box-shadow .4s var(--hz-ease), border-color .4s;
}
.service-item:hover { transform: translateY(-4px); box-shadow: var(--hz-shadow); border-color: rgba(109,93,252,.3); }
.service-item i { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--hz-indigo); background: rgba(109,93,252,.1); }
.service-item span { font-weight: 600; line-height: 1.4; padding-top: 5px; }
.benefit { display: flex; gap: 18px; }
.benefit .icon-tile { flex: 0 0 56px; height: 56px; width: 56px; margin: 0; font-size: 1.4rem; }
.benefit h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.benefit p { color: var(--hz-muted); margin: 0; }
.sticky-aside { position: sticky; top: 110px; }
.aside-card { border-radius: var(--hz-radius-lg); padding: 2rem; background: var(--hz-navy-900); color: #e6ecff; position: relative; overflow: hidden; }
.aside-card::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--hz-indigo); filter: blur(90px); opacity: .45; top: -100px; right: -100px; }
.aside-card > * { position: relative; }
.aside-card h3 { color: #fff; font-size: 1.3rem; }
.aside-card p { color: var(--hz-soft); }
.aside-list a { display: flex; align-items: center; gap: 10px; padding: .55rem 0; color: var(--hz-text); border-bottom: 1px dashed #e1e5f4; font-weight: 600; font-size: .94rem; }
.aside-list a i { color: var(--hz-indigo); }
.aside-list a:hover { color: var(--hz-indigo); padding-left: 6px; }
.options-row { display: flex; flex-wrap: wrap; gap: 10px; }
.option-pill { display: inline-flex; align-items: center; gap: 8px; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid #e1e5f4; font-weight: 600; font-size: .9rem; }
.option-pill i { color: var(--hz-indigo); }
.service-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.service-nav a { flex: 1 1 260px; padding: 1.4rem 1.6rem; border-radius: var(--hz-radius); border: 1px solid #e7eaf6; background: #fff; color: var(--hz-text); transition: all .4s var(--hz-ease); }
.service-nav a small { display: block; color: var(--hz-muted); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; margin-bottom: .3rem; }
.service-nav a strong { font-family: var(--hz-font-head); font-size: 1.05rem; }
.service-nav a:hover { border-color: transparent; box-shadow: var(--hz-shadow); transform: translateY(-4px); }

/* Services page filter */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { border: 1px solid #e1e5f4; background: #fff; border-radius: 999px; padding: .55rem 1.1rem; font-family: var(--hz-font-head); font-weight: 700; font-size: .88rem; color: var(--hz-text); transition: all .3s var(--hz-ease); }
.filter-chip.active, .filter-chip:hover { background: var(--hz-navy-900); color: #fff; border-color: var(--hz-navy-900); }
.search-box { position: relative; min-width: 280px; }
.search-box input { width: 100%; border-radius: 999px; border: 1px solid #e1e5f4; padding: .7rem 1rem .7rem 2.7rem; outline: none; transition: border-color .3s, box-shadow .3s; }
.search-box input:focus { border-color: var(--hz-indigo); box-shadow: 0 0 0 4px rgba(109,93,252,.12); }
.search-box i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--hz-muted); }
.service-col { transition: opacity .4s var(--hz-ease), transform .4s var(--hz-ease); }
.service-col.is-hidden { display: none; }
.no-results { display: none; text-align: center; padding: 3rem 0; color: var(--hz-muted); }

/* Quick view modal */
.modal-hz .modal-content { border: 0; border-radius: var(--hz-radius-lg); overflow: hidden; }
.modal-hz .modal-header { background: var(--hz-navy-900); color: #fff; border: 0; padding: 1.5rem 1.75rem; }
.modal-hz .modal-header .icon-tile { width: 48px; height: 48px; margin: 0 14px 0 0; font-size: 1.3rem; }
.modal-hz .modal-title { font-size: 1.25rem; }
.modal-hz .modal-body { padding: 1.75rem; }
.modal-hz .modal-body ul { columns: 2; column-gap: 2rem; }
@media (max-width: 575.98px) { .modal-hz .modal-body ul { columns: 1; } }
.skeleton { height: 14px; border-radius: 7px; background: linear-gradient(90deg, #eef0f8 25%, #f7f8fd 50%, #eef0f8 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; margin-bottom: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Pricing ---------- */
.billing-toggle { display: inline-flex; align-items: center; gap: 14px; padding: .4rem; border-radius: 999px; background: #fff; border: 1px solid #e1e5f4; margin-bottom: 3rem; }
.billing-toggle button { border: 0; background: none; border-radius: 999px; padding: .6rem 1.3rem; font-family: var(--hz-font-head); font-weight: 700; color: var(--hz-muted); transition: all .3s var(--hz-ease); }
.billing-toggle button.active { background: var(--hz-navy-900); color: #fff; }
.billing-toggle .save { font-size: .72rem; background: rgba(62,224,143,.15); color: #129a5b; padding: .15rem .5rem; border-radius: 999px; margin-left: 4px; }
.price-card {
    position: relative; height: 100%; padding: 2.4rem 2rem; border-radius: var(--hz-radius-lg); background: #fff; border: 1px solid #e7eaf6;
    transition: transform .5s var(--hz-ease), box-shadow .5s var(--hz-ease); display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--hz-shadow-lg); }
.price-card.featured { background: var(--hz-navy-900); color: #e6ecff; border: 0; box-shadow: var(--hz-shadow-lg); overflow: hidden; }
.price-card.featured::before { content: ""; position: absolute; inset: 0; padding: 2px; border-radius: inherit; background: var(--hz-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price-card .plan-badge { position: absolute; top: 1.4rem; right: 1.4rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: .3rem .7rem; border-radius: 999px; background: var(--hz-grad); color: #fff; }
.price-card h3 { font-size: 1.3rem; }
.price-card.featured h3 { color: #fff; }
.price-card .plan-desc { color: var(--hz-muted); min-height: 48px; }
.price-card.featured .plan-desc { color: var(--hz-soft); }
.price { font-family: var(--hz-font-head); font-weight: 800; font-size: 3rem; line-height: 1; margin: 1.4rem 0 .3rem; }
.price small { font-size: 1rem; font-weight: 600; color: var(--hz-muted); }
.price-card.featured .price small { color: var(--hz-soft); }
.price .from { display: block; font-size: .8rem; font-weight: 700; color: var(--hz-muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .35rem; }
.price-value { display: inline-block; transition: opacity .25s, transform .25s; }
.price-value.flip { opacity: 0; transform: translateY(-10px); }
.price-note { font-size: .85rem; color: var(--hz-muted); margin-bottom: 1.6rem; }
.price-card.featured .price-note { color: var(--hz-soft); }
.price-card .check-list { margin-bottom: 2rem; }
.price-card .check-list li { font-size: .95rem; }
.price-card .btn { margin-top: auto; }
.compare-table { border-radius: var(--hz-radius-lg); overflow: hidden; box-shadow: var(--hz-shadow); background: #fff; }
.compare-table table { margin: 0; }
.compare-table th, .compare-table td { padding: 1rem 1.25rem; vertical-align: middle; }
.compare-table thead th { background: var(--hz-navy-900); color: #fff; font-family: var(--hz-font-head); border: 0; }
.compare-table td.yes i { color: #18b46b; font-size: 1.2rem; }
.compare-table td.no i { color: #c3c9de; font-size: 1.2rem; }
.project-tile { padding: 1.6rem; border-radius: var(--hz-radius); background: #fff; border: 1px solid #e7eaf6; height: 100%; transition: all .4s var(--hz-ease); }
.project-tile:hover { transform: translateY(-5px); box-shadow: var(--hz-shadow); }
.project-tile i { font-size: 1.6rem; color: var(--hz-indigo); }
.project-tile h3 { font-size: 1.05rem; margin: .8rem 0 .3rem; }
.project-tile .from-price { font-family: var(--hz-font-head); font-weight: 800; color: var(--hz-text); }

/* Estimator */
.estimator { border-radius: var(--hz-radius-lg); background: var(--hz-navy-900); color: #e6ecff; padding: 2.5rem; position: relative; overflow: hidden; }
.estimator label { font-weight: 600; color: #fff; }
.estimator .form-range::-webkit-slider-thumb { background: var(--hz-cyan); }
.estimator .form-range::-moz-range-thumb { background: var(--hz-cyan); }
.estimator .form-check-label { color: #d6defa; font-weight: 500; }
.estimator .form-check-input { background-color: transparent; border-color: rgba(255,255,255,.3); }
.estimator .form-check-input:checked { background-color: var(--hz-indigo); border-color: var(--hz-indigo); }
.estimate-out { border-radius: var(--hz-radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 2rem; text-align: center; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.estimate-out .amount { font-family: var(--hz-font-head); font-weight: 800; font-size: 3.2rem; line-height: 1; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid #e7eaf6; border-radius: 16px !important; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq .accordion-button { font-family: var(--hz-font-head); font-weight: 700; font-size: 1.05rem; padding: 1.25rem 1.5rem; color: var(--hz-text); background: #fff; box-shadow: none !important; }
.faq .accordion-button:not(.collapsed) { color: var(--hz-indigo); }
.faq .accordion-button::after { background-image: none; content: "\F4FE"; font-family: bootstrap-icons; font-size: 1.1rem; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(109,93,252,.1); color: var(--hz-indigo); transition: transform .35s var(--hz-ease); }
.faq .accordion-button:not(.collapsed)::after { transform: rotate(45deg); background-image: none; }
.faq .accordion-body { color: var(--hz-muted); padding: 0 1.5rem 1.4rem; }

/* ---------- Team / values ---------- */
.value-card { padding: 2rem; border-radius: var(--hz-radius-lg); background: #fff; border: 1px solid #e7eaf6; height: 100%; transition: all .4s var(--hz-ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--hz-shadow); }
.value-card h3 { font-size: 1.15rem; }
.value-card p { color: var(--hz-muted); margin: 0; }
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--hz-cyan), var(--hz-violet)); }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before { content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--hz-indigo); }
.timeline-item h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.timeline-item p { color: var(--hz-muted); margin: 0; }
.section-dark .timeline-item p { color: var(--hz-soft); }
.section-dark .timeline-item::before { background: var(--hz-navy-900); }

/* ---------- Contact ---------- */
.contact-card { border-radius: var(--hz-radius-lg); background: #fff; box-shadow: var(--hz-shadow-lg); padding: 2.6rem; position: relative; z-index: 2; }
.form-floating > .form-control, .form-floating > .form-select { border-radius: 14px; border-color: #e1e5f4; }
.form-floating > .form-control:focus, .form-floating > .form-select:focus { border-color: var(--hz-indigo); box-shadow: 0 0 0 4px rgba(109,93,252,.12); }
.form-floating > textarea.form-control { min-height: 150px; }
.form-check-input:checked { background-color: var(--hz-indigo); border-color: var(--hz-indigo); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 1.6rem; }
.contact-info-item .icon-tile { flex: 0 0 52px; width: 52px; height: 52px; margin: 0; font-size: 1.25rem; }
.contact-info-item h3 { font-size: 1rem; margin-bottom: .2rem; color: #fff; }
.contact-info-item a, .contact-info-item p { color: var(--hz-soft); margin: 0; }
.contact-info-item a:hover { color: #fff; }
.form-feedback { display: none; }
.form-feedback.show { display: block; }
.alert-hz { border-radius: 14px; padding: 1rem 1.2rem; display: flex; gap: 12px; align-items: flex-start; }
.alert-hz.success { background: rgba(62,224,143,.12); color: #0f7a47; }
.alert-hz.error { background: rgba(255,92,122,.1); color: #b4233f; }
.btn .spinner-border { width: 1rem; height: 1rem; border-width: .15em; display: none; }
.btn.loading .spinner-border { display: inline-block; }
.btn.loading .btn-label { opacity: .7; }
.success-burst { text-align: center; padding: 2rem 0; animation: cardIn .6s var(--hz-ease) both; }
.success-burst .tick { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.2rem; display: grid; place-items: center; font-size: 2.4rem; color: #fff; background: var(--hz-grad); box-shadow: 0 20px 40px -14px rgba(109,93,252,.7); animation: popIn .6s var(--hz-ease) both .1s; }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.map-card { border-radius: var(--hz-radius-lg); overflow: hidden; min-height: 320px; background: var(--hz-navy-800); position: relative; }
.map-card svg { width: 100%; height: 100%; display: block; }

/* ---------- CTA band & footer ---------- */
.cta-band { padding: 0 0 0; position: relative; z-index: 3; margin-bottom: -90px; }
.cta-inner { position: relative; overflow: hidden; border-radius: var(--hz-radius-lg); padding: 3.4rem; color: #fff; background: var(--hz-grad); box-shadow: var(--hz-shadow-lg); }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-inner p { color: rgba(255,255,255,.85); }
.cta-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.18); filter: blur(10px); top: -220px; right: -120px; animation: blobMove 14s ease-in-out infinite alternate; }
.cta-inner .btn-light { color: var(--hz-navy-900); }
.cta-inner .btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(0,0,0,.35); }

.site-footer { position: relative; background: var(--hz-navy-950); color: #c5cff0; padding: 170px 0 30px; overflow: hidden; }
.site-footer h6 { color: #fff; font-family: var(--hz-font-head); font-weight: 800; letter-spacing: .02em; margin-bottom: 1.2rem; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: var(--hz-soft); font-size: .94rem; transition: color .25s, padding .25s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: .6rem; color: var(--hz-soft); font-size: .94rem; }
.footer-contact i { color: var(--hz-cyan); }
.footer-contact a { color: var(--hz-soft); }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-social a, .social-mini a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.06); transition: all .3s var(--hz-ease); }
.footer-social a:hover { background: var(--hz-grad); transform: translateY(-3px); color: #fff; }
.social-mini a { width: auto; height: auto; background: none; }
.newsletter-field { display: flex; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 5px; transition: border-color .3s; }
.newsletter-field:focus-within { border-color: var(--hz-cyan); }
.newsletter-field input { flex: 1; background: none; border: 0; outline: none; color: #fff; padding: 0 .9rem; min-width: 0; }
.newsletter-field input::placeholder { color: #7f8cb8; }
.newsletter-field button { border: 0; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--hz-grad); flex: 0 0 auto; }
.newsletter-form .form-feedback.ok { color: var(--hz-green); }
.newsletter-form .form-feedback.err { color: var(--hz-pink); }
.footer-bottom { margin-top: 4rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .86rem; color: #7f8cb8; }

.back-to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 1040; width: 50px; height: 50px; border: 0; border-radius: 50%;
    color: #fff; background: var(--hz-grad); box-shadow: 0 14px 30px -10px rgba(109,93,252,.8);
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--hz-ease);
}
.whatsapp-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 1041; height: 56px; min-width: 56px; padding: 0 16px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px;
    color: #fff; background: #25d366; font-weight: 600; font-size: .95rem; text-decoration: none;
    box-shadow: 0 14px 30px -10px rgba(37,211,102,.75); transition: transform .3s var(--hz-ease), box-shadow .3s;
    animation: waIn .6s 1.2s var(--hz-ease) both;
}
.whatsapp-float i { font-size: 1.6rem; line-height: 1; }
.whatsapp-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(37,211,102,.9); }
.whatsapp-float::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; opacity: 0;
    animation: waPulse 2.6s 2s ease-out infinite;
}
@keyframes waIn { from { opacity: 0; transform: translateY(20px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes waPulse { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float, .whatsapp-float::before { animation: none; } }
/* Back-to-top sits above the WhatsApp button */
.whatsapp-float ~ .back-to-top { bottom: 92px; right: 27px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-4px); }

.cookie-notice {
    position: fixed; left: 24px; bottom: 24px; z-index: 1045; max-width: 420px;
    display: flex; gap: 16px; align-items: center; padding: 1rem 1.2rem; border-radius: 16px;
    background: var(--hz-navy-900); color: #d6defa; box-shadow: 0 20px 50px -10px rgba(0,0,0,.5); font-size: .9rem;
    animation: cardIn .6s var(--hz-ease) both;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice a { color: var(--hz-cyan); }
.cookie-notice .btn { flex: 0 0 auto; padding: .45rem 1rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--hz-ease), transform 1s var(--hz-ease); }
.reveal.reveal-left { transform: translateX(-50px); }
.reveal.reveal-right { transform: translateX(50px); }
.reveal.reveal-zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- SVG illustration animations ---------- */
.illustration .a-float  { animation: svgFloat 7s ease-in-out infinite; }
.illustration .a-float2 { animation: svgFloat 6s ease-in-out infinite -2s; }
.illustration .a-float3 { animation: svgFloat 8s ease-in-out infinite -4s; }
.illustration .a-blink  { animation: svgBlink 1.6s steps(2) infinite; }
.illustration .a-blink2 { animation: svgBlink 2.2s steps(2) infinite -.7s; }
.illustration .a-dash   { stroke-dasharray: 8 8; animation: svgDash 1.4s linear infinite; }
.illustration path.a-dash[stroke-width="4"] { stroke-dasharray: 600; stroke-dashoffset: 600; animation: svgDraw 3s var(--hz-ease) forwards infinite alternate; }
.illustration .a-pulse  { transform-box: fill-box; transform-origin: center; animation: svgPulse 2.4s ease-in-out infinite; }
.illustration .a-spin   { animation: svgSpin 10s linear infinite; }
.illustration .a-spin-rev { animation: svgSpin 8s linear infinite reverse; }
.illustration .a-spin-slow { transform-box: fill-box; transform-origin: center; animation: svgSpin 30s linear infinite; }
.illustration g.a-spin-slow[style] { transform-box: view-box; }
.illustration .a-ping   { transform-box: fill-box; transform-origin: center; animation: svgPing 2.6s ease-out infinite; }
.illustration .a-grow rect { transform-box: fill-box; transform-origin: bottom; animation: svgGrow 2.4s var(--hz-ease) both; }
.illustration .a-grow rect:nth-child(2) { animation-delay: .1s; } .illustration .a-grow rect:nth-child(3) { animation-delay: .2s; }
.illustration .a-grow rect:nth-child(4) { animation-delay: .3s; } .illustration .a-grow rect:nth-child(5) { animation-delay: .4s; } .illustration .a-grow rect:nth-child(6) { animation-delay: .5s; }
.illustration .a-blink-eye { transform-box: fill-box; transform-origin: center; animation: svgEye 4s infinite; }
@keyframes svgFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes svgBlink { 0% { opacity: 1; } 100% { opacity: .2; } }
@keyframes svgDash { to { stroke-dashoffset: -32; } }
@keyframes svgDraw { to { stroke-dashoffset: 0; } }
@keyframes svgPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes svgSpin { to { transform: rotate(360deg); } }
@keyframes svgPing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes svgGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes svgEye { 0%,92%,100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }

/* ---------- Prose (privacy etc.) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.prose p, .prose li { color: var(--hz-muted); line-height: 1.75; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .section { padding: 80px 0; }
    .hero .carousel-item { padding: 50px 0 190px; min-height: auto; }
    .hero-figure { margin-top: 2.5rem; max-width: 520px; margin-inline: auto; }
    .page-hero { padding: 80px 0 100px; }
    .page-hero .illustration { margin: 2.5rem auto 0; }
    .process-line { display: none; }
    .sticky-aside { position: static; }
    .cta-inner { padding: 2.4rem 1.8rem; }
    .scroll-hint { display: none; }
}
@media (max-width: 575.98px) {
    .hero-arrows { display: none; }
    .contact-card { padding: 1.6rem; }
    .cookie-notice { left: 12px; right: 12px; bottom: 12px; max-width: none; }
    .back-to-top { right: 14px; bottom: 14px; }
    .whatsapp-float { right: 14px; bottom: 14px; padding: 0; width: 54px; height: 54px; min-width: 0; }
    .whatsapp-float-label { display: none; }
    .whatsapp-float ~ .back-to-top { right: 16px; bottom: 80px; }
    .float-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Pricing: "Get a quote" in place of a price */
.price.price-quote { font-size: 2.2rem; padding-top: .4rem; }
.price-card .project-tile i, .project-tile.d-flex i { flex: 0 0 auto; }
.price-card .plan-badge { position: static; align-self: flex-start; margin-bottom: .9rem; }

/* ---------- Photos (assets/img/photos) ---------- */
.photo-frame { position: relative; margin: 0; border-radius: var(--hz-radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--hz-shadow-lg); background: var(--hz-navy-800); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--hz-ease); }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(109,93,252,.18), transparent 45%, rgba(10,18,48,.35)); pointer-events: none; }
.photo-frame:hover img { transform: scale(1.04); }
.photo-frame-hero { border: 2px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 10px rgba(109,93,252,.08); max-width: 560px; margin-left: auto; }
.hero .carousel-item.active .photo-frame-hero img { animation: kenBurns 9s ease-out both; }
@keyframes kenBurns { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (max-width: 991.98px) { .photo-frame-hero { margin: 2rem auto 0; } }

/* ==========================================================================
   Home hero - extra animation layer
   ========================================================================== */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .9; }
.hero .carousel { position: relative; z-index: 2; }
.hero .blob { z-index: 0; }

/* Slow-moving aurora */
.hero-aurora {
    position: absolute; inset: -20%; z-index: 0; pointer-events: none; opacity: .55;
    background:
        radial-gradient(40% 35% at 20% 30%, rgba(109,93,252,.45), transparent 70%),
        radial-gradient(35% 30% at 80% 20%, rgba(34,211,238,.35), transparent 70%),
        radial-gradient(30% 30% at 60% 85%, rgba(255,106,162,.25), transparent 70%);
    will-change: transform;
    animation: auroraShift 22s ease-in-out infinite alternate;
}
@keyframes auroraShift {
    0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
    50%  { transform: translate3d(4%,-3%,0) rotate(8deg) scale(1.08); }
    100% { transform: translate3d(-3%,3%,0) rotate(-6deg) scale(1); }
}

/* Falling light beams */
.hero-beams { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-beams span {
    position: absolute; top: -40%; width: 1px; height: 40%;
    background: linear-gradient(to bottom, transparent, rgba(34,211,238,.9), transparent);
    animation: beamFall 7s linear infinite; opacity: .6;
}
.hero-beams span:nth-child(1) { left: 12%; animation-delay: 0s; }
.hero-beams span:nth-child(2) { left: 38%; animation-delay: 2.4s; animation-duration: 9s; background: linear-gradient(to bottom, transparent, rgba(168,85,247,.9), transparent); }
.hero-beams span:nth-child(3) { left: 63%; animation-delay: 4.1s; }
.hero-beams span:nth-child(4) { left: 88%; animation-delay: 1.2s; animation-duration: 10s; background: linear-gradient(to bottom, transparent, rgba(255,106,162,.8), transparent); }
@keyframes beamFall { from { transform: translateY(0); } to { transform: translateY(400%); } }

/* Shimmering gradient text */
.hero .text-gradient {
    background-image: linear-gradient(100deg, #22d3ee 0%, #6d5dfc 30%, #a855f7 50%, #22d3ee 70%, #6d5dfc 100%);
    background-size: 220% auto;
    animation: textShimmer 6s linear infinite;
}
@keyframes textShimmer { to { background-position: -220% center; } }

/* Word-by-word headline reveal */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); opacity: 0; transition: transform .9s var(--hz-ease), opacity .9s var(--hz-ease); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
.hero .carousel-item.active .split-words .w > span { transform: none; opacity: 1; }
/* The heading itself shouldn't also slide when its words animate */
.hero .slide-anim > .split-words.is-split { opacity: 1; transform: none; }

/* Terminal-style typing line */
.hero-typer {
    display: inline-flex; align-items: center; gap: 8px; margin: -.4rem 0 1.4rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.02rem; color: #a5f3fc;
    padding: .45rem .9rem; border-radius: 10px; background: rgba(34,211,238,.06); border: 1px solid rgba(34,211,238,.18);
}
.hero-typer .prompt { color: var(--hz-green); font-weight: 700; }
.hero-typer .caret { width: 9px; height: 1.15em; background: var(--hz-cyan); animation: caretBlink 1s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }

/* Hero figure: rotating glow, 3D tilt, orbiting chips */
.hero-figure { perspective: 1200px; }
.hero-tilt { position: relative; z-index: 1; transform-style: preserve-3d; transition: transform .6s var(--hz-ease); will-change: transform; }
.hero-glow {
    position: absolute; inset: 6% 4% 6% 10%; z-index: 0; border-radius: 40px; filter: blur(50px); opacity: .55; will-change: transform;
    background: conic-gradient(from 0deg, #22d3ee, #6d5dfc, #a855f7, #ff6aa2, #22d3ee);
    animation: glowSpin 12s linear infinite;
}
@keyframes glowSpin { to { transform: rotate(360deg); } }
.hero-orbit { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.orb {
    position: absolute; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
    font-size: 1.45rem; color: #fff;
    background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.6);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 45px -12px rgba(0,0,0,.55), 0 0 30px -6px rgba(109,93,252,.55);
    opacity: 0; transform: scale(.4);
    transition: opacity .7s var(--hz-ease), transform .7s var(--hz-ease);
}
.orb i { background: var(--hz-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.orb-1 { top: 2%;  left: 4%;  }
.orb-2 { top: -4%; right: 8%; }
.orb-3 { bottom: 4%; right: -2%; }
.orb-4 { bottom: -2%; left: 14%; }
.carousel-item.active .orb { opacity: 1; transform: none; animation: orbFloat 6s ease-in-out infinite; }
.carousel-item.active .orb-1 { transition-delay: .5s; }
.carousel-item.active .orb-2 { transition-delay: .65s; animation-delay: -1.5s; }
.carousel-item.active .orb-3 { transition-delay: .8s;  animation-delay: -3s; }
.carousel-item.active .orb-4 { transition-delay: .95s; animation-delay: -4.5s; }
@keyframes orbFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.orb::after { content: ""; position: absolute; inset: -6px; border-radius: 22px; border: 1px solid rgba(34,211,238,.4); animation: orbPing 3s ease-out infinite; }
@keyframes orbPing { 0% { opacity: .8; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }

@media (prefers-reduced-motion: reduce) {
    .hero-canvas, .hero-beams, .hero-glow { display: none; }
    .split-words .w > span { transform: none; opacity: 1; }
}
@media (max-width: 991.98px) { .hero-glow { display: none; } .hero-canvas { opacity: .6; } }

.alert-hz.info { background: rgba(109,93,252,.08); color: var(--hz-text); border: 1px solid rgba(109,93,252,.2); }
.alert-hz.info > i { color: var(--hz-indigo); font-size: 1.3rem; }
