/* ==========================================================================
   Polish layer — motion, responsive navigation and refined components.
   Loaded after site.css. Brand palette and typography are unchanged.
   ========================================================================== */

:root {
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 74px;
}

html { scroll-behavior: smooth; }
body { overflow-x: clip; }
[hidden] { display: none !important; }
img { max-width: 100%; }
::selection { background: var(--edb-pink); color: #fff; }
:focus-visible { outline: 3px solid rgba(224, 17, 125, 0.45); outline-offset: 3px; border-radius: 6px; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.92) translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(34px, -28px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(224, 17, 125, 0.55); } 70% { box-shadow: 0 0 0 16px rgba(224, 17, 125, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 17, 125, 0); } }
@keyframes gradShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

@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 reveal ------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --- Scroll progress & back to top --------------------------------------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: linear-gradient(90deg, var(--edb-pink), #ff6fb0); box-shadow: 0 0 12px rgba(224, 17, 125, 0.6); transition: width 0.12s linear; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 48px; height: 48px; border: none; border-radius: 50%; cursor: pointer; color: #fff; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--edb-pink), var(--edb-pink-dark)); box-shadow: var(--edb-shadow); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* --- Header & navigation ------------------------------------------------- */
.site-header { transition: box-shadow 0.3s, background 0.3s; }
.site-header .navbar { padding-left: 24px; padding-right: 24px; transition: padding 0.3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 12px 32px -22px rgba(27, 29, 34, 0.5); background: rgba(255, 255, 255, 0.96); }
.site-header.is-scrolled .navbar { padding-top: 8px; padding-bottom: 8px; }
.brand img { transition: transform 0.5s var(--ease); }
.brand:hover img { transform: rotate(-14deg) scale(1.08); }
.nav-links .btn-primary { color: #fff; padding: 12px 22px; font-size: 14.5px; }
.nav-mobile-cta { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1.5px solid var(--edb-grey-200); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--edb-ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Buttons ------------------------------------------------------------- */
.btn { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent); transform: skewX(-20deg); transition: left 0.8s var(--ease); pointer-events: none; }
.btn-primary:hover::after { left: 140%; }
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-pulse { animation: pulseRing 2.8s infinite; }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 0.7s linear infinite; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; }
.arrow-link svg { transition: transform 0.3s var(--ease); }
a:hover > .arrow-link svg, .arrow-link:hover svg, .product-card:hover .arrow-link svg { transform: translateX(4px); }

/* --- Hero ---------------------------------------------------------------- */
.hero { padding: 118px 0 108px; }
.hero::before, .hero::after { display: none; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; transform: translate3d(calc(var(--mx, 0) * 22px), calc(var(--my, 0) * 22px), 0); transition: transform 0.4s ease-out; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 72% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 72% 40%, #000 0%, transparent 70%); }
.orb { position: absolute; border-radius: 50%; filter: blur(64px); animation: float 15s ease-in-out infinite; }
.orb-1 { width: 440px; height: 440px; background: #e0117d; opacity: 0.5; top: -140px; right: -90px; }
.orb-2 { width: 340px; height: 340px; background: #7a1d52; opacity: 0.6; bottom: -140px; left: -70px; animation-delay: -5s; }
.orb-3 { width: 210px; height: 210px; background: #ff4fa0; opacity: 0.22; top: 38%; left: 44%; animation-delay: -9s; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ff7ab8, #ffc2dd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.4s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.52s; }
.hero-visual { position: relative; display: flex; justify-content: center; animation: popIn 1.1s var(--ease) 0.25s both; transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -18px), 0); transition: transform 0.4s ease-out; }
.hero-device { position: relative; width: min(450px, 100%); aspect-ratio: 1; border-radius: 34px; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, #ffffff 0%, #f9e9f1 100%); box-shadow: 0 50px 90px -34px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.6); animation: bob 7s ease-in-out infinite; }
.hero-device::before { content: ""; position: absolute; inset: -16px; border-radius: 46px; border: 1px solid rgba(255, 255, 255, 0.2); }
.hero-device::after { content: ""; position: absolute; inset: -34px; border-radius: 58px; border: 1px dashed rgba(255, 255, 255, 0.1); }
.hero-device img { width: 90%; height: auto; mix-blend-mode: multiply; }
.hero-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.97); color: var(--edb-ink); font-size: 13.5px; font-weight: 700; box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.55); animation: bob 6s ease-in-out infinite; }
.hero-chip small { display: block; font-weight: 500; font-size: 11.5px; color: var(--edb-ink-soft); }
.hero-chip .ic { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, var(--edb-pink), var(--edb-pink-dark)); }
.chip-1 { top: 9%; left: -9%; }
.chip-2 { bottom: 13%; right: -9%; animation-delay: -2.4s; }
.hero-stats strong { font-size: 32px; }

/* --- Marquee ------------------------------------------------------------- */
.marquee { position: relative; overflow: hidden; padding: 20px 0; background: #fff; border-bottom: 1px solid var(--edb-grey-100); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 14px; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--edb-ink-soft); }
.marquee-item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--edb-pink); }

/* --- Category cards ------------------------------------------------------ */
.category-card { position: relative; overflow: hidden; display: block; }
.category-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--edb-pink), var(--edb-pink-dark)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.category-card:hover::before { transform: scaleX(1); }
.category-card .icon { transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; }
.category-card:hover .icon { background: linear-gradient(135deg, var(--edb-pink), var(--edb-pink-dark)); color: #fff; transform: rotate(-8deg) scale(1.08); }
.category-card .link { display: inline-block; transition: transform 0.3s var(--ease); }
.category-card:hover .link { transform: translateX(6px); }

/* --- Product cards & media ---------------------------------------------- */
.product-card { position: relative; }
.product-card:hover { border-color: rgba(224, 17, 125, 0.25); box-shadow: 0 26px 50px -26px rgba(154, 10, 84, 0.4); }
.product-media { height: 230px; display: flex; text-decoration: none; background: radial-gradient(circle at 50% 38%, #ffffff 0%, #fbeef5 72%); }
.product-media img { width: auto; height: auto; max-width: 88%; max-height: 88%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.7s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.09); }
.product-body h3 a { color: inherit; }
.product-body h3 a:hover { color: var(--edb-pink-dark); }
.media-placeholder { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--edb-pink-dark); }
.media-placeholder .ph-icon { width: 78px; height: 78px; border-radius: 24px; display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: 0 16px 34px -16px rgba(154, 10, 84, 0.55); transition: transform 0.5s var(--ease); }
.product-card:hover .media-placeholder .ph-icon { transform: rotate(-6deg) scale(1.08); }
.media-placeholder small { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.65; }

/* --- Inner page hero ----------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: 74px 0 58px; background: linear-gradient(180deg, #fdf0f6 0%, #ffffff 100%); border-bottom: 1px solid var(--edb-grey-100); }
.page-hero::before { content: ""; position: absolute; right: -120px; top: -170px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 17, 125, 0.17), transparent 70%); animation: float 16s ease-in-out infinite; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(154, 10, 84, 0.13) 1.2px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000 100%); mask-image: linear-gradient(90deg, transparent 45%, #000 100%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 50px); letter-spacing: -0.02em; max-width: 780px; }
.page-hero p.lead { color: var(--edb-ink-soft); font-size: 17px; max-width: 640px; margin-bottom: 0; }
.page-hero > .container > * { animation: rise 0.8s var(--ease) both; }
.page-hero > .container > *:nth-child(2) { animation-delay: 0.1s; }
.page-hero > .container > *:nth-child(3) { animation-delay: 0.2s; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 13.5px; color: var(--edb-ink-soft); }
.crumbs a { color: var(--edb-ink-soft); }
.crumbs a:hover { color: var(--edb-pink-dark); }
.crumbs .sep { opacity: 0.45; }

/* --- Product toolbar ----------------------------------------------------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.toolbar .filter-bar { margin-bottom: 0; }
.filter-chip { transition: all 0.25s var(--ease); }
.filter-chip:hover { transform: translateY(-2px); }
.search-box { position: relative; min-width: 260px; }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--edb-ink-soft); pointer-events: none; }
.search-box input { width: 100%; padding: 12px 16px 12px 44px; border-radius: 999px; border: 1.5px solid var(--edb-grey-200); font: 500 14.5px var(--font-body); color: var(--edb-ink); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.search-box input:focus { outline: none; border-color: var(--edb-pink); box-shadow: 0 0 0 4px var(--edb-pink-light); }
.result-count { font-size: 13.5px; color: var(--edb-ink-soft); margin-bottom: 20px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--edb-ink-soft); border: 1.5px dashed var(--edb-grey-200); border-radius: var(--edb-radius); }

/* --- Product detail ------------------------------------------------------ */
.detail-media { background: radial-gradient(circle at 50% 40%, #ffffff 0%, #fbeef5 75%); box-shadow: inset 0 0 0 1px var(--edb-grey-100); cursor: zoom-in; }
.detail-media img { width: auto; height: auto; max-width: 92%; max-height: 420px; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.35s ease-out; }
.detail-media .media-placeholder .ph-icon { width: 120px; height: 120px; border-radius: 34px; }
.spec-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0 8px; }
.spec-card { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--edb-grey-100); background: #fff; transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; }
.spec-card:hover { border-color: rgba(224, 17, 125, 0.3); transform: translateY(-3px); box-shadow: var(--edb-shadow-soft); }
.spec-card small { display: block; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--edb-ink-soft); font-weight: 700; }
.spec-card strong { font-family: var(--font-display); font-size: 17px; }
.feature-list li { transition: transform 0.25s var(--ease); }
.feature-list li:hover { transform: translateX(5px); }
.assurances { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--edb-grey-100); }
.assurances span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--edb-ink-soft); }
.assurances svg { color: var(--edb-pink-dark); }

/* --- Stats band, steps, value cards ------------------------------------- */
.stats-band { position: relative; overflow: hidden; padding: 70px 0; color: #fff; background: linear-gradient(120deg, #1b1d22 0%, #3b0f28 55%, #9a0a54 100%); }
.stats-band::before { content: ""; position: absolute; right: -100px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 79, 160, 0.4), transparent 70%); animation: float 14s ease-in-out infinite; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stats-grid > div { padding-left: 22px; border-left: 2px solid rgba(255, 255, 255, 0.18); }
.stats-grid strong { display: block; font-family: var(--font-display); font-size: clamp(34px, 4vw, 50px); line-height: 1.1; }
.stats-grid span { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.step { position: relative; padding: 34px 28px 30px; border-radius: var(--edb-radius); background: #fff; border: 1px solid var(--edb-grey-100); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--edb-shadow-soft); border-color: rgba(224, 17, 125, 0.25); }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 54px; line-height: 1; margin-bottom: 14px; background: linear-gradient(135deg, var(--edb-pink), var(--edb-pink-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 19px; }
.step p { color: var(--edb-ink-soft); font-size: 14.5px; margin-bottom: 0; }
.value-card { transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--edb-shadow-soft); border-color: rgba(224, 17, 125, 0.25); }
.value-card .icon { transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; }
.value-card:hover .icon { background: linear-gradient(135deg, var(--edb-pink), var(--edb-pink-dark)); color: #fff; transform: rotate(-8deg) scale(1.08); }
.stat-strip div { transition: transform 0.3s var(--ease), background 0.3s; }
.stat-strip div:hover { transform: translateY(-4px); background: var(--edb-pink-light); }

/* --- CTA band ------------------------------------------------------------ */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, #1b1d22, #3b0f28, #7a1d52, #3b0f28); background-size: 220% 220%; animation: gradShift 14s ease infinite; }
.cta-band::before { content: ""; position: absolute; right: -90px; top: -110px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 79, 160, 0.5), transparent 70%); }
.cta-band > * { position: relative; }

/* --- Contact ------------------------------------------------------------- */
.contact-card .row { transition: transform 0.3s var(--ease); }
.contact-card .row:hover { transform: translateX(6px); }
.contact-card .row .ic { transition: background 0.3s; }
.contact-card .row:hover .ic { background: var(--edb-pink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group .form-control { transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map-frame { margin-top: 56px; border-radius: var(--edb-radius); overflow: hidden; border: 1px solid var(--edb-grey-100); box-shadow: var(--edb-shadow-soft); line-height: 0; }
.map-frame iframe { width: 100%; height: 380px; border: 0; filter: grayscale(0.25) contrast(1.05); }
.success-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 22px; border-radius: var(--edb-radius-sm); background: #e8f6ee; border: 1px solid #c7e9d3; color: #226b45; animation: popIn 0.6s var(--ease) both; }
.success-card .tick { width: 42px; height: 42px; border-radius: 50%; background: #2e9e63; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.success-card .tick path { stroke-dasharray: 26; stroke-dashoffset: 26; animation: drawCheck 0.6s 0.35s ease forwards; }
.success-card strong { display: block; }

/* --- Footer -------------------------------------------------------------- */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--edb-pink), var(--edb-pink-dark), var(--edb-pink)); background-size: 200% 100%; animation: gradShift 8s linear infinite; }
.site-footer ul a { display: inline-block; transition: transform 0.25s var(--ease), color 0.2s; }
.site-footer ul a:hover { transform: translateX(5px); }

/* --- Status / error pages ------------------------------------------------ */
.status-page { position: relative; overflow: hidden; padding: 110px 0 120px; text-align: center; background: linear-gradient(180deg, #fdf0f6, #fff); }
.status-page::before { content: ""; position: absolute; left: 50%; top: -200px; width: 640px; height: 640px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(224, 17, 125, 0.16), transparent 70%); }
.status-page .container { position: relative; }
.status-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 18vw, 190px); line-height: 1; letter-spacing: -0.04em; background: linear-gradient(135deg, var(--edb-pink), var(--edb-pink-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; animation: popIn 0.9s var(--ease) both; }
.status-page h1 { font-size: clamp(26px, 3.4vw, 38px); }
.status-page p { color: var(--edb-ink-soft); max-width: 520px; margin: 0 auto 28px; }
.status-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --- Admin polish -------------------------------------------------------- */
.admin-mobilebar, .admin-overlay { display: none; }
.admin-sidebar { transition: transform 0.35s var(--ease); }
.admin-nav a { transition: background 0.2s, color 0.2s, transform 0.2s var(--ease); }
.admin-nav a:hover { transform: translateX(4px); }
.admin-main > * { animation: rise 0.55s var(--ease) both; }
.stat-card { transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--edb-shadow-soft); border-color: rgba(224, 17, 125, 0.25); }
.admin-table tbody tr { transition: background 0.2s; }
.admin-table tbody tr:hover { background: #fdf6fa; }
.admin-card { overflow-x: auto; }
.table-thumb { object-fit: contain; padding: 3px; background: #fff; border: 1px solid var(--edb-grey-100); }
.login-shell { position: relative; overflow: hidden; }
.login-shell::before, .login-shell::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); animation: float 16s ease-in-out infinite; }
.login-shell::before { width: 420px; height: 420px; right: -100px; top: -120px; background: rgba(224, 17, 125, 0.5); }
.login-shell::after { width: 320px; height: 320px; left: -80px; bottom: -100px; background: rgba(122, 29, 82, 0.7); animation-delay: -6s; }
.login-card { position: relative; z-index: 1; animation: popIn 0.8s var(--ease) both; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--edb-grey-100); box-shadow: 0 30px 40px -30px rgba(27, 29, 34, 0.35); max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: max-height 0.45s var(--ease), opacity 0.3s, visibility 0.3s, padding 0.3s; }
  body.nav-open .nav-links { max-height: 440px; opacity: 1; visibility: visible; padding: 8px 24px 22px; }
  .nav-links a:not(.btn) { padding: 15px 0; font-size: 16px; border-bottom: 1px solid var(--edb-grey-100); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-mobile-cta { display: inline-flex; margin-top: 18px; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 84px 0 80px; }
  .hero-visual { margin-top: 20px; }

  /* admin drawer */
  .admin-mobilebar { display: flex; position: sticky; top: 0; z-index: 70; align-items: center; gap: 14px; padding: 12px 18px; background: var(--edb-ink); color: #fff; }
  .admin-mobilebar .brand strong { color: #fff; font-size: 15px; }
  .admin-menu-toggle { width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
  .admin-sidebar { display: flex; position: fixed; z-index: 90; left: 0; top: 0; bottom: 0; width: 272px; transform: translateX(-102%); overflow-y: auto; }
  body.admin-nav-open .admin-sidebar { transform: none; }
  .admin-overlay { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(15, 16, 20, 0.55); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
  body.admin-nav-open .admin-overlay { opacity: 1; visibility: visible; }
  .admin-main { padding: 22px 16px; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr; }
  .spec-cards { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search-box { min-width: 0; }
  .hero-chip { padding: 9px 12px 9px 9px; font-size: 12.5px; }
  .hero-chip .ic { width: 30px; height: 30px; }
  .section { padding: 64px 0; }
  .page-hero { padding: 56px 0 44px; }
  .to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .hero-stats { gap: 12px; }
  .hero-stats strong { font-size: 26px; }
}

/* Counters inherit the typography of their parent <strong>, not the label <span> rules. */
[data-count]:not(strong) { font: inherit !important; letter-spacing: inherit !important; text-transform: none !important; color: inherit !important; }
