/*
Theme Name: ZALVIQ
Theme URI: https://zalviq.com
Author: ZALVIQ
Author URI: https://zalviq.com
Description: Modern multi-page premium theme for ZALVIQ — a conglomerate brand spanning Consulting, Tech, and Parfums. Official brand logos and palette built in. Fully editable from the WordPress admin: colors, homepage sections, hero photo, brands, products, clients and contact form all managed without touching code.
Version: 2.6.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zalviq
Tags: business, portfolio, one-column, two-columns, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. TOKENS
   The gold / teal / dark values are overwritten at runtime by the
   Customizer (see inc/customizer.php → zalviq_dynamic_css).
   ========================================================================== */
:root {
    /* Brand palette sampled from the official ZALVIQ logo.
       --z-gold* keep their old names so any custom CSS written against
       earlier versions still resolves after the rebrand. */
    --z-gold: #20CCC3;          /* primary accent — logo teal */
    --z-accent: #20CCC3;
    --z-gold-dark: #14837E;
    --z-gold-light: rgba(32, 204, 195, 0.15);
    --z-gold-soft: rgba(32, 204, 195, 0.30);

    --z-navy: #1B346C;          /* logo navy */
    --z-wine: #722A3E;          /* logo wine */
    --z-teal: #20CCC3;
    --z-teal-dark: #14837E;
    --z-blue: #1B346C;
    --z-blue-dark: #12244B;
    --z-dark: #0E1A2B;

    --z-hero-from: #0E1A2B;
    --z-hero-mid: #1B346C;
    --z-hero-to: #20CCC3;

    --z-text: #1D2530;
    --z-text-light: #4A5563;
    --z-text-muted: #6B7684;
    --z-bg: #F8FAFB;
    --z-bg-alt: #EEF3F5;
    --z-white: #FFFFFF;
    --z-border: rgba(14, 26, 43, 0.10);

    --z-font: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --z-radius: 16px;
    --z-radius-lg: 24px;
    --z-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --z-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --z-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.13);
    --z-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --z-transition: all 0.35s var(--z-ease);
    --z-nav-h: 76px;
    --z-topbar-h: 40px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--z-nav-h) + 20px); }

body {
    font-family: var(--z-font);
    color: var(--z-text);
    background: var(--z-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--z-transition); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }

/* Visible keyboard focus everywhere — the old theme removed outlines
   on inputs without providing a replacement. */
:focus-visible {
    outline: 2px solid var(--z-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container--narrow { max-width: 780px; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.skip-link:focus {
    position: fixed;
    top: 12px; left: 12px;
    z-index: 2000;
    width: auto; height: auto;
    clip: auto;
    background: var(--z-white);
    color: var(--z-dark);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: var(--z-shadow);
}

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--z-font);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--z-transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--z-gold);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
}
.btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--z-gold-soft);
}

.btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.28);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* On light backgrounds the outline button needs dark text. */
.section .btn-outline,
.page-hero:not(.page-hero--brand):not(.page-hero--image) .btn-outline {
    color: var(--z-text);
    border-color: var(--z-border);
}
.section .btn-outline:hover { background: var(--z-bg-alt); }

/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */
/* The whole header (utility bar + nav) is the fixed element, so the
   topbar scrolls away and the nav stays. */
.site-header-wrap {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
}

/* --- Utility bar --- */
.topbar {
    background: var(--z-dark);
    color: rgba(255, 255, 255, 0.72);
    font-size: 12.5px;
    height: var(--z-topbar-h);
    display: flex;
    align-items: center;
    transition: var(--z-transition);
    overflow: hidden;
}
.site-header-wrap.scrolled .topbar {
    height: 0;
    opacity: 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
}
.topbar-info {
    display: flex;
    gap: 26px;
    list-style: none;
    flex-wrap: wrap;
}
.topbar-info li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-info svg { color: var(--z-accent); flex-shrink: 0; }
.topbar-info a:hover { color: var(--z-accent); }

.topbar-social { display: flex; gap: 8px; }
.topbar-social .social-link {
    width: 26px; height: 26px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
}
.topbar-social .social-link svg { width: 13px; height: 13px; }
.topbar-social .social-link:hover {
    transform: none;
    color: var(--z-accent);
    border-color: var(--z-gold-soft);
}

.site-nav {
    padding: 14px 0;
    transition: var(--z-transition);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

/* Solid by default (interior pages); transparent only over the hero. */
.site-nav {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(14, 26, 43, 0.06);
}
.zalviq-hero-nav .site-nav {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.zalviq-hero-nav .site-header-wrap.scrolled .site-nav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(14, 26, 43, 0.08);
    padding: 9px 0;
}

.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* the_custom_logo() wraps the image in its own <a> — make that a flex
   item too, or the image sits on the text baseline and adds phantom space. */
.nav-logo .custom-logo-link,
.footer-logo .custom-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--z-gold), #D4AF37);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    font-family: Georgia, serif;
    flex-shrink: 0;
}

.nav-logo-text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--z-dark);
    transition: var(--z-transition);
}
.zalviq-hero-nav .site-header-wrap:not(.scrolled) .site-nav .nav-logo-text { color: #fff; }

.nav-logo .custom-logo,
.nav-logo .zalviq-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: var(--z-transition);
}
.site-header-wrap.scrolled .nav-logo .custom-logo,
.site-header-wrap.scrolled .nav-logo .zalviq-logo { height: 34px; }

/* The brand logo contains deep navy, which disappears against the dark
   hero — render it solid white there, full colour once the nav goes solid. */
.zalviq-hero-nav .site-header-wrap:not(.scrolled) .nav-logo .custom-logo,
.zalviq-hero-nav .site-header-wrap:not(.scrolled) .nav-logo .zalviq-logo {
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
    margin: 0;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--z-text-light);
    position: relative;
    padding: 4px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--z-gold);
    transition: width 0.3s var(--z-ease);
}
.nav-links a:hover::after,
.nav-links .current-menu-item > a::after { width: 100%; }
.nav-links a:hover { color: var(--z-dark); }
.nav-links .current-menu-item > a { color: var(--z-dark); font-weight: 500; }

.zalviq-hero-nav .site-header-wrap:not(.scrolled) .site-nav .nav-links a { color: rgba(255, 255, 255, 0.82); }
.zalviq-hero-nav .site-header-wrap:not(.scrolled) .site-nav .nav-links a:hover { color: #fff; }

/* The last nav item renders as a pill CTA. */
.zalviq-cta-last .nav-links > li:last-child > a,
.nav-links a.nav-cta {
    background: var(--z-gold-light);
    border: 1px solid var(--z-gold-soft);
    color: var(--z-gold-dark);
    padding: 9px 22px;
    border-radius: 999px;
    font-weight: 500;
}
.zalviq-cta-last .nav-links > li:last-child > a::after,
.nav-links a.nav-cta::after { display: none; }
.zalviq-cta-last .nav-links > li:last-child > a:hover,
.nav-links a.nav-cta:hover { background: var(--z-gold); color: #fff; }

.zalviq-cta-last.zalviq-hero-nav .site-header-wrap:not(.scrolled) .site-nav .nav-links > li:last-child > a,
.zalviq-hero-nav .site-header-wrap:not(.scrolled) .site-nav .nav-links a.nav-cta {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Dropdowns */
.nav-links .sub-menu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--z-shadow);
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--z-transition);
}
.nav-links > li { position: relative; }
.nav-links > li:hover > .sub-menu,
.nav-links > li:focus-within > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-links .sub-menu a {
    display: block;
    padding: 9px 14px;
    border-radius: 8px;
    color: var(--z-text) !important;
    font-size: 13px;
}
.nav-links .sub-menu a::after { display: none; }
.nav-links .sub-menu a:hover { background: var(--z-bg-alt); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--z-dark);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--z-transition);
}
.zalviq-hero-nav .site-header-wrap:not(.scrolled) .site-nav .nav-toggle span { background: #fff; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   5. HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--z-hero-from) 0%, var(--z-hero-mid) 45%, var(--z-hero-to) 100%);
    padding: 140px 0 100px;
}

/* Photographic hero — background image set inline from the Customizer. */
.hero--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        var(--z-hero-from) 0%,
        rgba(27, 52, 108, 0.85) 45%,
        rgba(14, 26, 43, 0.55) 100%);
}

.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; }

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.14;
    filter: blur(20px);
    animation: floatShape 9s ease-in-out infinite;
}
.hero-shape-1 { width: 520px; height: 520px; background: var(--z-gold); top: -120px; right: -110px; }
.hero-shape-2 { width: 420px; height: 420px; background: var(--z-teal); bottom: -160px; left: -110px; animation-delay: 2s; }
.hero-shape-3 { width: 260px; height: 260px; background: var(--z-blue); top: 42%; left: 52%; animation-delay: 4s; }

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(24px, -24px) scale(1.06); }
}

/* Subtle noise so the large gradient doesn't band on wide screens. */
.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 2; max-width: 660px; }

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    padding: 7px 20px;
    border-radius: 999px;
    border: 1px solid var(--z-gold-soft);
    margin-bottom: 26px;
}
.hero-badge span {
    font-size: 11px;
    color: #E8D5A8;
    letter-spacing: 3px;
    font-weight: 500;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 700;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}
.hero h1 .accent {
    color: var(--z-gold);
    display: block;
    min-height: 1.08em;
}

.hero-text {
    font-size: clamp(15px, 2vw, 17px);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2.4s infinite;
}
.hero-scroll-circle {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid var(--z-gold-soft);
    display: grid;
    place-items: center;
    color: var(--z-gold);
}
.hero-scroll-circle:hover { background: var(--z-gold-soft); }
.hero-scroll-circle svg { width: 20px; height: 20px; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================================================
   6. PAGE HERO (interior pages)
   ========================================================================== */
.page-hero {
    position: relative;
    padding: calc(var(--z-nav-h) + 70px) 0 60px;
    background: var(--z-bg-alt);
    background-size: cover;
    background-position: center;
}
.page-hero--image, .page-hero--brand { color: #fff; }
.page-hero--image .page-hero-overlay,
.page-hero--brand .page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.68) 100%);
}
.page-hero-inner { position: relative; z-index: 2; }

.page-hero-kicker {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--z-gold);
    margin-bottom: 8px;
    font-weight: 600;
}
.page-hero-title {
    font-size: clamp(28px, 4.5vw, 44px);
    color: var(--z-dark);
    margin-bottom: 10px;
}
.page-hero--image .page-hero-title,
.page-hero--brand .page-hero-title { color: #fff; }

.page-hero-sub {
    font-size: 16px;
    color: var(--z-text-light);
    max-width: 640px;
}
.page-hero--image .page-hero-sub,
.page-hero--brand .page-hero-sub { color: rgba(255, 255, 255, 0.82); }
.page-hero .btn { margin-top: 22px; }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--z-text-muted);
    margin-bottom: 14px;
}
.breadcrumbs a { color: var(--z-text-muted); }
.breadcrumbs a:hover { color: var(--z-gold); }
.page-hero--image .breadcrumbs,
.page-hero--brand .breadcrumbs { color: rgba(255, 255, 255, 0.6); }
.page-hero--image .breadcrumbs a,
.page-hero--brand .breadcrumbs a { color: rgba(255, 255, 255, 0.7); }

/* ==========================================================================
   7. SECTIONS
   ========================================================================== */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section--alt { background: var(--z-bg-alt); }
.brands { background: var(--z-bg); }
.products, .clients, .contact { background: var(--z-white); }
.about { background: var(--z-bg-alt); }
.blog-teaser { background: var(--z-bg); }

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--z-gold);
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.section-title {
    font-size: clamp(26px, 4vw, 40px);
    color: var(--z-dark);
    text-align: center;
    margin-bottom: 52px;
}

/* ==========================================================================
   8. BRAND CARDS
   ========================================================================== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

/* A single card in an auto-fit grid stretches to full width and looks
   stranded. Cap the width and centre it when only one or two exist. */
.brands-grid:has(> .brand-card:only-child),
.products-grid:has(> .product-card:only-child),
.clients-grid:has(> .client-item:only-child) {
    max-width: 420px;
    margin-inline: auto;
}
.brands-grid:has(> .brand-card:nth-child(2):last-child),
.products-grid:has(> .product-card:nth-child(2):last-child) {
    max-width: 760px;
    margin-inline: auto;
}
.clients-grid:has(> .client-item:nth-child(2):last-child),
.clients-grid:has(> .client-item:nth-child(3):last-child) {
    max-width: 820px;
    margin-inline: auto;
}

.brand-card {
    position: relative;
    display: block;
    border-radius: var(--z-radius-lg);
    overflow: hidden;
    min-height: 300px;
    isolation: isolate;
    transition: var(--z-transition);
}
.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--z-shadow-lg);
}

.brand-card-bg { position: absolute; inset: 0; transition: transform 0.7s var(--z-ease); }
.brand-card:hover .brand-card-bg { transform: scale(1.06); }

.brand-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.brand-card-icon {
    position: absolute;
    top: 24px; right: 24px;
    width: 62px; height: 62px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    transition: var(--z-transition);
}
.brand-card:hover .brand-card-icon {
    background: rgba(255, 255, 255, 0.24);
    transform: rotate(6deg) scale(1.05);
}

.brand-card-content {
    position: absolute;
    bottom: 26px; left: 26px; right: 26px;
    z-index: 2;
}
.brand-card-number {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.brand-card-title { font-size: 23px; color: #fff; margin-bottom: 8px; }
.brand-card-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}
.brand-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 14px;
    transition: var(--z-transition);
}
.brand-card:hover .brand-card-arrow { color: #fff; gap: 11px; }

/* ==========================================================================
   9. PRODUCT CARDS
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    display: block;
    border-radius: var(--z-radius);
    overflow: hidden;
    border: 1px solid var(--z-border);
    background: var(--z-white);
    transition: var(--z-transition);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--z-shadow);
    border-color: var(--z-gold-soft);
}

.product-card-visual {
    height: 170px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.product-card-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.14) 0%, transparent 55%);
}
.product-card-img { width: 100%; height: 100%; object-fit: cover; }
/* "Fit" mode: whole image visible, centred on the gradient, small breathing room. */
.product-card-img--contain { object-fit: contain; padding: 16px; }

.product-card-body { padding: 22px; }
.product-card-name { font-size: 17px; color: var(--z-dark); margin-bottom: 5px; }
.product-card-tagline { font-size: 13.5px; color: var(--z-text-muted); margin-bottom: 14px; line-height: 1.5; }

.product-card-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.badge-live { background: rgba(46, 196, 182, 0.12); color: var(--z-teal-dark); }
.badge-store { background: rgba(67, 97, 238, 0.12); color: var(--z-blue-dark); }
.badge-gold { background: var(--z-gold-light); color: var(--z-gold-dark); }
.badge-muted { background: rgba(0, 0, 0, 0.06); color: var(--z-text-muted); }

/* ==========================================================================
   10. ABOUT
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.about-visual-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--z-radius-lg);
    background: linear-gradient(135deg, var(--z-hero-mid) 0%, var(--z-teal) 100%);
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    box-shadow: var(--z-shadow);
}
/* Only the uploaded About photo fills the box; the mark logo below is centred. */
.about-visual-box > img { width: 100%; height: 100%; object-fit: cover; }

.about-visual-mark { text-align: center; }
/* Placeholder ZV brand mark on a frosted tile. */
.about-visual-mark img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.about-visual-mark span {
    display: grid;
    place-items: center;
    width: 84px; height: 84px;
    margin: 0 auto;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-family: Georgia, serif;
    font-size: 34px;
    color: #fff;
    font-weight: 600;
}

.about-text h2 { font-size: clamp(24px, 3.4vw, 32px); color: var(--z-dark); margin-bottom: 18px; }
.about-body p { font-size: 15.5px; color: var(--z-text-light); line-height: 1.85; margin-bottom: 18px; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 28px;
}
.about-stat {
    padding: 20px 18px;
    background: var(--z-white);
    border-radius: 14px;
    border: 1px solid var(--z-border);
}
.about-stat-value { font-size: 27px; font-weight: 700; color: var(--z-dark); letter-spacing: -0.02em; }
.about-stat-label { font-size: 12px; color: var(--z-text-muted); margin-top: 3px; }

/* ==========================================================================
   11. CLIENTS
   ========================================================================== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}

.client-item {
    display: block;
    text-align: center;
    padding: 34px 20px;
    border-radius: var(--z-radius);
    border: 1px solid var(--z-border);
    background: var(--z-bg);
    transition: var(--z-transition);
}
.client-item:hover {
    border-color: var(--z-gold-soft);
    transform: translateY(-4px);
    box-shadow: var(--z-shadow-sm);
}
.client-icon {
    display: grid;
    place-items: center;
    width: 50px; height: 50px;
    margin: 0 auto 14px;
    background: var(--z-gold-light);
    border-radius: 14px;
    color: var(--z-gold);
}

/* Real client logos: normalised to one optical size and desaturated at
   rest so a wall of mismatched brand colours still reads as one row. */
.client-logo {
    display: grid;
    place-items: center;
    height: 56px;
    margin-bottom: 16px;
}
.client-logo img {
    max-height: 56px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: var(--z-transition);
}
.client-item:hover .client-logo img {
    filter: grayscale(0);
    opacity: 1;
}
.client-name { font-size: 15px; font-weight: 600; color: var(--z-dark); margin-bottom: 4px; }
.client-desc { font-size: 12.5px; color: var(--z-text-muted); line-height: 1.45; }

/* ==========================================================================
   11b. TESTIMONIALS
   ========================================================================== */
.testimonials { background: var(--z-bg-alt); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.testimonials-grid:has(> .testimonial-card:only-child) { max-width: 640px; margin-inline: auto; }
.testimonials-grid:has(> .testimonial-card:nth-child(2):last-child) { max-width: 900px; margin-inline: auto; }

.testimonial-card {
    position: relative;
    background: var(--z-white);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-lg);
    padding: 34px 30px 28px;
    box-shadow: var(--z-shadow-sm);
    transition: var(--z-transition);
    overflow: hidden;
    margin: 0;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--z-shadow);
    border-color: var(--z-gold-soft);
}

.testimonial-quote-mark {
    position: absolute;
    top: 6px; right: 22px;
    font-family: Georgia, serif;
    font-size: 96px;
    line-height: 1;
    color: var(--z-gold-light);
    pointer-events: none;
    user-select: none;
}

.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars .star { color: rgba(0, 0, 0, 0.12); }
.testimonial-stars .star.is-on { color: var(--z-gold); }

.testimonial-quote {
    position: relative;
    z-index: 1;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--z-text-light);
    margin: 0 0 24px;
}
.testimonial-quote p { margin: 0 0 0.7em; }
.testimonial-quote p:last-child { margin-bottom: 0; }

.testimonial-author { display: flex; align-items: center; gap: 13px; }
.testimonial-avatar {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-avatar--initial {
    background: linear-gradient(135deg, var(--z-navy), var(--z-teal));
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    font-family: Georgia, serif;
}
.testimonial-meta { display: flex; flex-direction: column; }
.testimonial-name { font-size: 14.5px; font-weight: 600; color: var(--z-dark); }
.testimonial-role { font-size: 12.5px; color: var(--z-text-muted); }

/* FX: subtle glow + accent quote mark */
.zalviq-fx .testimonial-card:hover {
    box-shadow: var(--z-shadow), 0 0 0 1px var(--z-gold-soft), 0 0 24px rgba(32, 204, 195, 0.20);
}
.zalviq-fx .testimonial-card:hover .testimonial-quote-mark { color: var(--z-gold-soft); }

/* ==========================================================================
   12. BLOG / POST CARDS
   ========================================================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
}

.post-card {
    background: var(--z-white);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    overflow: hidden;
    transition: var(--z-transition);
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--z-shadow);
    border-color: var(--z-gold-soft);
}
.post-card-thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--z-ease); }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }

.post-card-body { padding: 24px; }
.post-card-date { font-size: 12px; color: var(--z-text-muted); margin-bottom: 8px; }
.post-card-title { font-size: 18px; color: var(--z-dark); margin-bottom: 10px; line-height: 1.35; }
.post-card-excerpt { font-size: 14px; color: var(--z-text-light); line-height: 1.65; }
.post-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--z-gold-dark);
    font-weight: 500;
}
.post-card:hover .post-card-more { gap: 10px; }

.blog-layout { display: grid; gap: 48px; }
.blog-layout--narrow { max-width: 780px; }
.blog-layout--sidebar { grid-template-columns: minmax(0, 1fr) 300px; }

.blog-sidebar .widget { margin-bottom: 32px; }
.widget-title { font-size: 15px; color: var(--z-dark); margin-bottom: 14px; }
.blog-sidebar ul { list-style: none; }
.blog-sidebar li { margin-bottom: 9px; font-size: 14px; }
.blog-sidebar a { color: var(--z-text-light); }
.blog-sidebar a:hover { color: var(--z-gold); }

/* Long-form content */
.entry-content { font-size: 16.5px; color: var(--z-text-light); line-height: 1.85; }
.entry-content > * + * { margin-top: 1.3em; }
.entry-content h2 { font-size: 27px; color: var(--z-dark); margin-top: 1.8em; }
.entry-content h3 { font-size: 21px; color: var(--z-dark); margin-top: 1.6em; }
.entry-content a { color: var(--z-gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--z-gold); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: 0.5em; }
.entry-content img, .entry-content figure { border-radius: var(--z-radius); }
.entry-content blockquote {
    border-left: 3px solid var(--z-gold);
    padding: 4px 0 4px 22px;
    font-style: italic;
    color: var(--z-text);
}
.entry-content code {
    background: var(--z-bg-alt);
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 0.9em;
}
.entry-content pre {
    background: var(--z-dark);
    color: #EDEDE8;
    padding: 20px;
    border-radius: var(--z-radius);
    overflow-x: auto;
}
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--z-border); padding: 10px 14px; text-align: left; }

.single-feature { margin-bottom: 36px; border-radius: var(--z-radius-lg); overflow: hidden; }

.entry-meta {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--z-border);
    font-size: 13px;
    color: var(--z-text-muted);
}
.entry-meta a { color: var(--z-gold-dark); }

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--z-border);
    font-size: 14px;
}
.post-nav a { color: var(--z-text-light); }
.post-nav a:hover { color: var(--z-gold); }

.zalviq-pagination { margin-top: 52px; text-align: center; }
.zalviq-pagination .page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 40px; height: 40px;
    padding: 0 12px;
    margin: 0 4px;
    border-radius: 10px;
    border: 1px solid var(--z-border);
    font-size: 14px;
    color: var(--z-text-light);
}
.zalviq-pagination .page-numbers:hover { border-color: var(--z-gold); color: var(--z-gold-dark); }
.zalviq-pagination .page-numbers.current { background: var(--z-gold); border-color: var(--z-gold); color: #fff; }

.search-results { display: grid; gap: 28px; }
.search-result { padding-bottom: 24px; border-bottom: 1px solid var(--z-border); }
.search-result-type {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--z-gold);
    margin-bottom: 6px;
}
.search-result-title { font-size: 20px; margin-bottom: 8px; }
.search-result-title a { color: var(--z-dark); }
.search-result-title a:hover { color: var(--z-gold-dark); }
.search-result-excerpt { font-size: 14.5px; color: var(--z-text-light); }

.search-form-wrap { margin-bottom: 36px; }
.search-form { display: flex; gap: 10px; }
.search-form label { flex: 1; }
.search-form input[type="search"] {
    width: 100%;
    padding: 13px 18px;
    border: 1px solid var(--z-border);
    border-radius: 999px;
    font-family: var(--z-font);
    font-size: 14.5px;
    background: var(--z-bg);
    outline: none;
}
.search-form input[type="search"]:focus {
    border-color: var(--z-gold);
    box-shadow: 0 0 0 3px var(--z-gold-light);
}
.search-form input[type="submit"] {
    padding: 13px 26px;
    border: none;
    border-radius: 999px;
    background: var(--z-gold);
    color: #fff;
    font-family: var(--z-font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.no-results { text-align: center; color: var(--z-text-muted); padding: 40px 0; }

/* ==========================================================================
   13. CTA BANNER
   ========================================================================== */
.cta-banner { position: relative; padding: clamp(60px, 8vw, 90px) 0; overflow: hidden; }
.cta-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--z-hero-from) 0%, var(--z-hero-mid) 50%, var(--z-hero-to) 100%);
}
.cta-banner-content { position: relative; z-index: 2; text-align: center; }
.cta-banner-title { font-size: clamp(24px, 3.6vw, 36px); color: #fff; margin-bottom: 14px; }
.cta-banner-text {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto 34px;
    max-width: 540px;
    line-height: 1.65;
}
.cta-banner-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   14. CONTACT + FORMS
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 44px;
    align-items: start;
}
.contact-intro { margin-bottom: 40px; }

.contact-form-wrap {
    background: var(--z-white);
    border-radius: var(--z-radius-lg);
    padding: 34px;
    border: 1px solid var(--z-border);
    box-shadow: var(--z-shadow-sm);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--z-text);
    margin-bottom: 7px;
}
.form-group .req { color: #C0392B; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--z-border);
    border-radius: 11px;
    font-family: var(--z-font);
    font-size: 14.5px;
    color: var(--z-text);
    background: var(--z-bg);
    transition: var(--z-transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--z-gold);
    box-shadow: 0 0 0 3px var(--z-gold-light);
    background: var(--z-white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; }

/* Spam honeypot — hidden from humans, visible to bots. */
.honeypot {
    position: absolute !important;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

.form-alert {
    padding: 14px 18px;
    border-radius: 11px;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.55;
}
.form-alert--success { background: rgba(46, 196, 182, 0.12); color: var(--z-teal-dark); border: 1px solid rgba(46, 196, 182, 0.3); }
.form-alert--error { background: rgba(192, 57, 43, 0.08); color: #A93226; border: 1px solid rgba(192, 57, 43, 0.25); }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--z-white);
    border-radius: 14px;
    border: 1px solid var(--z-border);
}
.contact-info-icon {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--z-gold-light);
    color: var(--z-gold);
}
.contact-info-label { font-size: 12px; color: var(--z-text-muted); margin-bottom: 2px; }
.contact-info-value { font-size: 14.5px; font-weight: 500; color: var(--z-dark); word-break: break-word; }
.contact-info-value a:hover { color: var(--z-gold-dark); }

.contact-social {
    padding: 20px;
    background: var(--z-white);
    border-radius: 14px;
    border: 1px solid var(--z-border);
}
.contact-social-label { font-size: 12px; color: var(--z-text-muted); margin-bottom: 12px; }
.contact-social .social-links { justify-content: flex-start; }

.contact-map { margin-top: 48px; border-radius: var(--z-radius-lg); overflow: hidden; border: 1px solid var(--z-border); }
.contact-map iframe { display: block; }

.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--z-bg);
    border: 1px solid var(--z-border);
    color: var(--z-text-light);
    transition: var(--z-transition);
}
.social-link:hover {
    transform: translateY(-3px);
    color: var(--z-gold);
    border-color: var(--z-gold-soft);
    box-shadow: var(--z-shadow-sm);
}
.footer-about .social-links { margin-top: 20px; }
.footer-about .social-link {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.65);
}
.footer-about .social-link:hover { color: var(--z-gold); border-color: var(--z-gold-soft); }

/* ==========================================================================
   15. 404
   ========================================================================== */
.error-404 { text-align: center; padding-top: calc(var(--z-nav-h) + 80px); }
.error-404-code {
    font-size: clamp(80px, 14vw, 130px);
    font-weight: 800;
    color: var(--z-gold);
    line-height: 1;
    letter-spacing: -0.04em;
}
.error-404-title { font-size: 26px; color: var(--z-dark); margin: 10px 0 12px; }
.error-404-text { font-size: 15.5px; color: var(--z-text-muted); margin-bottom: 32px; }
.error-404 .search-form { max-width: 460px; margin: 0 auto; }

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.site-footer { background: var(--z-dark); color: rgba(255, 255, 255, 0.6); }
.footer-main { padding: 68px 0 44px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
    gap: 44px;
}

/* The brand logo is built from deep navy and wine, which measure below
   1.5:1 against the dark footer — over half the mark would disappear.
   Sitting it on a light plate keeps the real brand colours (as proven on
   the white nav) instead of flattening the gradient to a white knockout. */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    background: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}
.footer-logo .custom-logo,
.footer-logo .zalviq-logo {
    height: 32px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}
.footer-logo-icon {
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--z-gold), #D4AF37);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    font-family: Georgia, serif;
}
.footer-logo-text-large {
    font-size: 14px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
}

.footer-about-text { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); line-height: 1.75; margin-bottom: 12px; }
.footer-tagline { font-size: 12.5px; color: var(--z-gold); font-weight: 500; letter-spacing: 1px; font-style: italic; }

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 20px;
    letter-spacing: 0.4px;
}
.footer-links, .footer-contact-list { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }
.footer-links a:hover { color: var(--z-gold); padding-left: 4px; }

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.55);
}
.footer-contact-list svg { color: var(--z-gold); flex-shrink: 0; }
.footer-contact-list a:hover { color: var(--z-gold); }

.site-footer .widget ul { list-style: none; }
.site-footer .widget li { margin-bottom: 10px; font-size: 13.5px; }
.site-footer .widget a { color: rgba(255, 255, 255, 0.55); }
.site-footer .widget a:hover { color: var(--z-gold); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; }
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
/* Bumped from 0.25 → 0.55 alpha; the old value failed WCAG AA. */
.footer-copy { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }

.footer-bottom-menu { display: flex; gap: 22px; list-style: none; }
.footer-bottom-menu a { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }
.footer-bottom-menu a:hover { color: var(--z-gold); }

/* ==========================================================================
   17. BACK TO TOP
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--z-gold);
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--z-transition);
    box-shadow: 0 6px 18px var(--z-gold-soft);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { filter: brightness(1.08); transform: translateY(-3px); }

/* ==========================================================================
   18. SCROLL REVEAL
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--z-ease), transform 0.7s var(--z-ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* Richer reveal variants (opt-in via a class on the element). */
.zalviq-fx .reveal { transform: translateY(34px) scale(0.985); filter: blur(2px); }
.zalviq-fx .reveal.visible { transform: none; filter: none; }

/* ==========================================================================
   18b. FUTURISTIC EFFECTS (scoped to .zalviq-fx, gated by the Customizer)
   Everything here is neutralised by the prefers-reduced-motion block below.
   ========================================================================== */

/* --- Hero: drifting tech grid + aurora shimmer + scan sweep --- */
.zalviq-fx .hero::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(32, 204, 195, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 204, 195, 0.08) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
    animation: zGridDrift 22s linear infinite;
}
.zalviq-fx .hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 45%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(32, 204, 195, 0.10), transparent);
    mix-blend-mode: screen;
    animation: zScan 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes zGridDrift {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 46px 46px, 46px 46px; }
}
@keyframes zScan {
    0%   { transform: translateY(-100%); opacity: 0; }
    12%  { opacity: 1; }
    50%  { transform: translateY(230%); opacity: 0; }
    100% { transform: translateY(230%); opacity: 0; }
}

/* Particle canvas + cursor spotlight (created by main.js) */
.zalviq-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.zalviq-hero-spotlight {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s var(--z-ease);
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 40%),
        rgba(32, 204, 195, 0.16), transparent 70%);
    mix-blend-mode: screen;
}
.zalviq-hero-spotlight.active { opacity: 1; }
.hero-content { z-index: 3; }
.hero-scroll  { z-index: 3; }

/* Slow animated hue drift on the hero gradient itself */
.zalviq-fx .hero:not(.hero--image) {
    background-size: 160% 160%;
    animation: zAurora 18s ease-in-out infinite;
}
@keyframes zAurora {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* --- Animated gradient shimmer on section titles + hero accent glow ---
   Wrapped in @supports so browsers that can't clip text to a gradient keep
   a solid, readable title instead of transparent (invisible) text. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .zalviq-fx .section-title {
        background: linear-gradient(100deg, var(--z-dark) 0%, var(--z-dark) 40%, var(--z-teal) 50%, var(--z-dark) 60%, var(--z-dark) 100%);
        background-size: 220% auto;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        animation: zShimmer 7s linear infinite;
    }
}
@keyframes zShimmer {
    to { background-position: -220% center; }
}
.zalviq-fx .hero h1 .accent {
    text-shadow: 0 0 22px rgba(32, 204, 195, 0.55), 0 0 4px rgba(32, 204, 195, 0.4);
}

/* --- Neon sweep + glow on the primary button --- */
.zalviq-fx .btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 0;
}
.zalviq-fx .btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-18deg);
    transition: left 0.6s var(--z-ease);
}
.zalviq-fx .btn-primary:hover::before { left: 130%; }
.zalviq-fx .btn-primary:hover {
    box-shadow: 0 0 0 1px var(--z-gold-soft), 0 10px 34px var(--z-gold-soft), 0 0 22px var(--z-gold-soft);
}

/* --- Cards: glow ring + shine sweep + tilt base --- */
.zalviq-fx .brand-card,
.zalviq-fx .product-card,
.zalviq-fx .client-item {
    transform-style: preserve-3d;
    will-change: transform;
}
.zalviq-fx .brand-card::after,
.zalviq-fx .product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
    background-size: 260% 100%;
    background-repeat: no-repeat;
    background-position: -160% 0;
    transition: opacity 0.4s var(--z-ease);
}
.zalviq-fx .brand-card:hover::after,
.zalviq-fx .product-card:hover::after {
    opacity: 1;
    animation: zShine 0.9s var(--z-ease) forwards;
}
@keyframes zShine {
    from { background-position: -160% 0; }
    to   { background-position: 160% 0; }
}
.zalviq-fx .brand-card:hover {
    box-shadow: var(--z-shadow-lg), 0 0 0 1px var(--z-gold-soft), 0 0 34px rgba(32, 204, 195, 0.28);
}
.zalviq-fx .product-card:hover,
.zalviq-fx .client-item:hover {
    box-shadow: var(--z-shadow), 0 0 0 1px var(--z-gold-soft), 0 0 24px rgba(32, 204, 195, 0.22);
}
.zalviq-fx .brand-card-icon,
.zalviq-fx .client-icon,
.zalviq-fx .contact-info-icon {
    box-shadow: 0 0 0 1px rgba(32, 204, 195, 0.18), 0 0 18px rgba(32, 204, 195, 0.14);
}

/* The glow spec the JS uses for the tilt highlight */
.zalviq-tilting { transition: transform 0.12s ease-out, box-shadow 0.3s var(--z-ease) !important; }
.zalviq-fx .brand-card,
.zalviq-fx .product-card { transition: transform 0.5s var(--z-ease), box-shadow 0.5s var(--z-ease); }

/* --- Nav CTA + social links: neon pulse on hover --- */
.zalviq-fx .nav-links a.nav-cta:hover,
.zalviq-fx.zalviq-cta-last .nav-links > li:last-child > a:hover {
    box-shadow: 0 0 0 1px var(--z-gold-soft), 0 0 18px var(--z-gold-soft);
}
.zalviq-fx .social-link:hover {
    box-shadow: 0 0 0 1px var(--z-gold-soft), 0 0 16px var(--z-gold-soft);
}

/* --- Animated gradient hairline under the sticky nav when scrolled --- */
.zalviq-fx .site-header-wrap.scrolled .site-nav::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--z-teal), var(--z-navy), var(--z-wine), transparent);
    background-size: 200% 100%;
    animation: zHairline 6s linear infinite;
}
@keyframes zHairline {
    to { background-position: -200% 0; }
}

/* Back-to-top gentle pulse */
.zalviq-fx .back-to-top.visible {
    animation: zPulse 2.6s ease-in-out infinite;
}
@keyframes zPulse {
    0%, 100% { box-shadow: 0 6px 18px var(--z-gold-soft); }
    50%      { box-shadow: 0 6px 26px var(--z-gold-soft), 0 0 22px var(--z-gold-soft); }
}

/* Honour the OS "reduce motion" setting — the old theme animated
   unconditionally, which can trigger motion sickness. This block also
   switches OFF every futuristic effect above. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; filter: none; }
    .zalviq-fx .reveal { transform: none; filter: none; }
    .hero-shape { animation: none; }

    /* Kill futuristic motion but keep the layout legible. */
    .zalviq-fx .hero::before,
    .zalviq-fx .hero::after,
    .zalviq-hero-particles,
    .zalviq-hero-spotlight { display: none !important; }
    .zalviq-fx .hero:not(.hero--image) { animation: none; background-size: cover; }
    .zalviq-fx .section-title {
        animation: none;
        -webkit-text-fill-color: var(--z-dark);
        color: var(--z-dark);
        background: none;
    }
    .zalviq-fx .site-header-wrap.scrolled .site-nav::after { animation: none; }
    .zalviq-fx .back-to-top.visible { animation: none; }
}

/* ==========================================================================
   19. ADMIN-ONLY HINTS
   ========================================================================== */
.zalviq-admin-hint {
    text-align: center;
    padding: 42px 24px;
    border: 2px dashed var(--z-gold-soft);
    border-radius: var(--z-radius);
    background: var(--z-gold-light);
    color: var(--z-text-light);
}
.zalviq-admin-hint p { font-size: 15px; margin-bottom: 10px; }
.zalviq-admin-hint a { color: var(--z-gold-dark); font-weight: 600; }
.zalviq-admin-hint small { display: block; margin-top: 10px; font-size: 11.5px; color: var(--z-text-muted); }

/* ==========================================================================
   20. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .blog-layout--sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 900px) {
    /* The utility bar's contact details are already in the footer and on
       the contact page — hiding it reclaims 40px of vertical space. */
    .topbar { display: none; }
}

@media (max-width: 768px) {
    :root { --z-nav-h: 66px; }

    .nav-toggle { display: block; }
    .nav-logo .custom-logo,
    .nav-logo .zalviq-logo { height: 32px; max-width: 140px; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 12px; right: 12px;
        background: rgba(255, 255, 255, 0.985);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 4px;
        border-radius: 16px;
        box-shadow: var(--z-shadow);
    }
    .nav-links.active { display: flex; }
    .nav-links a {
        color: var(--z-text) !important;
        font-size: 15px;
        padding: 11px 12px;
        border-radius: 10px;
    }
    .nav-links a::after { display: none; }
    .nav-links a:hover { background: var(--z-bg-alt); }
    .zalviq-cta-last .nav-links > li:last-child > a,
    .nav-links a.nav-cta {
        background: var(--z-gold) !important;
        color: #fff !important;
        text-align: center;
        margin-top: 6px;
    }
    .nav-links .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 12px;
        background: transparent;
    }

    .hero { min-height: 88vh; padding: 120px 0 90px; }
    .hero-cta-group { flex-direction: column; align-items: stretch; }
    .hero-cta-group .btn { width: 100%; }
    .hero-scroll { display: none; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .post-nav { flex-direction: column; gap: 12px; }
    .back-to-top { bottom: 18px; right: 18px; }
}
