/* ==========================================================================
   Mascot Technology Services — global design system
   Blue / Gold / Black. One stylesheet, cached across the whole storefront.

   Legacy alias note: earlier templates were written against --teal* tokens.
   Those names are kept and pointed at the brand blue so every page that was
   never touched still renders in brand colours.
   ========================================================================== */

:root {
    /* ── Brand ─────────────────────────────────────────────── */
    --blue:          #1E56E3;
    --blue-dark:     #1440B4;
    --blue-deep:     #0A2A6B;
    --blue-light:    #5B8BFF;
    --blue-glow:     rgba(30, 86, 227, 0.45);
    --blue-subtle:   rgba(30, 86, 227, 0.07);
    --blue-border:   rgba(30, 86, 227, 0.20);

    --gold:          #E8B93B;
    --gold-deep:     #C8961C;
    --gold-light:    #F7D97A;
    --gold-subtle:   rgba(232, 185, 59, 0.10);
    --gold-border:   rgba(232, 185, 59, 0.32);

    --ink:           #070B14;
    --ink-2:         #0E1526;
    --ink-3:         #172038;

    /* ── Surfaces ──────────────────────────────────────────── */
    --bg:            #F4F6FB;
    --surface:       #FFFFFF;
    --surface-2:     #FFFFFF;
    --surface-3:     #EEF2FA;
    --surface-nav:   rgba(7, 11, 20, 0.88);
    --border:        #E2E7F2;
    --border-strong: #CBD4E8;

    --text:          #0B1224;
    --text-light:    #48546E;
    --muted:         #7C8AA5;
    --on-dark:       #EDF1FA;
    --on-dark-muted: #9AA8C4;

    --success:       #17A673;
    --danger:        #E2483C;
    --warning:       #E8B93B;
    --info:          #1E56E3;

    /* ── Type ──────────────────────────────────────────────── */
    --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', 'Plus Jakarta Sans', -apple-system, sans-serif;

    /* ── Shape and depth ───────────────────────────────────── */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-xl: 26px;
    --shadow-sm:  0 1px 2px rgba(11, 18, 36, 0.06), 0 2px 8px rgba(11, 18, 36, 0.05);
    --shadow-md:  0 6px 22px rgba(11, 18, 36, 0.09);
    --shadow-lg:  0 18px 48px rgba(11, 18, 36, 0.14);
    --shadow-blue:0 12px 34px rgba(30, 86, 227, 0.28);
    --shadow-gold:0 12px 34px rgba(232, 185, 59, 0.30);

    /* ── Layout metrics ────────────────────────────────────── */
    --ticker-h: 36px;
    --nav-h:    72px;
    --header-h: calc(var(--ticker-h) + var(--nav-h));

    --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

    /* ── Gradients ─────────────────────────────────────────── */
    --grad-blue:  linear-gradient(135deg, #1E56E3 0%, #3E77FF 55%, #5B8BFF 100%);
    --grad-gold:  linear-gradient(135deg, #C8961C 0%, #E8B93B 45%, #F7D97A 100%);
    --grad-ink:   linear-gradient(150deg, #070B14 0%, #0E1526 45%, #10245C 100%);
    --grad-royal: linear-gradient(120deg, #070B14 0%, #0A2A6B 60%, #1E56E3 130%);

    /* ── Legacy aliases (do not remove) ────────────────────── */
    --teal:        var(--blue);
    --teal-dark:   var(--blue-dark);
    --teal-light:  var(--blue-light);
    --teal-subtle: var(--blue-subtle);
    --teal-border: var(--blue-border);
    --light-bg:    var(--bg);
    --primary-color:   var(--blue);
    --secondary-color: var(--ink-2);
    --accent-color:    var(--gold);
}

@media (max-width: 991.98px) {
    :root { --nav-h: 64px; --ticker-h: 32px; }
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--header-h);
    overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--text);
}

a { color: var(--blue); text-decoration: none; transition: color 0.18s var(--ease-soft); }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; height: auto; }

::selection { background: var(--blue); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--surface-3); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--blue), var(--blue-deep)); border-radius: 8px; border: 2px solid var(--surface-3); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--ink);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   Animation library
   ========================================================================== */

@keyframes mtsFadeUp    { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes mtsFadeIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes mtsZoomIn    { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes mtsSlideLeft { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes mtsSlideRight{ from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
@keyframes mtsFloat     { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes mtsPulse     { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes mtsSpin      { to { transform: rotate(360deg); } }
@keyframes mtsShimmer   { 0% { background-position: -480px 0; } 100% { background-position: 480px 0; } }
@keyframes mtsMarquee   { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes mtsAurora    { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 33% { transform: translate3d(6%, -8%, 0) scale(1.15); } 66% { transform: translate3d(-7%, 6%, 0) scale(0.92); } }
@keyframes mtsGradient  { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes mtsSheen     { 0% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(220%) skewX(-18deg); } }
@keyframes mtsRing      { 0% { box-shadow: 0 0 0 0 var(--blue-glow); } 70% { box-shadow: 0 0 0 16px rgba(30,86,227,0); } 100% { box-shadow: 0 0 0 0 rgba(30,86,227,0); } }
@keyframes mtsBob       { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Scroll reveal. Elements start hidden only once JS confirms it is running,
   so a visitor without JS still sees every section. */
.js-on [data-reveal] { opacity: 0; will-change: opacity, transform; }
.js-on [data-reveal="up"]    { transform: translateY(28px); }
.js-on [data-reveal="left"]  { transform: translateX(-30px); }
.js-on [data-reveal="right"] { transform: translateX(30px); }
.js-on [data-reveal="zoom"]  { transform: scale(0.94); }

[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}

.anim-float { animation: mtsFloat 6s ease-in-out infinite; }
.anim-bob   { animation: mtsBob 2.4s ease-in-out infinite; }
.anim-ring  { animation: mtsRing 2.4s ease-out infinite; }

.hover-lift { transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out); }
.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Sheen sweep used on hero art and premium cards. */
.sheen { position: relative; overflow: hidden; }
.sheen::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42), transparent);
    transform: translateX(-120%) skewX(-18deg);
    pointer-events: none;
}
.sheen:hover::after { animation: mtsSheen 0.9s var(--ease-out); }

.skeleton {
    background: linear-gradient(90deg, #eef1f7 25%, #f7f9fd 50%, #eef1f7 75%);
    background-size: 480px 100%;
    animation: mtsShimmer 1.4s linear infinite;
}

/* ==========================================================================
   Announcement ticker
   ========================================================================== */

.mts-ticker {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1035;
    height: var(--ticker-h);
    background: var(--grad-gold);
    color: #1B1405;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mts-ticker-track {
    display: flex;
    width: max-content;
    animation: mtsMarquee 34s linear infinite;
}
.mts-ticker:hover .mts-ticker-track { animation-play-state: paused; }

.mts-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 2rem;
    white-space: nowrap;
}
.mts-ticker-item i { font-size: 0.72rem; }
.mts-ticker-item::after {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(27, 20, 5, 0.45);
    margin-left: 2rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.mts-nav {
    position: fixed;
    top: var(--ticker-h);
    left: 0; right: 0;
    z-index: 1030;
    height: var(--nav-h);
    padding: 0;
    background: var(--surface-nav) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(232, 185, 59, 0.18);
    transition: height 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft), background 0.3s var(--ease-soft);
}

.mts-nav.scrolled {
    box-shadow: 0 10px 34px rgba(7, 11, 20, 0.38);
    border-bottom-color: rgba(232, 185, 59, 0.4);
}

.mts-nav > .container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent !important;
}

/* ── Brand ───────────────────────────────────────────────── */
.navbar-brand,
.mts-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    text-decoration: none;
    color: #fff !important;
}

.mts-brand-mark {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: var(--grad-blue);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: -0.04em;
    box-shadow: 0 6px 18px rgba(30, 86, 227, 0.45);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.35s var(--ease-out);
}
.mts-brand-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: translateX(-120%) skewX(-18deg);
}
.mts-brand:hover .mts-brand-mark { transform: rotate(-6deg) scale(1.06); }
.mts-brand:hover .mts-brand-mark::after { animation: mtsSheen 0.8s var(--ease-out); }

.mts-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.mts-brand-name {
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    white-space: nowrap;
}
.mts-brand-name b { color: var(--gold); font-weight: 700; }
.mts-brand-tag {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    white-space: nowrap;
}

.navbar-brand img.brand-logo,
.mts-brand img.brand-logo {
    height: 42px;
    width: auto;
    max-height: 52px;
    object-fit: contain;
}

/* ── Desktop links ───────────────────────────────────────── */
.desktop-nav { display: none; align-items: center; gap: 0.15rem; }

@media (min-width: 992px) {
    .desktop-nav { display: flex; }
    .hamburger-area { display: none !important; }
}

.desktop-nav-link {
    position: relative;
    color: var(--on-dark) !important;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    border-radius: var(--r-sm);
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}
.desktop-nav-link::after {
    content: '';
    position: absolute;
    left: 0.8rem; right: 0.8rem; bottom: 0.28rem;
    height: 2px;
    background: var(--grad-gold);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}
.desktop-nav-link:hover,
.desktop-nav-link.is-active { color: var(--gold) !important; }
.desktop-nav-link:hover::after,
.desktop-nav-link.is-active::after { transform: scaleX(1); }

/* ── Mega menu ───────────────────────────────────────────── */
.mts-has-mega { position: relative; }

.mts-mega {
    position: fixed;
    top: calc(var(--ticker-h) + var(--nav-h));
    left: 50%;
    transform: translate(-50%, 12px);
    width: min(940px, calc(100vw - 32px));
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
    z-index: 1032;
}
.mts-has-mega:hover .mts-mega,
.mts-has-mega:focus-within .mts-mega,
.mts-mega.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.mts-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.mts-mega-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--r-md);
    color: var(--text);
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.mts-mega-item:hover {
    background: var(--blue-subtle);
    border-color: var(--blue-border);
    color: var(--blue-dark);
    transform: translateX(3px);
}
.mts-mega-ico {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--grad-ink);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.mts-mega-label { font-size: 0.85rem; font-weight: 600; line-height: 1.25; }
.mts-mega-count { font-size: 0.72rem; color: var(--muted); }

.mts-mega-foot {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
}

/* ── Search ──────────────────────────────────────────────── */
.search-wrapper { flex: 1; max-width: 420px; position: relative; }

.search-input-group {
    display: flex;
    align-items: center;
    border: 1px solid rgba(237, 241, 250, 0.18);
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.search-input-group:focus-within {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 4px rgba(232, 185, 59, 0.16);
}

.search-input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-family: var(--font-body);
    font-size: 0.86rem;
    padding: 0.6rem 1rem;
    width: 100%;
    outline: none !important;
    box-shadow: none !important;
}
.search-input::placeholder { color: rgba(237, 241, 250, 0.55); }

.search-btn {
    background: var(--grad-blue);
    border: none;
    color: #fff;
    padding: 0 1rem;
    align-self: stretch;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: filter 0.2s;
}
.search-btn:hover { filter: brightness(1.15); color: #fff; }

/* Suggestions dropdown sits on a light surface for contrast against the
   dark navbar it hangs from. */
.search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1060;
    display: none;
    box-shadow: var(--shadow-lg);
    animation: mtsFadeUp 0.22s var(--ease-out);
}
.search-suggestions a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    font-size: 0.86rem;
    transition: background 0.15s, padding-left 0.15s;
}
.search-suggestions a:last-child { border-bottom: none; }
.search-suggestions a:hover { background: var(--blue-subtle); padding-left: 18px; }

.suggestion-image { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: var(--surface-3); }
.suggestion-details { flex: 1; min-width: 0; }
.suggestion-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggestion-category { font-size: 0.76rem; color: var(--muted); }
.suggestion-price { color: var(--blue); font-weight: 700; font-size: 0.86rem; white-space: nowrap; }

.suggestion-view-all {
    display: block !important;
    text-align: center;
    padding: 11px;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.82rem;
    background: var(--grad-blue);
    border-radius: 0 0 var(--r-md) var(--r-md);
}
.suggestion-view-all:hover { padding-left: 11px !important; filter: brightness(1.1); }

.search-state-msg { padding: 16px; text-align: center; color: var(--muted); font-size: 0.86rem; }

/* ── Nav actions ─────────────────────────────────────────── */
.nav-actions { display: flex; align-items: center; gap: 0.2rem; flex-shrink: 0; }

.nav-icon-btn {
    background: none;
    border: none;
    color: var(--on-dark);
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    transition: color 0.2s, background 0.2s, transform 0.2s;
}
.nav-icon-btn:hover {
    color: var(--gold);
    background: rgba(232, 185, 59, 0.12);
    transform: translateY(-2px);
}

.nav-badge {
    position: absolute;
    top: 4px; right: 3px;
    background: var(--grad-gold);
    color: #1B1405;
    font-size: 0.62rem;
    font-weight: 800;
    min-width: 18px; height: 18px;
    padding: 0 4px;
    border-radius: 50px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(232, 185, 59, 0.5);
}

.navbar-toggler {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(237, 241, 250, 0.18);
    border-radius: 11px;
    color: var(--on-dark);
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.navbar-toggler:hover { border-color: var(--gold); color: var(--gold); }

/* ── Mobile drawer ───────────────────────────────────────── */
.mts-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 11, 20, 0.6);
    backdrop-filter: blur(3px);
    z-index: 1028;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease-soft), visibility 0.28s;
}
.mts-backdrop.open { opacity: 1; visibility: visible; }

.mobile-menu {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(360px, 88vw);
    background: var(--grad-ink);
    border-left: 1px solid rgba(232, 185, 59, 0.22);
    box-shadow: -18px 0 48px rgba(7, 11, 20, 0.45);
    padding: 1.1rem 1.1rem 2rem;
    z-index: 1039;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(105%);
    transition: transform 0.34s var(--ease-out);
    display: block;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid rgba(237, 241, 250, 0.12);
}
.mobile-menu-close {
    background: rgba(255,255,255,0.08);
    border: none;
    color: var(--on-dark);
    width: 36px; height: 36px;
    border-radius: 10px;
    cursor: pointer;
}
.mobile-menu-close:hover { color: var(--gold); }

.mobile-search { margin-bottom: 1rem; position: relative; }

.mobile-nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1rem;
}
.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.72rem 0.8rem;
    color: var(--on-dark);
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.93rem;
    transition: background 0.18s, color 0.18s, transform 0.18s;
}
.mobile-nav-links a i {
    color: var(--gold);
    width: 20px;
    text-align: center;
    font-size: 0.92rem;
}
.mobile-nav-links a:hover {
    background: rgba(232, 185, 59, 0.1);
    color: #fff;
    transform: translateX(4px);
}

.mobile-section-label {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    padding: 0.5rem 0.8rem 0.3rem;
    font-weight: 700;
}

.mobile-divider { border: none; border-top: 1px solid rgba(237, 241, 250, 0.12); margin: 0.7rem 0; }

.mobile-whatsapp-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.72rem 0.8rem;
    color: #25d366;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.93rem;
    transition: background 0.18s;
}
.mobile-whatsapp-link:hover { background: rgba(37, 211, 102, 0.12); color: #25d366; }

.mobile-menu .search-input-group { border-color: rgba(237,241,250,0.2); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-mts,
.btn-teal {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: var(--grad-blue);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 0.72rem 1.7rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
    cursor: pointer;
    overflow: hidden;
    box-shadow: var(--shadow-blue);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), filter 0.25s;
}
.btn-mts::after,
.btn-teal::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-140%) skewX(-18deg);
}
.btn-mts:hover, .btn-teal:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(30, 86, 227, 0.38);
    color: #fff !important;
}
.btn-mts:hover::after, .btn-teal:hover::after { animation: mtsSheen 0.75s var(--ease-out); }
.btn-mts:active, .btn-teal:active { transform: translateY(-1px); }

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: var(--grad-gold);
    color: #1B1405 !important;
    border: none;
    border-radius: 50px;
    padding: 0.72rem 1.7rem;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(232, 185, 59, 0.42);
    color: #1B1405 !important;
}

.btn-outline-teal,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--blue) !important;
    border: 1.5px solid var(--blue-border);
    border-radius: 50px;
    padding: 0.68rem 1.6rem;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
}
.btn-outline-teal:hover,
.btn-ghost:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.28);
    border-radius: 50px;
    padding: 0.68rem 1.6rem;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.25s var(--ease-out);
}
.btn-ghost-light:hover { background: var(--gold); border-color: var(--gold); color: #1B1405 !important; transform: translateY(-2px); }

.btn-primary {
    background: var(--grad-blue) !important;
    border: none !important;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-blue);
    transition: transform 0.2s, filter 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.07); }

.btn-outline-primary {
    color: var(--blue) !important;
    border: 1.5px solid var(--blue) !important;
    border-radius: 50px;
    font-weight: 700;
}
.btn-outline-primary:hover { background: var(--blue) !important; color: #fff !important; }

.btn-dark-mts {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--ink); color: #fff !important;
    border: none; border-radius: 50px;
    padding: 0.7rem 1.6rem; font-weight: 700; font-size: 0.88rem;
    transition: transform 0.25s var(--ease-out), background 0.25s;
}
.btn-dark-mts:hover { background: var(--ink-3); transform: translateY(-2px); color: var(--gold) !important; }

/* ==========================================================================
   Sections and headings
   ========================================================================== */

.home-section { padding: 84px 0; position: relative; }
.home-section-alt { background: var(--surface); }
.home-section-dark { background: var(--grad-ink); color: var(--on-dark); }
.home-section-dark h1, .home-section-dark h2, .home-section-dark h3 { color: #fff; }

@media (max-width: 767.98px) { .home-section { padding: 54px 0; } }

.section-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.85rem;
}
.home-section-dark .eyebrow { color: var(--gold); }

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.16;
    margin-bottom: 0.6rem;
}
.section-sub { color: var(--text-light); font-size: 1rem; max-width: 620px; margin: 0; }
.home-section-dark .section-sub { color: var(--on-dark-muted); }
.section-header { margin-bottom: 3rem; }

.text-gradient-blue {
    background: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.text-gradient-gold {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-teal, .text-blue { color: var(--blue) !important; }
.text-gold { color: var(--gold) !important; }
.bg-teal, .bg-blue { background: var(--blue) !important; }
.bg-gold { background: var(--gold) !important; }
.bg-ink { background: var(--ink) !important; }

/* ==========================================================================
   Cards and product grids
   ========================================================================== */

.card {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--r-lg);
    color: var(--text);
    overflow: hidden;
    transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out), border-color 0.32s;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-border) !important;
}

.card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--surface-3);
    display: block;
    border-radius: 0;
}

.product-card-img {
    position: relative;
    overflow: hidden;
    background: var(--surface-3);
    aspect-ratio: 1 / 1;
}
.product-card-img img { transition: transform 0.55s var(--ease-out); }
.card:hover .product-card-img img { transform: scale(1.07); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}
@media (min-width: 576px) { .products-grid { gap: 1.15rem; } }
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px){ .products-grid { grid-template-columns: repeat(4, 1fr); } }

.mts-badge {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 2;
    background: var(--grad-gold);
    color: #1B1405;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(232, 185, 59, 0.4);
}
.mts-badge.is-blue { background: var(--grad-blue); color: #fff; box-shadow: 0 4px 12px rgba(30,86,227,0.4); }
.mts-badge.is-dark { background: var(--ink); color: var(--gold); }

/* ==========================================================================
   Wishlist control
   ========================================================================== */

.wishlist-btn {
    position: absolute;
    bottom: 10px; right: 10px;
    z-index: 3;
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
    color: var(--muted);
    cursor: pointer;
    transition: transform 0.18s var(--ease-out), color 0.18s, background 0.18s;
}
.wishlist-btn:hover { transform: scale(1.14); background: #fff; color: var(--danger); }
.wishlist-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.wishlist-btn.is-saved { color: var(--danger); }
.wishlist-btn i { font-size: 0.95rem; pointer-events: none; }

.wishlist-btn-inline {
    position: static;
    width: auto; height: auto;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    gap: 0.5rem;
    box-shadow: none;
    border: 1.5px solid var(--border-strong);
    background: #fff;
}
.wishlist-btn-inline:hover { transform: none; }

/* ==========================================================================
   Recommendation rails
   ========================================================================== */

.product-rail { margin: 2.75rem 0; }

.rail-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}
.rail-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}
.rail-subtitle { margin: 0.2rem 0 0; font-size: 0.82rem; color: var(--muted); }

.rail-nav { display: flex; gap: 0.45rem; flex-shrink: 0; }
.rail-arrow {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-light);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease-out);
}
.rail-arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.08); }

.rail-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 0.6rem;
    scrollbar-width: thin;
}
.rail-track::-webkit-scrollbar { height: 6px; }
.rail-track::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; border: none; }

.rail-card {
    flex: 0 0 172px;
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out), border-color 0.25s;
}
.rail-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--blue-border); }

.rail-card-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface-3); }
.rail-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s var(--ease-out); }
.rail-card:hover .rail-card-img img { transform: scale(1.06); }

.rail-badge {
    position: absolute; top: 8px; left: 8px;
    background: var(--grad-gold); color: #1B1405;
    font-size: 0.63rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.04em;
    padding: 3px 8px; border-radius: 50px;
}

.rail-card-body { padding: 0.7rem 0.75rem 0.85rem; }
.rail-card-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
    min-height: 2.7em;
}
.rail-card-name:hover { color: var(--blue); }
.rail-card-price { margin-top: 0.45rem; font-size: 0.88rem; font-weight: 700; color: var(--blue-dark); }
.rail-card-price s { color: var(--muted); font-size: 0.74rem; margin-left: 0.35rem; font-weight: 500; }
.rail-from { font-size: 0.7rem; color: var(--muted); }

@media (max-width: 576px) { .rail-card { flex-basis: 152px; } }

/* ==========================================================================
   Alerts and toasts
   ========================================================================== */

.alert { border-radius: 0; border: none; font-size: 0.92rem; font-weight: 500; }
.alert-success { background: rgba(23, 166, 115, 0.1); color: #0C6B49; border-left: 4px solid var(--success); }
.alert-danger  { background: rgba(226, 72, 60, 0.09); color: #A32218; border-left: 4px solid var(--danger); }
.alert-warning { background: var(--gold-subtle); color: #7A5B08; border-left: 4px solid var(--gold); }
.alert-info    { background: var(--blue-subtle); color: var(--blue-deep); border-left: 4px solid var(--blue); }

#toast-stack {
    position: fixed;
    top: calc(var(--header-h) + 14px);
    right: 16px;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(370px, calc(100vw - 32px));
}
.app-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
    border-left: 4px solid var(--blue);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    padding: 13px 15px;
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0;
    transform: translateX(26px);
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.app-toast.show { opacity: 1; transform: translateX(0); }
.app-toast.success { border-left-color: var(--success); }
.app-toast.error   { border-left-color: var(--danger); }
.app-toast.info    { border-left-color: var(--blue); }
.app-toast .toast-ico { margin-top: 2px; flex-shrink: 0; }
.app-toast.success .toast-ico { color: var(--success); }
.app-toast.error   .toast-ico { color: var(--danger); }
.app-toast.info    .toast-ico { color: var(--blue); }
.app-toast .toast-msg { flex: 1; min-width: 0; }
.app-toast .toast-x { background: none; border: none; color: var(--muted); cursor: pointer; padding: 0; font-size: 1rem; line-height: 1; }
.app-toast .toast-x:hover { color: var(--text); }

@media (max-width: 575px) {
    #toast-stack { top: auto; bottom: 84px; left: 16px; right: 16px; max-width: none; }
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumb { background: transparent; padding: 0; margin-bottom: 0.85rem; font-size: 0.83rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--muted); content: '\203A'; }
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item a:hover { color: var(--blue); }
.breadcrumb-item.active { color: var(--text); font-weight: 600; }

/* ==========================================================================
   Legal, FAQ and policy pages
   ========================================================================== */

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.4rem;
}
.legal-body { color: var(--text-light); line-height: 1.85; font-size: 0.99rem; }
.legal-intro {
    background: var(--blue-subtle);
    border-left: 4px solid var(--blue);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    color: var(--text);
}
.legal-section { margin-bottom: 2.35rem; padding-bottom: 2.35rem; border-bottom: 1px solid var(--border); }
.legal-section:last-of-type { border-bottom: none; }
.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.85rem;
}
.legal-section p { margin-bottom: 0.9rem; }
.legal-section ul, .legal-section ol { padding-left: 1.4rem; margin-bottom: 0.9rem; }
.legal-section li { margin-bottom: 0.45rem; }

.legal-highlight-box {
    background: var(--gold-subtle);
    border: 1px solid var(--gold-border);
    border-radius: var(--r-md);
    padding: 1.1rem 1.3rem;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
}
.legal-contact-box {
    background: var(--grad-ink);
    color: var(--on-dark);
    border: none;
    border-radius: var(--r-lg);
    padding: 1.75rem;
    margin-top: 2.5rem;
}
.legal-contact-box h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.7rem; }
.legal-contact-box p { font-size: 0.9rem; color: var(--on-dark-muted); }
.legal-contact-box a { color: var(--gold); }

.legal-summary-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem 1.1rem;
    text-align: center;
    height: 100%;
    transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s;
}
.legal-summary-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-border); }
.legal-summary-icon {
    width: 54px; height: 54px;
    background: var(--grad-blue);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.9rem;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: var(--shadow-blue);
}
.legal-summary-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.legal-summary-card p { font-size: 0.82rem; color: var(--muted); margin: 0; line-height: 1.45; }

.faq-categories { border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.faq-cat-btn {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 0.4rem 1.1rem;
    font-size: 0.84rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.22s var(--ease-out);
}
.faq-cat-btn:hover, .faq-cat-btn.active {
    background: var(--grad-blue);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-blue);
}

.faq-accordion { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color 0.22s, box-shadow 0.22s;
}
.faq-item:has(.faq-question:not(.collapsed)) { border-color: var(--blue-border); box-shadow: 0 4px 18px rgba(30,86,227,0.11); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.05rem 1.3rem;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--text);
    gap: 1rem;
    transition: background 0.2s;
}
.faq-question:hover { background: var(--blue-subtle); }
.faq-icon { color: var(--blue); font-size: 0.8rem; flex-shrink: 0; transition: transform 0.28s var(--ease-out); }
.faq-question:not(.collapsed) .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 1.3rem 1.15rem; color: var(--text-light); font-size: 0.91rem; line-height: 1.75; }

/* ==========================================================================
   Blog
   ========================================================================== */

.blog-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin: 0 0 0.4rem; }
.blog-sub { color: var(--muted); font-size: 0.92rem; margin: 0; }

.blog-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.blog-cat {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.35rem 0.9rem; border-radius: 50px;
    border: 1.5px solid var(--border);
    font-size: 0.82rem; font-weight: 600;
    color: var(--text-light); background: var(--surface);
    transition: all 0.2s var(--ease-out);
}
.blog-cat:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.blog-cat.is-active { background: var(--grad-blue); border-color: transparent; color: #fff; }
.blog-cat-count { opacity: 0.7; font-size: 0.73rem; }

.blog-card {
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg); overflow: hidden;
    height: 100%;
    transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), border-color 0.3s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--blue-border); }
.blog-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--surface-3); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease-out); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 1.1rem 1.2rem 1.3rem; }
.blog-card-cat { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-deep); font-weight: 800; }
.blog-card-title { font-size: 1.02rem; line-height: 1.35; margin: 0.4rem 0 0.55rem; }
.blog-card-title a { color: var(--text); }
.blog-card-title a:hover { color: var(--blue); }
.blog-card-excerpt {
    font-size: 0.86rem; color: var(--text-light);
    margin: 0 0 0.65rem; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-date { font-size: 0.76rem; color: var(--muted); }

.blog-pager { display: flex; align-items: center; justify-content: center; gap: 1.3rem; font-size: 0.87rem; }
.blog-pager span { color: var(--muted); }
.blog-crumbs { font-size: 0.81rem; color: var(--muted); }
.blog-crumbs a { color: var(--muted); }
.blog-crumbs a:hover { color: var(--blue); }
.blog-crumbs span { margin: 0 0.35rem; }

.blog-post-title { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.16; margin: 0 0 0.5rem; }
.blog-post-meta { font-size: 0.83rem; color: var(--muted); margin: 0; }
.blog-post-hero { width: 100%; border-radius: var(--r-lg); display: block; }

.blog-post-body { font-size: 1.02rem; line-height: 1.8; color: var(--text); }
.blog-post-body h2 { font-size: 1.4rem; margin: 1.9rem 0 0.6rem; }
.blog-post-body h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.blog-post-body p { margin: 0 0 1rem; }
.blog-post-body ul, .blog-post-body ol { margin: 0 0 1rem 1.3rem; }
.blog-post-body li { margin-bottom: 0.4rem; }
.blog-post-body img { max-width: 100%; height: auto; border-radius: var(--r-md); margin: 1.1rem 0; }
.blog-post-body a { color: var(--blue-dark); text-decoration: underline; }
.blog-post-body blockquote {
    margin: 1.3rem 0; padding: 0.8rem 1.2rem;
    border-left: 4px solid var(--gold);
    background: var(--gold-subtle);
    font-style: italic;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.blog-post-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; display: block; overflow-x: auto; }
.blog-post-body th, .blog-post-body td { border: 1px solid var(--border); padding: 0.55rem 0.7rem; }
.blog-post-body th { background: var(--surface-3); font-weight: 700; }
.blog-post-body pre { overflow-x: auto; background: var(--ink); color: var(--on-dark); padding: 1rem; border-radius: var(--r-md); }

.blog-related { border-top: 1px solid var(--border); padding-top: 1.3rem; }
.blog-cta { border-top: 1px solid var(--border); padding-top: 1.3rem; font-size: 0.92rem; color: var(--text-light); }

/* ==========================================================================
   Support assistant
   ========================================================================== */

.assistant-launch {
    position: fixed;
    right: 18px; bottom: 18px;
    z-index: 1040;
    width: 56px; height: 56px;
    border: none; border-radius: 50%;
    background: var(--grad-blue);
    color: #fff; font-size: 1.15rem;
    cursor: pointer;
    box-shadow: var(--shadow-blue);
    transition: transform 0.22s var(--ease-out);
}
.assistant-launch:hover { transform: scale(1.09) rotate(-6deg); }

.assistant-panel {
    position: fixed;
    right: 18px; bottom: 84px;
    z-index: 1041;
    width: min(370px, calc(100vw - 36px));
    max-height: min(540px, calc(100vh - 130px));
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: mtsFadeUp 0.28s var(--ease-out);
}
.assistant-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 0.5rem; padding: 0.9rem 1.1rem;
    background: var(--grad-ink);
    color: #fff;
}
.assistant-head strong { color: #fff; }
.assistant-sub { font-size: 0.74rem; color: var(--on-dark-muted); }
.assistant-close { border: none; background: none; cursor: pointer; color: var(--on-dark-muted); font-size: 0.95rem; line-height: 1; }
.assistant-close:hover { color: var(--gold); }
.assistant-log { flex: 1; overflow-y: auto; padding: 0.9rem 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.assistant-msg {
    font-size: 0.85rem; line-height: 1.55;
    padding: 0.55rem 0.8rem; border-radius: 12px;
    max-width: 86%; white-space: pre-wrap; word-break: break-word;
}
.assistant-bot  { background: var(--surface-3); align-self: flex-start; border-bottom-left-radius: 4px; }
.assistant-user { background: var(--grad-blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }

.assistant-form { display: flex; gap: 0.45rem; padding: 0.7rem 0.8rem; border-top: 1px solid var(--border); }
.assistant-form input { flex: 1; border: 1.5px solid var(--border); border-radius: 50px; padding: 0.5rem 0.9rem; font-size: 0.86rem; }
.assistant-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-subtle); }
.assistant-form button { border: none; border-radius: 50%; width: 38px; background: var(--grad-blue); color: #fff; cursor: pointer; flex-shrink: 0; }
.assistant-form button:disabled { opacity: 0.55; cursor: default; }
.assistant-foot { margin: 0; padding: 0 1.1rem 0.75rem; font-size: 0.69rem; color: var(--muted); }

/* ==========================================================================
   Back to top
   ========================================================================== */

.mts-top {
    position: fixed;
    left: 18px; bottom: 18px;
    z-index: 1040;
    width: 44px; height: 44px;
    border: none; border-radius: 50%;
    background: var(--ink);
    color: var(--gold);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all 0.28s var(--ease-out);
}
.mts-top.show { opacity: 1; visibility: visible; transform: none; }
.mts-top:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }

/* ==========================================================================
   Footer
   ========================================================================== */

.mts-footer {
    position: relative;
    background: var(--grad-ink);
    color: var(--on-dark-muted);
    padding: 4rem 0 0;
    margin-top: 4rem;
    overflow: hidden;
}
.mts-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-gold);
}
.mts-footer h5, .mts-footer h6 { color: #fff; }
.mts-footer h6 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.1rem;
    font-weight: 700;
}
.mts-footer a { color: var(--on-dark-muted); }
.mts-footer a:hover { color: var(--gold); }

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.2s var(--ease-out), color 0.2s;
}
.footer-links a::before {
    content: '\203A';
    color: var(--gold);
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.2s var(--ease-out);
}
.footer-links a:hover { transform: translateX(4px); }
.footer-links a:hover::before { opacity: 1; transform: none; }

.footer-contact { display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.88rem; }
.footer-contact-row { display: flex; gap: 0.75rem; align-items: flex-start; }
.footer-contact-ico {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: rgba(232, 185, 59, 0.12);
    color: var(--gold);
    display: grid; place-items: center;
    flex-shrink: 0;
    font-size: 0.82rem;
}

.footer-social { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: grid; place-items: center;
    font-size: 1rem;
    transition: all 0.25s var(--ease-out);
}
.footer-social a:hover { background: var(--gold); color: var(--ink) !important; transform: translateY(-4px); border-color: var(--gold); }

.footer-newsletter .input-group { border-radius: 50px; overflow: hidden; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); }
.footer-newsletter .form-control {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    box-shadow: none !important;
    padding: 0.65rem 1.1rem;
    font-size: 0.86rem;
}
.footer-newsletter .form-control::placeholder { color: rgba(237,241,250,0.5); }
.footer-newsletter .btn { border-radius: 0 50px 50px 0 !important; padding-inline: 1.3rem; }

.footer-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    padding: 1.75rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 2.5rem;
}
.footer-trust-item { display: flex; align-items: center; gap: 0.8rem; }
.footer-trust-ico {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--grad-blue);
    color: #fff;
    display: grid; place-items: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(30,86,227,0.35);
}
.footer-trust-item strong { display: block; color: #fff; font-size: 0.88rem; font-weight: 700; }
.footer-trust-item span { font-size: 0.76rem; color: var(--on-dark-muted); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.4rem 0;
    margin-top: 2.5rem;
    font-size: 0.83rem;
}
.footer-pay { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; }
.footer-pay i { font-size: 1.7rem; color: var(--on-dark-muted); transition: color 0.2s; }
.footer-pay i:hover { color: var(--gold); }

/* ==========================================================================
   Utility
   ========================================================================== */

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1;
}
.divider-gold { height: 3px; width: 62px; background: var(--grad-gold); border-radius: 3px; }

.chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 700;
    background: var(--blue-subtle);
    color: var(--blue-dark);
    border: 1px solid var(--blue-border);
}
.chip.is-gold { background: var(--gold-subtle); color: var(--gold-deep); border-color: var(--gold-border); }
.chip.is-dark { background: rgba(255,255,255,0.08); color: var(--gold); border-color: rgba(232,185,59,0.25); }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .js-on [data-reveal] { opacity: 1 !important; transform: none !important; }
    .mts-ticker-track { animation: none; }
    .rail-track { scroll-behavior: auto; }
}

/* ==========================================================================
   Content pages (about, services, delivery, warranty, trade-in, business,
   contact). Shared so every page in the set reads as one family.
   ========================================================================== */

.page-hero {
    position: relative;
    background: var(--grad-royal);
    color: var(--on-dark-muted);
    padding: 76px 0 68px;
    overflow: hidden;
    isolation: isolate;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    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: 54px 54px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 72%);
}
.page-hero::after {
    content: '';
    position: absolute;
    top: -180px; right: -120px;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,86,227,.55) 0%, transparent 68%);
    filter: blur(70px);
    z-index: -1;
    animation: mtsAurora 20s ease-in-out infinite;
}

.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 {
    font-size: clamp(1.9rem, 4.6vw, 3.1rem);
    color: #fff;
    line-height: 1.12;
    margin-bottom: 1rem;
}
.page-hero p.lead-text {
    font-size: 1.04rem;
    line-height: 1.8;
    max-width: 640px;
    margin: 0;
    color: var(--on-dark-muted);
}
.page-hero .breadcrumb-item a,
.page-hero .breadcrumb-item.active { color: var(--on-dark-muted); }
.page-hero .breadcrumb-item a:hover { color: var(--gold); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(154,168,196,.6); }

@media (max-width: 767.98px) { .page-hero { padding: 48px 0 44px; } }

/* ── Info card grid ──────────────────────────────────────── */
.info-card {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.8rem 1.6rem;
    transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out), border-color .32s;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-border); }
.info-card-ico {
    width: 54px; height: 54px;
    border-radius: 16px;
    background: var(--grad-blue);
    color: #fff;
    display: grid; place-items: center;
    font-size: 1.2rem;
    margin-bottom: 1.05rem;
    box-shadow: var(--shadow-blue);
}
.info-card:nth-of-type(3n+2) .info-card-ico { background: var(--grad-gold); color: #1B1405; box-shadow: var(--shadow-gold); }
.info-card:nth-of-type(3n) .info-card-ico   { background: var(--grad-ink); color: var(--gold); box-shadow: none; }
.info-card h3 { font-size: 1.06rem; margin-bottom: .5rem; }
.info-card p  { font-size: .89rem; color: var(--text-light); margin: 0; line-height: 1.7; }
.info-card ul { margin: .7rem 0 0; padding-left: 1.15rem; font-size: .87rem; color: var(--text-light); }
.info-card li { margin-bottom: .35rem; }

/* ── Numbered process ────────────────────────────────────── */
.process-list { counter-reset: step; display: grid; gap: 1rem; }
.process-step {
    position: relative;
    display: flex;
    gap: 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.35rem 1.5rem;
    transition: border-color .28s, transform .28s var(--ease-out), box-shadow .28s;
}
.process-step:hover { border-color: var(--gold-border); transform: translateX(5px); box-shadow: var(--shadow-md); }
.process-num {
    counter-increment: step;
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: 13px;
    background: var(--grad-ink);
    color: var(--gold);
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
}
.process-num::before { content: counter(step, decimal-leading-zero); }
.process-step h3 { font-size: 1rem; margin-bottom: .3rem; }
.process-step p  { font-size: .88rem; color: var(--text-light); margin: 0; line-height: 1.65; }

/* ── Data table ──────────────────────────────────────────── */
.mts-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); }
.mts-table { width: 100%; border-collapse: collapse; min-width: 480px; margin: 0; }
.mts-table th {
    background: var(--grad-ink);
    color: var(--gold);
    font-size: .74rem;
    letter-spacing: .11em;
    text-transform: uppercase;
    font-weight: 700;
    padding: .95rem 1.1rem;
    text-align: left;
    white-space: nowrap;
}
.mts-table td { padding: .9rem 1.1rem; border-top: 1px solid var(--border); font-size: .9rem; color: var(--text-light); }
.mts-table tbody tr { transition: background .18s; }
.mts-table tbody tr:hover { background: var(--blue-subtle); }
.mts-table td strong { color: var(--text); }

/* ── Split feature block ─────────────────────────────────── */
.split-media {
    border-radius: var(--r-xl);
    background: var(--grad-ink);
    color: var(--on-dark-muted);
    padding: 2.4rem 2rem;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.split-media::after {
    content: '';
    position: absolute;
    bottom: -140px; left: -90px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,185,59,.35) 0%, transparent 68%);
    filter: blur(50px);
}
.split-media h3 { color: #fff; font-size: 1.25rem; margin-bottom: .9rem; }
.split-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; position: relative; }
.split-list li { display: flex; gap: .75rem; font-size: .9rem; line-height: 1.6; }
.split-list i { color: var(--gold); margin-top: .28rem; flex-shrink: 0; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.contact-form .form-label { font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: .35rem; }
.contact-form .form-control,
.contact-form .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    padding: .72rem 1rem;
    font-size: .92rem;
    background: var(--bg);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 4px var(--blue-subtle);
    outline: none;
}
.contact-form textarea.form-control { min-height: 150px; resize: vertical; }

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.2rem 1.3rem;
    transition: transform .28s var(--ease-out), border-color .28s, box-shadow .28s;
}
.contact-method:hover { transform: translateY(-4px); border-color: var(--blue-border); box-shadow: var(--shadow-md); }
.contact-method-ico {
    width: 46px; height: 46px;
    border-radius: 14px;
    background: var(--grad-blue);
    color: #fff;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.contact-method.is-whatsapp .contact-method-ico { background: #25d366; }
.contact-method.is-gold .contact-method-ico { background: var(--grad-gold); color: #1B1405; }
.contact-method strong { display: block; font-size: .95rem; margin-bottom: .15rem; }
.contact-method span { font-size: .86rem; color: var(--text-light); word-break: break-word; }

/* ── CTA band ────────────────────────────────────────────── */
.cta-band {
    background: var(--grad-royal);
    border-radius: var(--r-xl);
    padding: 3rem 2.4rem;
    text-align: center;
    color: var(--on-dark-muted);
    position: relative;
    overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: .75rem; }
.cta-band p { max-width: 560px; margin: 0 auto 1.7rem; font-size: .98rem; }

@media (max-width: 575.98px) {
    .cta-band, .contact-panel, .split-media { padding: 1.8rem 1.3rem; }
    .info-card { padding: 1.4rem 1.2rem; }
    .process-step { padding: 1.1rem 1.1rem; gap: .85rem; }
}
