/* =========================================================
   Shree Kesar Colour Co. – Premium theme
   Brand: Kesar Red (#C1272D) + Kesar Gold (#C98B2E)
   ========================================================= */
:root {
    --red: #C1272D;
    --red-2: #E04848;
    --red-dark: #7E1418;
    --gold: #C98B2E;
    --gold-2: #F0C46A;
    --ink: #1E1414;
    --ink-2: #4A3B3B;
    --muted: #7A6C6C;
    --cream: #FBF6EE;
    --cream-2: #F5ECDF;
    --paper: #FFFFFF;
    --line: #EFE4D6;
    --green: #25D366;
    --green-dark: #128C7E;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(80, 20, 20, .08);
    --shadow-lg: 0 25px 60px rgba(80, 20, 20, .16);
    --font-head: 'DM Serif Display', 'Noto Serif Devanagari', 'Noto Serif Gujarati', Georgia, serif;
    --font: 'DM Sans', 'Noto Sans Devanagari', 'Noto Sans Gujarati', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --container: 1200px;
    --ease: cubic-bezier(.22, .9, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink-2);
    background: var(--paper);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}
/* clip slide-in animations without creating a scroll container (keeps the sticky header working) */
main, .footer { overflow-x: hidden; overflow-x: clip; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* DM Serif Display has a single weight (400) – keep headings at 400 so browsers do not fake a bold */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 400; color: var(--ink); line-height: 1.2; letter-spacing: -.005em; margin: 0 0 .5em; }
h1:focus { outline: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 70px 0; }
.bg-cream { background: var(--cream); }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-gold { color: var(--gold); }

/* ---------- Scroll progress ---------- */
#scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000;
    background: linear-gradient(90deg, var(--red), var(--gold-2));
    transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Preloader (shown while Blazor boots) ---------- */
.preloader {
    position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px;
    background: var(--cream);
}
.preloader-dots { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.preloader-dots div { display: flex; gap: 6px; }
.preloader-dots span {
    width: 16px; height: 16px; border-radius: 50%; background: var(--red);
    animation: dotPulse 1.2s var(--ease) infinite;
}
.preloader-dots div:nth-child(2) span { animation-delay: .15s; }
.preloader-dots div:nth-child(3) span { animation-delay: .3s; }
.preloader-dots div:nth-child(4) span { animation-delay: .45s; }
.preloader-text { font-family: Georgia, serif; font-weight: 700; letter-spacing: .25em; color: var(--gold); font-size: 22px; }
@keyframes dotPulse { 0%, 100% { transform: scale(.6); opacity: .5; } 50% { transform: scale(1); opacity: 1; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: 50px; border: 2px solid transparent;
    font-weight: 600; font-size: 15px; cursor: pointer; position: relative; overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
    white-space: nowrap; isolation: isolate;
}
.btn i { font-size: 1.15em; }
.btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%);
    transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn-red { background: linear-gradient(135deg, var(--red), var(--red-2)); color: #fff; box-shadow: 0 10px 25px rgba(193, 39, 45, .35); }
.btn-red:hover { box-shadow: 0 16px 35px rgba(193, 39, 45, .45); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #fff; box-shadow: 0 10px 25px rgba(201, 139, 46, .35); }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; box-shadow: 0 10px 25px rgba(37, 211, 102, .35); }
.btn-outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-light { background: #fff; color: var(--red); box-shadow: var(--shadow); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--red); }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

.pulse-ring { position: relative; }
.pulse-ring::before {
    content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid currentColor;
    animation: ring 2s var(--ease) infinite; opacity: 0; pointer-events: none;
}
.btn-red.pulse-ring::before { border-color: var(--red); }
.btn-green.pulse-ring::before { border-color: var(--green); }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }

.ringing { display: inline-block; animation: ringing 1.6s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes ringing {
    0%, 60%, 100% { transform: rotate(0); }
    5%, 15%, 25%, 35% { transform: rotate(-16deg); }
    10%, 20%, 30%, 40% { transform: rotate(16deg); }
}

/* ---------- Section titles ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; font-family: var(--font);
    text-transform: uppercase; letter-spacing: .2em; font-size: 13px; font-weight: 600; color: var(--red);
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.section-title { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-title.left { margin-left: 0; text-align: left; }
.section-title h2 { font-size: clamp(30px, 4vw, 46px); }
.section-title p { color: var(--muted); font-size: 17px; }
.gradient-text {
    background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
    background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* ---------- Reveal on scroll ---------- */
html.js .reveal { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.up { transform: translateY(50px); }
html.js .reveal.left { transform: translateX(-60px); }
html.js .reveal.right { transform: translateX(60px); }
html.js .reveal.zoom { transform: scale(.85); }
/* state is an attribute, not a class: Blazor rewrites "class" on re-render and would drop it */
html.js .reveal[data-revealed] { opacity: 1; transform: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 42px; }
.topbar-info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.topbar-info a:hover { color: var(--gold-2); }
.topbar-info i { color: var(--gold-2); }
.socials { display: flex; gap: 8px; }
.socials a {
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); transition: background .3s, transform .3s;
}
.socials a:hover { background: var(--red); transform: translateY(-2px); color: #fff; }

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent; transition: box-shadow .4s, border-color .4s;
}
body.scrolled .header { box-shadow: 0 8px 30px rgba(60, 20, 20, .08); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; transition: height .4s var(--ease); }
body.scrolled .header .container { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 54px; height: 54px; object-fit: contain; border-radius: 10px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-text strong { white-space: nowrap; display: block; font-family: var(--font-head); font-weight: 400; color: var(--red); font-size: 21px; line-height: 1.1; }
.brand-text small { color: var(--gold); font-weight: 600; letter-spacing: .18em; font-size: 11px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a.nav-link {
    position: relative; padding: 10px 14px; font-weight: 500; font-size: 15px; color: var(--ink); transition: color .3s; white-space: nowrap;
}
.nav a.nav-link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(0); transform-origin: right;
    transition: transform .4s var(--ease);
}
.nav a.nav-link:hover, .nav a.nav-link.active { color: var(--red); }
.nav a.nav-link:hover::after, .nav a.nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-call { display: flex; align-items: center; gap: 10px; }
.header-call .icon {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 18px;
    background: linear-gradient(135deg, var(--red), var(--red-2)); box-shadow: 0 8px 20px rgba(193, 39, 45, .35);
}
.header-call small { display: block; color: var(--muted); font-size: 12px; line-height: 1.2; }
.header-call strong { color: var(--ink); font-size: 15px; white-space: nowrap; }
.menu-toggle {
    display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--cream);
    color: var(--red); font-size: 24px; cursor: pointer;
}
.mobile-nav-head, .nav-backdrop, .mobile-nav-foot { display: none; }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 50px;
    border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 500; font-size: 14px; cursor: pointer;
    transition: border-color .3s, color .3s, box-shadow .3s;
}
.lang-btn > .bi-translate { color: var(--red); font-size: 17px; }
.lang-btn .caret { font-size: 11px; transition: transform .3s var(--ease); }
.lang-btn:hover, .lang-switch.open .lang-btn { border-color: var(--red); box-shadow: 0 6px 16px rgba(193, 39, 45, .12); }
.lang-switch.open .lang-btn .caret { transform: rotate(180deg); }
.lang-backdrop { position: fixed; inset: 0; z-index: 1; }
.lang-menu {
    position: absolute; right: 0; top: calc(100% + 10px); z-index: 2; min-width: 190px; padding: 8px; border-radius: 16px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: langIn .3s var(--ease);
}
@keyframes langIn { from { opacity: 0; transform: translateY(-8px); } }
.lang-menu button {
    width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
    text-align: left; border: 0; background: transparent; border-radius: 10px; padding: 9px 12px; cursor: pointer; transition: background .25s;
}
.lang-menu button:hover { background: var(--cream); }
.lang-menu button.active { background: var(--cream-2); }
.lang-menu strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.lang-menu small { grid-row: 2; color: var(--muted); font-size: 12px; }
.lang-menu i { grid-row: 1 / span 2; grid-column: 2; color: var(--red); font-size: 18px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; padding: 90px 0 120px;
    background: radial-gradient(1200px 600px at 85% 10%, #FFE9D6 0%, transparent 60%),
                radial-gradient(900px 500px at 0% 100%, #FDE2E2 0%, transparent 60%), var(--cream);
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: blob 18s ease-in-out infinite; pointer-events: none; }
.blob.b1 { width: 420px; height: 420px; background: #F8B4B4; top: -120px; left: -100px; }
.blob.b2 { width: 360px; height: 360px; background: #FFD8A8; bottom: -120px; right: 10%; animation-delay: -6s; }
.blob.b3 { width: 260px; height: 260px; background: #C3B1E1; top: 30%; left: 45%; animation-delay: -12s; opacity: .35; }
@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(.95); }
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 50px;
    background: #fff; box-shadow: var(--shadow); font-size: 14px; font-weight: 500; margin-bottom: 26px;
}
.hero-badge span { background: var(--red); color: #fff; border-radius: 50px; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.hero h1 { font-size: clamp(38px, 5.6vw, 70px); font-weight: 400; letter-spacing: -.01em; margin-bottom: 22px; }
.hero h1 .word { display: inline-block; animation: wordUp 1s var(--ease) both; }
@keyframes wordUp { from { opacity: 0; transform: translateY(40px) rotate(3deg); } to { opacity: 1; transform: none; } }
.hero-lead { font-size: 18px; color: var(--ink-2); max-width: 560px; margin-bottom: 34px; animation: fadeUp 1s .5s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; animation: fadeUp 1s .7s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero-call-card {
    margin-top: 36px; display: inline-flex; align-items: center; gap: 16px; padding: 14px 24px 14px 14px;
    background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    animation: fadeUp 1s .9s var(--ease) both; transition: transform .4s var(--ease);
}
.hero-call-card:hover { transform: translateY(-4px); }
.hero-call-card .icon {
    width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-2));
}
.hero-call-card small { display: block; color: var(--muted); font-size: 13px; }
.hero-call-card strong { font-size: 22px; color: var(--ink); letter-spacing: .02em; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.dot-triangle { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; z-index: 1; }
.dot-row { display: flex; gap: 10px; }
.dot {
    width: clamp(30px, 4.2vw, 50px); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #F26B6F, var(--red) 55%, var(--red-dark));
    box-shadow: 0 6px 14px rgba(126, 20, 24, .3);
    animation: dotIn .8s var(--ease) backwards, dotFloat 4s ease-in-out infinite;
    animation-delay: var(--d), calc(var(--d) + 1s);
    transition: transform .3s, background .5s;
    cursor: pointer;
}
.dot:hover { transform: scale(1.25) !important; }
.dot.c1 { background: radial-gradient(circle at 35% 30%, #FFE08A, var(--gold) 55%, #8B5E14); }
.dot.c2 { background: radial-gradient(circle at 35% 30%, #9ED8F5, #0077B6 55%, #023E8A); }
.dot.c3 { background: radial-gradient(circle at 35% 30%, #C9F2C7, #2A9D8F 55%, #1B5E56); }
.dot.c4 { background: radial-gradient(circle at 35% 30%, #E7D3FF, #9D4EDD 55%, #5A189A); }
@keyframes dotIn { from { opacity: 0; transform: scale(0) translateY(-60px); } to { opacity: 1; transform: none; } }
@keyframes dotFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.hero-logo-text {
    margin-top: 24px; font-family: var(--font); font-weight: 700; color: var(--gold); letter-spacing: .12em;
    font-size: clamp(34px, 4.6vw, 58px); animation: fadeUp 1s 1.6s var(--ease) both;
}
.float-card {
    position: absolute; z-index: 2; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 12px; font-size: 14px; animation: floatY 5s ease-in-out infinite;
}
.float-card i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: #fff; }
.float-card strong { display: block; color: var(--ink); font-size: 16px; line-height: 1.2; }
.float-card small { color: var(--muted); }
.float-card.f1 { top: 6%; left: -4%; }
.float-card.f1 i { background: linear-gradient(135deg, var(--gold), var(--gold-2)); }
.float-card.f2 { bottom: 10%; right: -4%; animation-delay: -2.5s; }
.float-card.f2 i { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.paint-drop { position: absolute; width: 18px; height: 18px; border-radius: 0 50% 50% 50%; transform: rotate(45deg); opacity: .8; animation: drop 6s ease-in infinite; }
@keyframes drop { 0% { transform: rotate(45deg) translate(0, 0); opacity: 0; } 15% { opacity: .9; } 100% { transform: rotate(45deg) translate(120px, 120px); opacity: 0; } }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; }

/* ---------- Marquee ---------- */
.marquee { background: linear-gradient(90deg, var(--red-dark), var(--red)); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 50px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 50px; font-family: var(--font-head); font-size: 22px; font-weight: 400; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--gold-2); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Call highlight band ---------- */
.call-band { position: relative; margin-top: -60px; z-index: 5; }
.call-band-inner {
    position: relative; overflow: hidden; border-radius: 28px; padding: 38px 44px;
    background: linear-gradient(120deg, var(--red-dark), var(--red) 55%, #E0663A);
    color: #fff; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
    box-shadow: 0 30px 60px rgba(126, 20, 24, .35);
}
.call-band-inner::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, .14) 2px, transparent 2.5px) 0 0/22px 22px;
    mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.call-band-icon {
    position: relative; width: 90px; height: 90px; border-radius: 50%; background: #fff; color: var(--red);
    display: grid; place-items: center; font-size: 38px;
}
.call-band-icon::before, .call-band-icon::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: ring 2s infinite;
}
.call-band-icon::after { animation-delay: 1s; }
.call-band h3 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 4px; position: relative; }
.call-band p { margin: 0; opacity: .9; position: relative; }
.call-band .big-phone { font-family: var(--font); font-weight: 700; font-size: clamp(24px, 3vw, 36px); letter-spacing: .03em; display: block; color: var(--gold-2); }
.call-band-actions { display: flex; flex-direction: column; gap: 12px; position: relative; }

/* ---------- Category cards ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-btn {
    border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 50px; padding: 10px 22px;
    font-weight: 500; font-size: 14px; cursor: pointer; transition: all .35s var(--ease);
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: linear-gradient(135deg, var(--red), var(--red-2)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(193, 39, 45, .3); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.cat-card {
    position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    border: 1px solid var(--line); display: flex; flex-direction: column;
    transition: box-shadow .5s var(--ease), translate .5s var(--ease);
    animation: cardIn .7s var(--ease) backwards; animation-delay: var(--i, 0s);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
.cat-card:hover { box-shadow: var(--shadow-lg); translate: 0 -8px; }
.cat-art {
    position: relative; height: 170px; display: grid; place-items: center; overflow: hidden;
    background: linear-gradient(135deg, var(--c1), var(--c2));
}
.cat-art::before {
    content: ""; position: absolute; left: -10%; right: -10%; bottom: -34px; height: 70px; background: #fff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.cat-art::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .35), transparent 40%),
                radial-gradient(circle at 85% 30%, rgba(255, 255, 255, .18) 0 18px, transparent 19px),
                radial-gradient(circle at 75% 70%, rgba(255, 255, 255, .15) 0 30px, transparent 31px);
}
.cat-art .drip { position: absolute; top: 0; width: 16px; background: rgba(255, 255, 255, .22); border-radius: 0 0 10px 10px; animation: drip 3s ease-in-out infinite; }
@keyframes drip { 0%, 100% { height: 20px; } 50% { height: 46px; } }
.cat-art i {
    position: relative; z-index: 1; font-size: 54px; color: #fff; text-shadow: 0 10px 20px rgba(0, 0, 0, .2);
    transition: transform .6s var(--ease);
}
.cat-card:hover .cat-art i { transform: scale(1.15) rotate(-6deg); }
.cat-body { padding: 18px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.cat-group { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); font-weight: 600; }
.cat-body h3 { font-size: 22px; margin: 6px 0 10px; }
.cat-body p { color: var(--muted); font-size: 15px; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chip { font-size: 12px; background: var(--cream); color: var(--ink-2); border-radius: 50px; padding: 4px 12px; border: 1px solid var(--line); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 600; font-size: 15px; }
.link-arrow i { transition: transform .4s var(--ease); }
.link-arrow:hover i, .cat-card:hover .link-arrow i { transform: translateX(6px); }

/* ---------- Tilt ---------- */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .3s ease-out, box-shadow .5s, translate .5s var(--ease); transform-style: preserve-3d; }
.tilt .shine-layer {
    position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .3s;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 45%);
}
.tilt:hover .shine-layer { opacity: 1; }

/* ---------- Usage map (where used) ---------- */
.usage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.usage-item {
    position: relative; padding: 30px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
    overflow: hidden; transition: all .5s var(--ease);
}
.usage-item::before {
    content: ""; position: absolute; inset: auto 0 0 0; height: 0; background: linear-gradient(135deg, var(--c1), var(--c2));
    transition: height .55s var(--ease); z-index: 0;
}
.usage-item:hover::before { height: 100%; }
.usage-item > * { position: relative; z-index: 1; transition: color .4s; }
.usage-item:hover h4, .usage-item:hover p, .usage-item:hover i { color: #fff; }
.usage-item i { font-size: 36px; color: var(--c1); display: block; margin-bottom: 14px; }
.usage-item h4 { font-size: 20px; margin-bottom: 6px; }
.usage-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Visualizer ---------- */
.visualizer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.viz-stage { background: #fff; border-radius: 28px; padding: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.viz-stage svg { width: 100%; height: auto; border-radius: 18px; display: block; }
.viz-stage .paint { transition: fill .8s var(--ease); }
.viz-tabs { display: inline-flex; background: var(--cream-2); border-radius: 50px; padding: 5px; margin-bottom: 22px; }
.viz-tabs button { border: 0; background: transparent; padding: 10px 22px; border-radius: 50px; font-weight: 600; cursor: pointer; color: var(--ink-2); transition: all .3s; }
.viz-tabs button.active { background: #fff; color: var(--red); box-shadow: var(--shadow); }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 22px 0; }
.swatch {
    aspect-ratio: 1; border-radius: 14px; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; position: relative;
}
.swatch:hover { transform: translateY(-4px) scale(1.06); }
.swatch.active { box-shadow: 0 0 0 3px var(--red), 0 8px 18px rgba(0, 0, 0, .18); transform: scale(1.08); }
.swatch.active::after { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 20px; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.shade-info { display: flex; align-items: center; gap: 16px; padding: 16px; background: #fff; border-radius: 16px; border: 1px solid var(--line); margin-bottom: 22px; }
.shade-info .big-swatch { width: 60px; height: 60px; border-radius: 14px; transition: background .6s; flex-shrink: 0; }
.shade-info strong { display: block; font-size: 18px; color: var(--ink); }
.shade-info small { color: var(--muted); }

/* ---------- Why us / features ---------- */
.feature {
    padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
    position: relative; overflow: hidden; transition: all .5s var(--ease);
}
.feature::after {
    content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; right: -50px; top: -50px;
    background: linear-gradient(135deg, rgba(193, 39, 45, .08), rgba(201, 139, 46, .12)); transition: transform .6s var(--ease);
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature:hover::after { transform: scale(3); }
.feature .ficon {
    width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; color: #fff;
    background: linear-gradient(135deg, var(--red), var(--gold)); margin-bottom: 20px; position: relative; z-index: 1;
    transition: transform .6s var(--ease);
}
.feature:hover .ficon { transform: rotateY(180deg); }
.feature h4 { font-size: 21px; position: relative; z-index: 1; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; position: relative; z-index: 1; }

/* ---------- Stats ---------- */
.stats-band { background: linear-gradient(135deg, #1E1414, #3A1517); color: #fff; position: relative; overflow: hidden; }
.stats-band::before {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background: radial-gradient(circle, rgba(201, 139, 46, .25) 2px, transparent 2.5px) 0 0/26px 26px;
}
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 20px; }
.stat i { font-size: 34px; color: var(--gold-2); }
.stat .num { display: block; font-family: var(--font-head); font-size: clamp(38px, 4.5vw, 56px); font-weight: 400; color: #fff; line-height: 1.2; margin: 8px 0 4px; }
.stat span.lbl { color: rgba(255, 255, 255, .7); font-size: 15px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.process::before { content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px); }
.step { text-align: center; position: relative; }
.step .num {
    width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
    background: #fff; border: 2px dashed var(--gold); color: var(--red); font-size: 34px; position: relative;
    transition: all .5s var(--ease);
}
.step .num b { position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; display: grid; place-items: center; }
.step:hover .num { background: var(--red); color: #fff; border-style: solid; transform: rotate(360deg); }
.step h4 { font-size: 19px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- Testimonials ---------- */
.testi-wrap { max-width: 860px; margin: 0 auto; overflow: hidden; position: relative; }
.testi-track { display: flex; transition: transform .8s var(--ease); }
.testi { min-width: 100%; padding: 10px 20px; text-align: center; }
.testi-card { background: #fff; border-radius: 28px; padding: 50px 46px 40px; box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.testi-card .quote { position: absolute; top: -26px; left: 50%; translate: -50% 0; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--gold)); color: #fff; display: grid; place-items: center; font-size: 26px; }
.testi-card p { font-size: 18px; font-style: italic; color: var(--ink-2); }
.stars { color: #F5B301; margin-bottom: 14px; letter-spacing: 3px; }
.testi-person { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 18px; background: linear-gradient(135deg, var(--red), var(--gold)); }
.testi-person strong { display: block; color: var(--ink); text-align: left; }
.testi-person small { color: var(--muted); display: block; text-align: left; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: #D9CFC2; cursor: pointer; transition: all .4s var(--ease); padding: 0; }
.dots button.active { width: 32px; background: var(--red); }
.testi-nav { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-size: 18px; transition: all .3s; }
.round-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- CTA band ---------- */
.cta {
    position: relative; overflow: hidden; border-radius: 32px; padding: 70px 50px; text-align: center; color: #fff;
    background: linear-gradient(135deg, var(--red-dark), var(--red) 50%, var(--gold));
    background-size: 200% 200%; animation: gradientMove 10s ease infinite;
}
@keyframes gradientMove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); }
.cta p { opacity: .92; max-width: 640px; margin: 0 auto 30px; font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta .ring-deco { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); animation: spin 30s linear infinite; }
.cta .ring-deco.r1 { width: 380px; height: 380px; top: -180px; left: -120px; border-style: dashed; }
.cta .ring-deco.r2 { width: 300px; height: 300px; bottom: -160px; right: -80px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden; padding: 110px 0 120px; text-align: center; color: #fff;
    background: linear-gradient(135deg, #2A0B0D, var(--red-dark) 45%, var(--red));
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, .12) 2px, transparent 2.5px) 0 0/24px 24px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    animation: panDots 20s linear infinite;
}
@keyframes panDots { to { background-position: 240px 240px; } }
.page-hero .container { position: relative; }
.page-hero .ph-icon {
    width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 20px; font-size: 34px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px);
    animation: fadeUp .9s var(--ease) both, floatY 5s 1s ease-in-out infinite;
}
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); animation: fadeUp .9s .1s var(--ease) both; }
.page-hero p { max-width: 640px; margin: 0 auto 22px; opacity: .88; font-size: 18px; animation: fadeUp .9s .2s var(--ease) both; }
.breadcrumb { display: inline-flex; gap: 10px; align-items: center; padding: 8px 20px; border-radius: 50px; background: rgba(255, 255, 255, .1); font-size: 14px; animation: fadeUp .9s .3s var(--ease) both; }
.breadcrumb a { color: var(--gold-2); }
.page-hero .swirl { position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(240, 196, 106, .12); animation: spin 25s linear infinite; }
.page-hero .swirl.s1 { top: -60px; right: 8%; border-right-color: transparent; }
.page-hero .swirl.s2 { bottom: -90px; left: 6%; border-left-color: transparent; width: 180px; height: 180px; animation-direction: reverse; }
.page-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-logo-card {
    position: relative; border-radius: 32px; background: #fff; box-shadow: var(--shadow-lg); padding: 40px; border: 1px solid var(--line);
    overflow: hidden;
}
.about-logo-card img { width: 78%; margin: 0 auto; }
.about-logo-card::before { content: ""; position: absolute; inset: 0; background: conic-gradient(from 0deg, transparent 0 70%, rgba(193, 39, 45, .12) 85%, transparent 100%); animation: spin 8s linear infinite; }
.about-logo-card > * { position: relative; }
.exp-badge {
    position: absolute; bottom: -26px; right: -16px; background: linear-gradient(135deg, var(--red), var(--red-2)); color: #fff;
    border-radius: 24px; padding: 20px 26px; text-align: center; box-shadow: var(--shadow-lg); animation: floatY 5s ease-in-out infinite;
}
.exp-badge strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 44px; line-height: 1; }
.exp-badge small { font-size: 13px; opacity: .9; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.check-list i { color: #fff; background: var(--red); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; margin-top: 3px; }
.mvv-card { padding: 40px 34px; border-radius: 24px; background: #fff; border: 1px solid var(--line); text-align: center; transition: all .5s var(--ease); position: relative; overflow: hidden; }
.mvv-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.mvv-card .ficon { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; color: var(--red); background: var(--cream); transition: all .5s var(--ease); }
.mvv-card:hover .ficon { background: var(--red); color: #fff; transform: scale(1.1); }
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; translate: -50% 0; background: linear-gradient(var(--red), var(--gold)); border-radius: 3px; }
.tl-item { position: relative; width: 50%; padding: 0 50px 50px; }
.tl-item:nth-child(odd) { text-align: right; }
.tl-item:nth-child(even) { margin-left: 50%; }
.tl-item::before { content: ""; position: absolute; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--red); box-shadow: 0 0 0 6px rgba(193, 39, 45, .15); }
.tl-item:nth-child(odd)::before { right: -11px; }
.tl-item:nth-child(even)::before { left: -11px; }
.tl-item .tag { display: inline-block; background: var(--gold); color: #fff; font-size: 13px; padding: 3px 14px; border-radius: 50px; margin-bottom: 8px; font-weight: 600; }
.tl-item h4 { font-size: 22px; }
.tl-item p { color: var(--muted); margin: 0; }

/* ---------- Services ---------- */
.service-card {
    position: relative; padding: 40px 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden;
    transition: all .5s var(--ease); z-index: 0;
}
.service-card::before {
    content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--red-dark), var(--red));
    clip-path: circle(0% at 100% 0%); transition: clip-path .7s var(--ease); z-index: -1;
}
.service-card:hover::before { clip-path: circle(150% at 100% 0%); }
.service-card:hover, .service-card:hover h3, .service-card:hover p, .service-card:hover li { color: #fff; }
.service-card .sicon { width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; background: var(--cream); color: var(--red); margin-bottom: 22px; transition: all .5s var(--ease); }
.service-card:hover .sicon { background: rgba(255, 255, 255, .15); color: #fff; transform: rotate(-10deg); }
.service-card h3 { font-size: 23px; transition: color .4s; }
.service-card p { color: var(--muted); transition: color .4s; }
.service-card li { display: flex; gap: 10px; font-size: 14.5px; margin-bottom: 6px; transition: color .4s; }
.service-card li i { color: var(--gold); }
.service-card .snum { position: absolute; right: 24px; top: 18px; font-family: var(--font-head); font-size: 64px; font-weight: 400; color: rgba(193, 39, 45, .07); transition: color .4s; }
.service-card:hover .snum { color: rgba(255, 255, 255, .12); }

.cat-row {
    display: grid; grid-template-columns: 280px 1fr; gap: 0; border-radius: 24px; overflow: hidden; background: #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow); transition: box-shadow .5s var(--ease), translate .5s var(--ease);
}
.cat-row:hover { box-shadow: var(--shadow-lg); translate: 0 -4px; }
.cat-row .cat-art { height: auto; min-height: 220px; }
.cat-row .cat-art::before { display: none; }
.cat-row-body { padding: 30px 34px; }
.cat-row-body h3 { font-size: 25px; }
.cat-row-body .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 16px 0 20px; }
.cat-row-body h5 { font-family: var(--font); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 8px; }
.mini-list li { font-size: 14.5px; display: flex; gap: 8px; margin-bottom: 4px; }
.mini-list li i { color: var(--red); }

/* Detail page */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.detail-card { background: #fff; border-radius: 24px; padding: 36px; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 28px; }
.detail-card h3 { font-size: 26px; }
.use-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.use-grid div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--cream); border-radius: 14px; font-weight: 500; color: var(--ink); transition: all .4s var(--ease); }
.use-grid div:hover { background: var(--red); color: #fff; transform: translateX(6px); }
.use-grid div i { color: var(--red); transition: color .4s; }
.use-grid div:hover i { color: #fff; }
.steps-list { counter-reset: s; }
.steps-list li { counter-increment: s; position: relative; padding: 0 0 22px 60px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--gold)); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps-list li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.steps-list li:last-child::after { display: none; }
.sidebar-box { position: sticky; top: 100px; }
.side-cta { border-radius: 24px; padding: 32px; color: #fff; background: linear-gradient(135deg, var(--red-dark), var(--red)); margin-bottom: 24px; text-align: center; }
.side-cta h4 { color: #fff; }
.side-cta .btn { margin-top: 10px; }
.side-links a { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 12px; transition: all .3s; font-weight: 500; }
.side-links a:hover, .side-links a.active { background: var(--cream); color: var(--red); }

/* ---------- Portfolio ---------- */
.project {
    position: relative; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
    animation: cardIn .6s var(--ease) backwards; animation-delay: var(--i, 0s); transition: box-shadow .5s, translate .5s var(--ease);
}
.project:hover { box-shadow: var(--shadow-lg); translate: 0 -8px; }
.project-art { height: 220px; display: flex; position: relative; overflow: hidden; }
.project-art span { flex: 1; transition: flex .6s var(--ease); }
.project:hover .project-art span:first-child { flex: 2.4; }
.project-art i {
    position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 80px; height: 80px; border-radius: 50%;
    background: rgba(255, 255, 255, .92); color: var(--red); display: grid; place-items: center; font-size: 34px; box-shadow: var(--shadow-lg);
    transition: transform .6s var(--ease);
}
.project:hover .project-art i { transform: scale(1.1) rotate(10deg); }
.project-tag { position: absolute; top: 16px; left: 16px; background: #fff; color: var(--red); padding: 5px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; box-shadow: var(--shadow); }
.project-body { padding: 24px 26px 26px; }
.project-body h3 { font-size: 21px; margin-bottom: 6px; }
.meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.meta i { color: var(--gold); margin-right: 4px; }
.project-body p { font-size: 14.5px; color: var(--muted); }
.palette { display: flex; gap: 6px; }
.palette span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }

.ba {
    position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; aspect-ratio: 16 / 8; background: #ddd;
}
.ba svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ba .after-layer { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; translate: -50% 0; background: #fff; pointer-events: none; }
.ba .handle::after {
    content: "\F12A  \F12B"; font-family: "bootstrap-icons"; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
    width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; font-size: 14px; box-shadow: var(--shadow-lg);
}
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .label { position: absolute; top: 18px; padding: 6px 16px; border-radius: 50px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; }
.ba .label.l { left: 18px; }
.ba .label.r { right: 18px; background: var(--red); }

/* ---------- Gallery ---------- */
.masonry { columns: 4 240px; column-gap: 20px; }
.g-item {
    break-inside: avoid; margin-bottom: 20px; border-radius: 20px; overflow: hidden; position: relative; cursor: zoom-in;
    box-shadow: var(--shadow); animation: cardIn .6s var(--ease) backwards; animation-delay: var(--i, 0s);
}
.g-art { height: var(--h, 260px); background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.g-item:hover .g-art { transform: scale(1.1) rotate(1deg); }
.g-photo { width: 100%; height: var(--h, 260px); object-fit: cover; display: block; }
.lb-photo { object-fit: cover; display: block; background: #2a1a1a; }
.g-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff;
    background: linear-gradient(180deg, transparent 40%, rgba(30, 10, 10, .85)); opacity: 0; transition: opacity .5s var(--ease);
}
.g-item:hover .g-overlay, .g-item:focus-visible .g-overlay { opacity: 1; }
.g-overlay small { color: var(--gold-2); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; transform: translateY(20px); transition: transform .5s var(--ease); }
.g-overlay h4 { color: #fff; font-size: 19px; margin: 4px 0 0; transform: translateY(20px); transition: transform .5s .05s var(--ease); }
.g-item:hover .g-overlay small, .g-item:hover .g-overlay h4 { transform: none; }
.g-zoom { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; transform: scale(0); transition: transform .5s var(--ease); }
.g-item:hover .g-zoom { transform: scale(1); }

.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(15, 5, 5, .92); display: grid; place-items: center; padding: 20px; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.lb-content { width: min(900px, 100%); animation: zoomIn .45s var(--ease); }
@keyframes zoomIn { from { transform: scale(.85); opacity: 0; } }
.lb-art { width: 100%; aspect-ratio: 16 / 10; border-radius: 22px; background-size: cover; background-position: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb-caption { color: #fff; text-align: center; margin-top: 18px; }
.lb-caption h3 { color: #fff; }
.lb-caption p { opacity: .8; }
.lb-btn { position: fixed; width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; cursor: pointer; transition: background .3s; z-index: 3001; }
.lb-btn:hover { background: var(--red); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; translate: 0 -50%; }
.lb-next { right: 24px; top: 50%; translate: 0 -50%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.info-card {
    display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
    margin-bottom: 18px; transition: all .4s var(--ease);
}
.info-card:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: transparent; }
.info-card .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff; flex-shrink: 0; background: linear-gradient(135deg, var(--red), var(--red-2)); }
.info-card.wa .ic { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.info-card.gold .ic { background: linear-gradient(135deg, var(--gold), var(--gold-2)); }
.info-card h4 { font-family: var(--font); font-size: 16px; margin-bottom: 4px; }
.info-card p, .info-card a { margin: 0; color: var(--muted); font-size: 15px; }
.info-card a:hover { color: var(--red); }
.info-card .big { font-size: 20px; color: var(--ink); font-weight: 600; }
.direction-btn {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 14px; border-radius: 50px;
    font-size: 13px; font-weight: 600; color: var(--red) !important; background: rgba(193, 39, 45, .08);
    border: 1px solid rgba(193, 39, 45, .25); transition: background .3s, color .3s, transform .3s var(--ease);
}
.direction-btn:hover { background: var(--red); color: #fff !important; transform: translateY(-2px); }
.direction-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--gold-2); }
.direction-link:hover { color: #fff; text-decoration: underline; }
.footer-contact .direction-link i { font-size: 13px; }
.footer-contact li > span { display: flex; flex-direction: column; align-items: flex-start; }
.form-card { background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; position: relative; }
.field label { display: block; font-weight: 500; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream);
    font-family: inherit; font-size: 15px; color: var(--ink); transition: border-color .3s, box-shadow .3s, background .3s; outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(193, 39, 45, .1); }
.field .invalid { border-color: #dc3545; }
.validation-message { color: #dc3545; font-size: 13px; margin-top: 4px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.map-wrap { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.toast {
    position: fixed; left: 50%; bottom: 100px; translate: -50% 0; z-index: 2500; background: var(--ink); color: #fff; padding: 14px 24px;
    border-radius: 50px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; animation: toastIn .5s var(--ease);
}
.toast i { color: var(--green); font-size: 20px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(30px); } }

.faq { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 14px; overflow: hidden; transition: box-shadow .4s, border-color .4s; }
.faq-item.open { box-shadow: var(--shadow); border-color: transparent; }
.faq-q { width: 100%; text-align: left; border: 0; background: transparent; padding: 20px 24px; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q i { width: 34px; height: 34px; border-radius: 50%; background: var(--cream); color: var(--red); display: grid; place-items: center; flex-shrink: 0; transition: transform .4s var(--ease), background .4s, color .4s; }
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: #160D0D; color: rgba(255, 255, 255, .7); padding-top: 90px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold), var(--red)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 20px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--gold); }
.footer-brand img { width: 84px; height: 84px; object-fit: contain; border-radius: 16px; background: #fff; padding: 6px; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s, transform .3s; font-size: 15px; }
.footer-links a i { font-size: 12px; color: var(--gold); }
.footer-links a:hover { color: var(--gold-2); transform: translateX(5px); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 15px; }
.footer-contact i { color: var(--gold-2); font-size: 18px; }
.footer-contact a:hover { color: var(--gold-2); }
.footer-bottom { margin-top: 60px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom .credit a { color: var(--gold-2); font-weight: 600; transition: color .3s; }
.footer-bottom .credit a:hover { color: #fff; text-decoration: underline; }
/* keep the bottom line clear of the floating call / WhatsApp / back-to-top buttons */
@media (min-width: 681px) and (max-width: 1400px) {
    .footer-bottom .container { padding-left: 84px; padding-right: 96px; }
}

/* ---------- Floating actions ---------- */
.fab-wrap { position: fixed; right: 22px; bottom: 26px; z-index: 1500; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.fab {
    position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25); transition: transform .4s var(--ease);
}
.fab:hover { transform: scale(1.1); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: ring 2s infinite; border: 2px solid currentColor; }
.fab.wa { background: var(--green); }
.fab.wa::before { border-color: var(--green); }
.fab.call { background: linear-gradient(135deg, var(--red), var(--red-2)); font-size: 24px; }
.fab.call::before { border-color: var(--red); animation-delay: 1s; }
.fab .tip {
    position: absolute; right: 74px; white-space: nowrap; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600;
    padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; transform: translateX(10px); pointer-events: none; transition: all .35s var(--ease);
}
.fab:hover .tip { opacity: 1; transform: none; }
.to-top {
    position: fixed; left: 22px; bottom: 26px; z-index: 1500; width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer;
    background: var(--ink); color: #fff; font-size: 20px; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease);
}
body.show-top .to-top { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); }
.mobile-bar { display: none; }

/* ---------- Page transition ---------- */
.page-anim { animation: pageIn .6s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- 404 ---------- */
.notfound { padding: 140px 0; text-align: center; }
.notfound h1 { font-size: 120px; margin: 0; }

/* ---------- Blazor error ---------- */
#blazor-error-ui {
    background: lightyellow; bottom: 0; box-shadow: 0 -1px 2px rgba(0, 0, 0, .2); display: none; left: 0;
    padding: .6rem 1.25rem .7rem 1.25rem; position: fixed; width: 100%; z-index: 5000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1260px) {
    .header-call .txt { display: none; }
    .nav a.nav-link { padding: 10px 10px; }
}

@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .usage { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .section { padding: 80px 0; }
    .topbar { display: none; }
    /* backdrop-filter would make the header the containing block of the fixed off-canvas menu */
    .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; z-index: 1600; }
    .menu-toggle { display: grid; place-items: center; }

    .nav { margin: 0; }
    .header-cta .btn { display: none; }
    .nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); z-index: 1700; background: #fff; flex-direction: column;
        align-items: stretch; gap: 0; padding: 20px; transform: translateX(100%); transition: transform .5s var(--ease);
        box-shadow: -20px 0 60px rgba(0, 0, 0, .15); overflow-y: auto;
    }
    .nav.open { transform: none; }
    .mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
    .mobile-nav-head img { width: 48px; }
    .nav a.nav-link { padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 17px; }
    .nav a.nav-link::after { display: none; }
    .nav.open a.nav-link { animation: fadeUp .5s var(--ease) both; }
    .nav.open a.nav-link:nth-of-type(2) { animation-delay: .05s; }
    .nav.open a.nav-link:nth-of-type(3) { animation-delay: .1s; }
    .nav.open a.nav-link:nth-of-type(4) { animation-delay: .15s; }
    .nav.open a.nav-link:nth-of-type(5) { animation-delay: .2s; }
    .nav.open a.nav-link:nth-of-type(6) { animation-delay: .25s; }
    .mobile-nav-foot { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
    .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 1600; background: rgba(20, 5, 5, .5); opacity: 0; pointer-events: none; transition: opacity .4s; }
    .nav-backdrop.open { opacity: 1; pointer-events: auto; }

    .hero { padding: 60px 0 110px; }
    .hero .container, .split, .visualizer, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 0; padding: 30px 0 10px; }
    .float-card.f1 { left: 0; }
    .float-card.f2 { right: 0; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); }
    .process::before { display: none; }
    .call-band-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .call-band-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .cat-row { grid-template-columns: 1fr; }
    .cat-row .cat-art { min-height: 160px; }
    .sidebar-box { position: static; }
    .about-visual { max-width: 480px; margin: 0 auto 30px; }
}

@media (max-width: 680px) {
    body { font-size: 15px; padding-bottom: 64px; }
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .header .container, body.scrolled .header .container { height: 68px; }
    .brand img { width: 44px; height: 44px; }
    .brand-text strong { font-size: 15px; }
    .brand-text small { letter-spacing: .1em; font-size: 10px; }
    .lang-btn { height: 42px; padding: 0 10px; gap: 6px; }
    .lang-btn .caret { display: none; }
    .header-call { display: none; }
    .grid-2, .grid-3, .grid-4, .usage, .form-row, .use-grid, .cat-row-body .cols { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .swatches { grid-template-columns: repeat(4, 1fr); }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-call-card { width: 100%; }
    .float-card { display: none; }
    .dot-triangle, .dot-row { gap: 7px; }
    .dot { width: 32px; }
    .hero-logo-text { margin-top: 14px; font-size: 30px; }
    .call-band-inner { padding: 30px 22px; }
    .call-band-actions .btn { flex: 1 1 100%; }
    .cta { padding: 50px 22px; border-radius: 24px; }
    .testi-card { padding: 44px 22px 30px; }
    .testi-card p { font-size: 16px; }
    .form-card, .detail-card { padding: 26px 20px; }
    .timeline::before { left: 11px; }
    .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 36px 44px; text-align: left; }
    .tl-item:nth-child(odd)::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
    .masonry { columns: 2 140px; column-gap: 12px; }
    .g-item { margin-bottom: 12px; border-radius: 14px; }
    .ba { aspect-ratio: 4 / 3; }
    .lb-prev, .lb-next { top: auto; bottom: 24px; translate: none; }
    .fab-wrap { display: none; }
    .to-top { bottom: 80px; left: auto; right: 16px; }
    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; height: 64px;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, .12);
    }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-weight: 600; font-size: 16px; }
    .mobile-bar a.call { background: linear-gradient(135deg, var(--red), var(--red-2)); }
    .mobile-bar a.wa { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
    .toast { bottom: 84px; width: calc(100% - 32px); justify-content: center; }
}

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