:root {
  --brand: #e30613;
  --brand-dark: #b8000a;
  --brand-soft: #fff0f1;
  --ink: #12141a;
  --ink-2: #2d313a;
  --muted: #667085;
  --line: #e5e7eb;
  --surface: #f5f6f8;
  --surface-2: #eef1f5;
  --white: #fff;
  --navy: #0c1b34;
  --success: #149447;
  --warning: #b45309;
  --danger: #c5192d;
  --shadow-sm: 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-md: 0 18px 50px rgba(16, 24, 40, .14);
  --shadow-lg: 0 30px 80px rgba(7, 13, 28, .23);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1240px;
  --font: "Segoe UI Variable", "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body, input, select, textarea, button { font-family: var(--font); }
img, video, svg { display: block; max-width: 100%; }
img { object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, summary, select { cursor: pointer; }
button { color: inherit; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 760; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
ul { padding: 0; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.content-narrow { width: min(100%, 790px); }
.section { padding: clamp(68px, 9vw, 118px) 0; }
.section-muted { background: var(--surface); }
.section-dark { color: var(--white); background: var(--ink); }
.section-dark h2, .section-dark h3, .section-dark p { color: inherit; }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 10px 14px; color: var(--white); background: var(--brand); border-radius: 8px; transform: translateY(-140%); }
.skip-link:focus { transform: none; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--brand); border-radius: var(--radius-sm); color: #fff; background: var(--brand); box-shadow: 0 8px 20px rgba(227, 6, 19, .2); font-size: .93rem; font-weight: 760; line-height: 1.15; text-align: center; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); box-shadow: 0 12px 28px rgba(227, 6, 19, .26); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-light { color: var(--ink); background: #fff; border-color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .16); }
.button-light:hover { color: var(--brand); background: #fff; border-color: #fff; }
.button-secondary { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: none; }
.button-secondary:hover { color: var(--brand); background: var(--brand-soft); border-color: #ffc8cc; }
.button-ghost-light { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); box-shadow: none; backdrop-filter: blur(8px); }
.button-ghost-light:hover { color: var(--ink); background: #fff; border-color: #fff; }
.button-sm { min-height: 40px; padding: 9px 15px; font-size: .84rem; }
.button-block { width: 100%; }
.text-link, .text-button { color: var(--brand); font: inherit; font-weight: 760; background: none; border: 0; text-decoration: none; }
.text-link:hover, .text-button:hover { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 4px; }
.danger { color: var(--danger); }
:focus-visible { outline: 3px solid rgba(227, 6, 19, .32); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; z-index: 1000; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(229,231,235,.8); backdrop-filter: blur(16px); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(16,24,40,.09); }
.utility { display: none; color: #fff; background: var(--ink); font-size: .76rem; }
.utility-inner { min-height: 32px; display: flex; align-items: center; justify-content: space-between; }
.utility-inner span { display: flex; align-items: center; gap: 7px; }
.utility-inner i { width: 7px; height: 7px; background: #42d17a; border-radius: 50%; box-shadow: 0 0 0 4px rgba(66,209,122,.13); }
.utility a { font-weight: 700; }
.header-main { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 145px; height: auto; object-fit: contain; }
.desktop-nav { display: none; align-items: center; gap: clamp(16px, 2vw, 30px); }
.desktop-nav > a, .nav-dropdown > summary { color: var(--ink-2); font-size: .88rem; font-weight: 680; list-style: none; transition: color .2s ease; }
.desktop-nav > a:not(.button):hover, .nav-dropdown > summary:hover { color: var(--brand); }
.desktop-nav > .button { color: #fff; }
.nav-dropdown { position: relative; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { margin-left: 6px; content: "⌄"; }
.nav-dropdown > div { position: absolute; top: calc(100% + 14px); left: 50%; width: 240px; padding: 9px; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-md); transform: translateX(-50%); }
.nav-dropdown > div::before { position: absolute; top: -15px; left: 0; width: 100%; height: 15px; content: ""; }
.nav-dropdown > div a { display: block; padding: 10px 12px; border-radius: 8px; font-size: .88rem; font-weight: 620; }
.nav-dropdown > div a:hover { color: var(--brand); background: var(--brand-soft); }
.mobile-menu { position: relative; }
.mobile-menu > summary { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu > summary span { width: 20px; height: 2px; background: var(--ink); border-radius: 9px; transition: transform .2s ease; }
.mobile-menu[open] > summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu[open] > summary span:nth-child(2) { opacity: 0; }
.mobile-menu[open] > summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu nav { position: fixed; top: 73px; right: 12px; left: 12px; max-height: calc(100vh - 90px); padding: 12px; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
.mobile-menu nav a { display: block; padding: 13px 12px; border-bottom: 1px solid var(--line); font-weight: 680; }
.mobile-menu nav .mobile-subitem { padding-left: 28px; color: var(--muted); font-size: .9rem; }
.mobile-menu nav .mobile-menu-cta { margin-top: 10px; color: #fff; background: var(--brand); border: 0; border-radius: 10px; text-align: center; }

/* Hero and lead */
.hero { position: relative; min-height: 930px; display: grid; isolation: isolate; overflow: hidden; color: #fff; background: #151b2c; }
.hero-art, .hero-shade { position: absolute; z-index: -2; inset: 0; }
.hero-art img, .hero-art picture, .hero-art video { width: 100%; height: 100%; object-fit: cover; }
.hero-art img, .hero-art video { object-position: 51% center; }
.hero-shade { z-index: -1; background: linear-gradient(180deg, rgba(8,11,22,.26) 0%, rgba(8,11,22,.62) 34%, rgba(8,11,22,.88) 100%), radial-gradient(circle at 50% 30%, transparent 0, rgba(8,11,22,.32) 70%); }
.hero-layout { display: grid; align-items: center; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
.hero-copy { max-width: 560px; padding-top: 40px; }
.hero-copy h1 { max-width: 720px; color: #fff; font-size: clamp(2.4rem, 7vw, 4.8rem); text-shadow: 0 3px 24px rgba(0,0,0,.25); }
.hero-copy > p { max-width: 570px; margin: 20px 0 26px; color: rgba(255,255,255,.89); font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-lead-form { width: 100%; max-width: 490px; justify-self: end; padding: 24px; color: var(--ink); background: rgba(255,255,255,.98); border: 1px solid rgba(255,255,255,.64); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-kicker { display: grid; margin-bottom: 15px; }
.form-kicker span { color: var(--brand); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.form-kicker strong { font-size: 1.45rem; line-height: 1.2; }
.form-kicker small { color: var(--muted); }
.form-progress { display: flex; align-items: center; margin: 2px 0 16px; }
.form-progress span { width: 28px; height: 28px; display: grid; place-items: center; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 50%; font-size: .75rem; font-weight: 800; }
.form-progress span.is-active { color: #fff; background: var(--brand); border-color: var(--brand); }
.form-progress i { width: 42px; height: 2px; background: var(--line); }
.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-step + .form-step { margin-top: 22px; }
.hero-lead-form.is-enhanced .form-step { display: none; }
.hero-lead-form.is-enhanced .form-step.is-active { display: block; animation: form-in .25s ease both; }
.form-step legend { margin-bottom: 12px; padding: 0; font-size: 1rem; font-weight: 760; }
.form-step-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.form-hint { margin: -2px 0 12px; padding: 8px 10px; color: var(--warning); background: #fff7ed; border-radius: 8px; font-size: .78rem; }
@keyframes form-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

label { display: block; margin: 0 0 6px; color: var(--ink-2); font-size: .82rem; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: #fff; border: 1px solid #cfd4dc; border-radius: 9px; font-size: 16px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
input:hover, select:hover, textarea:hover { border-color: #aeb5c0; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(227,6,19,.1); }
textarea { min-height: 126px; resize: vertical; }
select { appearance: auto; }
.form-row, .document-row { display: grid; gap: 11px; }
.form-row > div, .document-row > div { min-width: 0; }
.form-step > label, .form-step > select, .form-step > input, .form-step > .form-row, .form-step > .document-row { margin-bottom: 11px; }
.check { display: flex; align-items: flex-start; gap: 9px; }
.check input { width: 18px; min-height: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--brand); }
.check span { font-size: .84rem; font-weight: 540; line-height: 1.35; }
.compact-check { margin-bottom: 7px !important; }
.consent-check { width: 100%; margin: 12px 0 !important; padding: 12px; background: #f7f8fa; border-left: 3px solid var(--brand); border-radius: 4px; }
.consent-check span { color: #343a43; font-size: .78rem; line-height: 1.5; }
.consent-check a { font-weight: 700; }
.form-step > small, .field-help { display: block; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.error-summary { margin-bottom: 14px; padding: 10px 12px; color: #8f1020; background: #fff1f2; border: 1px solid #fecdd3; border-radius: 9px; font-size: .78rem; }
.error-summary ul { margin: 5px 0 0 18px; }

/* Home */
.trust-strip { position: relative; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 35px rgba(16,24,40,.06); }
.trust-strip-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; padding: 20px 0; }
.trust-strip-grid span { display: flex; min-height: 60px; flex-direction: column; justify-content: center; padding: 8px 14px; color: var(--muted); border-right: 1px solid var(--line); font-size: .75rem; }
.trust-strip-grid span:nth-child(2n) { border-right: 0; }
.trust-strip-grid strong { color: var(--ink); font-size: .91rem; }
.section-heading { display: flex; flex-direction: column; gap: 16px; margin-bottom: 34px; }
.section-heading h2 { max-width: 760px; }
.section-heading > p, .section-heading > div > p { max-width: 540px; margin: 10px 0 0; }
.section-heading.centered { align-items: center; text-align: center; }
.section-heading.centered > div { display: grid; justify-items: center; }
.carousel-shell { position: relative; }
.category-carousel { display: grid; grid-auto-columns: minmax(270px, 83vw); grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.category-carousel::-webkit-scrollbar { display: none; }
.category-card { position: relative; min-height: 360px; overflow: hidden; background: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); scroll-snap-align: start; isolation: isolate; }
.category-card img, .category-placeholder { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.category-placeholder { background: linear-gradient(135deg,#202533,#42495b); }
.category-card::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(180deg,transparent 32%,rgba(5,8,16,.88) 100%); }
.category-card:hover img { transform: scale(1.05); }
.category-overlay { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: grid; padding: 24px; color: #fff; }
.category-overlay small { color: rgba(255,255,255,.72); font-size: .76rem; text-transform: uppercase; }
.category-overlay strong { font-size: 1.65rem; line-height: 1.1; }
.category-overlay i { margin-top: 12px; color: #fff; font-size: .84rem; font-style: normal; font-weight: 750; }
.carousel-control { position: absolute; z-index: 5; top: 50%; width: 46px; height: 46px; display: none; place-items: center; padding: 0; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow-sm); font-size: 1.8rem; transform: translateY(-50%); }
.carousel-prev { left: -23px; }
.carousel-next { right: -23px; }
.product-grid { display: grid; gap: 18px; }
.product-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 25px rgba(16,24,40,.05); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { border-color: #d5d8dd; box-shadow: var(--shadow-md); transform: translateY(-5px); }
.product-media { position: relative; min-height: 235px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#fff,#eef1f5); }
.product-media img { width: 100%; height: 245px; object-fit: contain; padding: 10px; transition: transform .4s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.moto-placeholder { display: grid; place-items: center; color: #a0a7b3; }
.product-body { padding: 21px; }
.product-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.product-badge { padding: 4px 8px; color: var(--brand); background: var(--brand-soft); border-radius: 99px; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.product-body h3 { font-size: 1.4rem; }
.product-body h3 a::after { content: ""; position: absolute; }
.product-body > p { min-height: 50px; margin: 7px 0 18px; font-size: .9rem; }
.price-line { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 15px; border-top: 1px solid var(--line); }
.price-line > small { color: var(--muted); font-size: .7rem; }
.price-line > div { text-align: right; }
.price-line strong { font-size: 1.35rem; letter-spacing: -.03em; }
.price-line div small { color: var(--muted); font-size: .68rem; }
.card-actions { display: grid; gap: 12px; margin-top: 18px; }
.card-actions .text-link { justify-self: center; font-size: .83rem; }
.section-cta { margin-top: 36px; text-align: center; }
.purchase-grid { display: grid; gap: 16px; }
.purchase-grid article { position: relative; padding: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.purchase-grid article > span { color: #c5cad3; font-size: 2.6rem; font-weight: 850; line-height: 1; }
.purchase-grid h3 { margin: 25px 0 10px; font-size: 1.5rem; }
.purchase-grid p { min-height: 76px; }
.purchase-grid a { color: var(--brand); font-size: .88rem; font-weight: 780; }
.purchase-grid .featured { color: #fff; background: linear-gradient(145deg,var(--brand),#a50009); border-color: transparent; }
.purchase-grid .featured h3, .purchase-grid .featured p, .purchase-grid .featured a { color: #fff; }
.purchase-grid .featured > span { color: rgba(255,255,255,.3); }
.purchase-grid em { position: absolute; top: 22px; right: 22px; padding: 5px 9px; color: var(--brand); background: #fff; border-radius: 99px; font-size: .67rem; font-style: normal; font-weight: 800; text-transform: uppercase; }
.service-showcase { color: #fff; background: radial-gradient(circle at 85% 10%,#263c61 0,transparent 35%),linear-gradient(135deg,#0b172c,#111d33 60%,#20131b); }
.service-layout { display: grid; gap: 38px; }
.service-copy h2 { color: #fff; }
.service-copy > p { margin: 18px 0 24px; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.unit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.service-grid { display: grid; gap: 14px; }
.service-card { padding: 24px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); backdrop-filter: blur(10px); }
.service-card h2, .service-card h3 { margin: 15px 0 8px; color: inherit; }
.service-card p { margin: 0; color: rgba(255,255,255,.7); font-size: .88rem; }
.service-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--brand); border-radius: 12px; font-weight: 850; }
.service-grid-light .service-card { color: var(--ink); background: #fff; border-color: var(--line); }
.service-grid-light .service-card p { color: var(--muted); }
.testimonials { background: #fff; }
.testimonial-grid { display: grid; gap: 16px; }
.testimonial-card { position: relative; margin: 0; padding: 25px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.quote-mark { position: absolute; top: 4px; right: 18px; color: var(--brand-soft); font-family: Georgia,serif; font-size: 7rem; line-height: 1; }
.stars { position: relative; color: #f5a524; font-size: .9rem; letter-spacing: .08em; }
.testimonial-card blockquote { position: relative; min-height: 100px; margin: 14px 0 23px; color: var(--ink-2); font-size: .98rem; line-height: 1.65; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 50px; height: 50px; display: grid; flex: 0 0 auto; place-items: center; overflow: hidden; color: #fff; background: var(--brand); border-radius: 50%; font-weight: 800; }
.avatar img { width: 100%; height: 100%; }
.testimonial-card figcaption > span:last-child { display: grid; }
.source-badge { color: var(--muted); font-size: .75rem; }
.article-grid { display: grid; gap: 18px; }
.article-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.article-image { height: 210px; display: block; overflow: hidden; background: linear-gradient(145deg,#212b3b,#5d6675); }
.article-image img { width: 100%; height: 100%; transition: transform .45s ease; }
.article-card:hover .article-image img { transform: scale(1.04); }
.article-body { padding: 22px; }
.article-body h2, .article-body h3 { margin-bottom: 10px; font-size: 1.3rem; }
.article-body p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: .9rem; }
.article-body > small { display: block; margin: 10px 0; color: var(--muted); }
.final-cta { padding: clamp(65px,8vw,100px) 0; color: #fff; background: linear-gradient(120deg,#ac0009,var(--brand) 50%,#f12934); }
.final-cta h2 { color: #fff; }
.final-cta p { max-width: 650px; margin: 14px 0 0; color: rgba(255,255,255,.82); }
.final-cta-inner { display: grid; gap: 28px; align-items: center; }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Secondary public pages */
.page-hero { padding: 82px 0; color: #fff; background: radial-gradient(circle at 80% 10%,#344968 0,transparent 34%),linear-gradient(135deg,#0a162b,#182740); }
.page-hero h1 { max-width: 850px; color: #fff; font-size: clamp(2.35rem,6vw,4.3rem); }
.page-hero p { max-width: 720px; margin-top: 18px; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.page-hero-blog { background: linear-gradient(100deg,rgba(8,15,31,.95),rgba(8,15,31,.68)),url('../images/banner-kuromi-1920x700.webp') center/cover; }
.breadcrumbs { display: flex; gap: 8px; padding-top: 22px; padding-bottom: 22px; color: var(--muted); font-size: .8rem; }
.breadcrumbs a:hover { color: var(--brand); }
.catalog-layout { display: grid; gap: 30px; }
.filters { align-self: start; }
.filters form { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.filters form > input, .filters form > select { margin-bottom: 14px; }
.filters form .button { width: 100%; margin: 5px 0 12px; }
.filters form .text-link { display: block; text-align: center; }
.results-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.results-head h2 { font-size: 1.4rem; }
.results-head p { font-size: .8rem; }
.empty-state { padding: 60px 25px; background: var(--surface); border-radius: var(--radius); text-align: center; }
.empty-state p { margin: 12px 0 20px; }
.product-hero { padding: 20px 0 68px; }
.product-hero-grid { display: grid; gap: 35px; align-items: center; }
.product-gallery { min-width: 0; padding: 18px; background: linear-gradient(145deg,#fff,#f0f2f5); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.product-gallery > img { width: 100%; max-height: 560px; object-fit: contain; }
.moto-placeholder-large { min-height: 420px; }
.color-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.color-chip { display: flex; align-items: center; gap: 6px; padding: 5px 9px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 99px; font-size: .72rem; }
.product-summary h1 { font-size: clamp(2.7rem,7vw,5rem); }
.lead-copy { margin: 18px 0; font-size: 1.08rem; }
.price-box { margin: 22px 0; padding: 20px; background: var(--surface); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; }
.price-box > small, .price-box > span { display: block; color: var(--muted); font-size: .78rem; }
.price-box strong { display: block; font-size: clamp(2rem,5vw,3rem); line-height: 1.1; }
.price-box p { margin: 8px 0 0; font-size: .75rem; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.assurance-list, .check-list { display: grid; gap: 8px; margin: 20px 0 0; list-style: none; }
.assurance-list li, .check-list li { position: relative; padding-left: 25px; color: var(--muted); font-size: .87rem; }
.assurance-list li::before, .check-list li::before { position: absolute; left: 0; content: "✓"; color: var(--success); font-weight: 900; }
.product-copy { font-size: 1.05rem; }
.product-copy h2, .product-copy h3 { margin: 36px 0 12px; }
.spec-grid { display: grid; gap: 12px; }
.spec-grid div { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.spec-grid dt { color: var(--muted); font-size: .73rem; font-weight: 700; text-transform: uppercase; }
.spec-grid dd { margin: 5px 0 0; font-weight: 750; }
.lead-section { background: linear-gradient(145deg,#f7f8fa,#eef1f5); }
.lead-grid { display: grid; gap: 35px; align-items: start; }
.lead-form { padding: clamp(20px,4vw,34px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.lead-form fieldset { margin: 0 0 25px; padding: 0; border: 0; }
.lead-form legend { margin-bottom: 12px; font-weight: 800; }
.lead-form fieldset > input, .lead-form fieldset > select, .lead-form fieldset > [data-document] { margin-bottom: 12px; }
.lead-form .form-row { margin-bottom: 12px; }
.form-note { margin: 10px 0 0; font-size: .72rem; text-align: center; }
.article-hero { position: relative; min-height: 570px; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.article-hero-media, .article-hero-shade { position: absolute; z-index: -2; inset: 0; }
.article-hero-media img, .article-hero-media span { width: 100%; height: 100%; display: block; object-fit: cover; }
.article-hero-media span { background: linear-gradient(145deg,#1f2c44,#111827); }
.article-hero-shade { z-index: -1; background: linear-gradient(180deg,rgba(4,9,18,.12),rgba(4,9,18,.9)); }
.article-hero-content { padding-top: 100px; padding-bottom: 55px; }
.article-hero-content h1 { max-width: 960px; color: #fff; font-size: clamp(2.4rem,7vw,4.7rem); }
.article-hero-content p { max-width: 760px; margin: 17px 0 12px; color: rgba(255,255,255,.8); font-size: 1.05rem; }
.article-hero-content small { color: rgba(255,255,255,.68); }
.article-layout { display: grid; gap: 40px; padding-top: 60px; padding-bottom: 90px; }
.article-content { min-width: 0; color: var(--ink-2); font-size: 1.06rem; line-height: 1.8; }
.article-content h2, .article-content h3 { margin: 38px 0 14px; }
.article-content img { margin: 25px 0; border-radius: var(--radius); }
.article-content a { color: var(--brand); text-decoration: underline; }
.article-aside { align-self: start; }
.inline-cta { padding: 25px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.inline-cta h2 { font-size: 1.45rem; }
.inline-cta p { margin: 12px 0 18px; }
.inline-cta .text-link { display: block; margin-top: 15px; text-align: center; }
.legal-copy h2 { margin: 32px 0 8px; }
.thanks-page { min-height: 70vh; display: grid; place-items: center; padding: 80px 0; text-align: center; }
.thanks-page .content-narrow { margin-inline: auto; }
.success-mark { width: 70px; height: 70px; display: grid; margin: 0 auto 18px; place-items: center; color: #fff; background: var(--success); border-radius: 50%; font-size: 2rem; }
.thanks-page code { display: inline-block; margin: 12px 0 25px; padding: 8px 12px; background: var(--surface); border-radius: 8px; }
.thanks-page .hero-actions { justify-content: center; }
.thanks-page--lead { position: relative; min-height: calc(100svh - var(--header-height)); padding: clamp(44px,7vw,88px) 0; overflow: hidden; background: var(--surface); text-align: left; isolation: isolate; }
.thanks-shell { width: min(100%,1060px); display: grid; margin-inline: auto; overflow: hidden; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.thanks-confirmation, .thanks-next { padding: clamp(30px,6vw,68px); }
.thanks-confirmation { display: grid; align-content: center; color: #fff; background: var(--brand); }
.thanks-confirmation h1 { max-width: 12ch; color: #fff; font-size: clamp(2.3rem,7vw,4.4rem); letter-spacing: -.035em; }
.thanks-confirmation > p { max-width: 48ch; margin: 20px 0 0; color: rgba(255,255,255,.86); font-size: 1rem; }
.success-mark--lead { width: 76px; height: 76px; margin: 0 0 30px; color: var(--brand); background: #fff; box-shadow: 0 14px 30px rgba(83,0,0,.2); }
.thanks-reference { display: grid; gap: 6px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.34); }
.thanks-reference > span { color: rgba(255,255,255,.76); font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.thanks-page--lead .thanks-reference code { max-width: 100%; display: block; margin: 0; padding: 0; overflow-wrap: anywhere; color: #fff; background: transparent; border-radius: 0; font-size: .88rem; font-variant-numeric: tabular-nums; }
.thanks-next { display: grid; align-content: center; }
.thanks-next h2 { max-width: 14ch; font-size: clamp(1.8rem,4vw,2.5rem); }
.thanks-journey { display: grid; gap: 0; margin: 30px 0 34px; list-style: none; }
.thanks-journey__step { position: relative; min-height: 74px; display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 15px; align-items: start; }
.thanks-journey__step:not(:last-child)::after { position: absolute; top: 38px; bottom: 0; left: 18px; width: 1px; content: ""; background: var(--line); }
.thanks-journey__marker { position: relative; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 50%; font-size: .76rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.thanks-journey__step.is-complete .thanks-journey__marker { color: #fff; background: var(--success); border-color: var(--success); }
.thanks-journey__step > span:last-child { display: grid; gap: 4px; padding: 5px 0 18px; }
.thanks-journey__step strong { color: var(--ink); font-size: .96rem; }
.thanks-journey__step small { max-width: 45ch; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.thanks-actions { display: grid; gap: 10px; }
.thanks-page--lead .thanks-actions { justify-content: stretch; }
.thanks-actions .button { width: 100%; min-height: 52px; }

/* Footer */
.site-footer { padding-top: 66px; color: rgba(255,255,255,.68); background: #111318; }
.footer-grid { display: grid; gap: 34px; }
.site-footer h2 { margin-bottom: 14px; color: #fff; font-size: .93rem; letter-spacing: .02em; }
.site-footer p { color: inherit; font-size: .85rem; }
.site-footer ul { margin: 0; list-style: none; }
.site-footer section > a:not(.brand), .site-footer li a { display: block; padding: 5px 0; font-size: .85rem; }
.site-footer a:hover { color: #fff; }
.brand-light img { filter: drop-shadow(0 4px 12px rgba(0,0,0,.12)); }
.footer-brand .brand { padding: 10px; background: #fff; border-radius: 12px; }
.footer-whatsapp { color: #fff; font-weight: 750; }
.footer-action::after { content: " ↗"; }
.footer-bottom { display: flex; flex-direction: column; gap: 5px; justify-content: space-between; margin-top: 46px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .74rem; }
.whatsapp-float-menu { position: fixed; z-index: 950; right: 16px; bottom: max(18px,env(safe-area-inset-bottom)); }
.whatsapp-float { min-height: 54px; display: flex; align-items: center; gap: 8px; padding: 0 15px 0 17px; color: #fff; background: #16a85a; border: 2px solid #fff; border-radius: 99px; box-shadow: 0 15px 38px rgba(0,0,0,.25); font-size: .8rem; font-weight: 800; cursor: pointer; list-style: none; user-select: none; transition: transform .2s ease, background .2s ease; }
.whatsapp-float::-webkit-details-marker { display: none; }
.whatsapp-float:hover { background: #0f914c; transform: translateY(-3px); }
.whatsapp-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.whatsapp-float__toggle { margin-left: 1px; transform: rotate(-90deg); transition: transform .2s ease; }
.whatsapp-float-menu[open] .whatsapp-float__toggle { transform: rotate(90deg); }
.whatsapp-float-menu__panel { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(310px,calc(100vw - 32px)); display: grid; padding: 8px; overflow: hidden; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 22px 56px rgba(0,0,0,.24); transform-origin: right bottom; animation: whatsapp-menu-enter .18s ease-out both; }
.whatsapp-float-menu__panel a { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 12px; color: var(--ink); border-radius: 9px; }
.whatsapp-float-menu__panel a + a { border-top: 1px solid var(--line); border-top-left-radius: 0; border-top-right-radius: 0; }
.whatsapp-float-menu__panel a:hover { color: var(--brand); background: #f7f7f7; }
.whatsapp-float-menu__panel a:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.whatsapp-float-menu__panel span { min-width: 0; display: grid; gap: 3px; }
.whatsapp-float-menu__panel strong { font-size: .9rem; line-height: 1.25; }
.whatsapp-float-menu__panel small { color: var(--muted); font-size: .72rem; line-height: 1.35; }
.whatsapp-float-menu__panel .icon-chevron { flex: 0 0 auto; color: var(--brand); }
@keyframes whatsapp-menu-enter { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.cookie-banner { position: fixed; z-index: 1100; right: 12px; bottom: 86px; left: 12px; display: grid; gap: 15px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.cookie-banner strong { font-size: .96rem; }
.cookie-banner p { margin: 3px 0 0; font-size: .78rem; }
.cookie-banner form { display: flex; flex-wrap: wrap; gap: 8px; }

/* Auth */
.auth-body { min-height: 100vh; background: #111318; }
.auth-shell { min-height: 100vh; display: grid; }
.auth-visual { position: relative; display: none; align-items: end; padding: clamp(45px,6vw,90px); color: #fff; background: linear-gradient(180deg,rgba(9,13,24,.18),rgba(9,13,24,.9)),url('../images/banner-kuromi-1920x700.webp') center/cover; }
.auth-visual div { max-width: 570px; }
.auth-visual h1 { color: #fff; font-size: clamp(3rem,6vw,5.5rem); }
.auth-visual p { margin-top: 18px; color: rgba(255,255,255,.76); font-size: 1.05rem; }
.auth-card { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px,7vw,72px); background: #fff; }
.auth-logo { margin-bottom: 55px; }
.auth-logo img { width: 180px; }
.auth-heading { margin-bottom: 25px; }
.auth-heading h2 { font-size: clamp(2rem,5vw,2.8rem); }
.auth-heading p { margin-top: 10px; }
.auth-form { display: grid; gap: 15px; }
.auth-back { margin-top: 28px; color: var(--muted); font-size: .85rem; font-weight: 650; }

/* Admin */
.admin-body { min-height: 100vh; background: #f3f5f8; }
.admin-shell { min-height: 100vh; }
.admin-sidebar { position: fixed; z-index: 1300; top: 0; bottom: 0; left: 0; width: min(310px,86vw); display: flex; flex-direction: column; padding: 22px 16px; overflow-y: auto; color: #b9c0cc; background: #17191f; border-right: 1px solid rgba(255,255,255,.06); transform: translateX(-101%); transition: transform .25s ease; }
.admin-body.admin-nav-open .admin-sidebar { transform: none; }
.admin-overlay { position: fixed; z-index: 1200; inset: 0; background: rgba(8,12,20,.58); backdrop-filter: blur(3px); }
.admin-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-brand-row .brand { padding: 7px 9px; background: #fff; border-radius: 10px; }
.admin-brand-row .brand img { width: 126px; }
.admin-nav-close { width: 38px; height: 38px; color: #fff; background: rgba(255,255,255,.08); border: 0; border-radius: 9px; font-size: 1.5rem; }
.admin-workspace { display: grid; margin: 25px 0 18px; padding: 15px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; }
.admin-workspace span { color: #828c9c; font-size: .65rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.admin-workspace strong { color: #fff; font-size: .92rem; }
.admin-sidebar nav { display: grid; gap: 3px; }
.admin-nav-group { margin: 20px 10px 6px; color: #727b8a; font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 9px 11px; border-radius: 9px; font-size: .84rem; font-weight: 620; transition: color .2s ease, background .2s ease; }
.admin-sidebar nav a i { width: 8px; height: 8px; flex: 0 0 auto; background: #616a78; border-radius: 2px; }
.admin-sidebar nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.admin-sidebar nav a.is-active { color: #fff; background: linear-gradient(90deg,rgba(227,6,19,.95),rgba(190,0,10,.85)); box-shadow: 0 7px 20px rgba(227,6,19,.18); }
.admin-sidebar nav a.is-active i { background: #fff; }
.admin-sidebar-footer { display: grid; gap: 8px; margin-top: auto; padding: 22px 10px 0; font-size: .78rem; }
.admin-sidebar-footer a:hover { color: #fff; }
.admin-main { min-width: 0; }
.admin-top { position: sticky; z-index: 900; top: 0; min-height: 72px; display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.admin-nav-toggle { display: flex; align-items: center; gap: 4px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.admin-nav-toggle span { width: 18px; height: 2px; display: none; background: var(--ink); }
.admin-nav-toggle b { font-size: .78rem; }
.admin-top-title { display: none; }
.admin-top-title small, .admin-user small { color: var(--muted); font-size: .68rem; }
.admin-top-title strong, .admin-user strong { display: block; line-height: 1.2; }
.admin-user { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.admin-user > div { display: none; }
.admin-avatar { width: 38px; height: 38px; display: none; place-items: center; color: #fff; background: var(--brand); border-radius: 50%; font-weight: 800; }
.admin-content { width: min(100%,1500px); margin-inline: auto; padding: 25px 16px 60px; }
.admin-page-heading { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.admin-page-heading h1 { font-size: clamp(2rem,4vw,3rem); }
.admin-page-heading p { margin: 8px 0 0; }
.panel { padding: clamp(18px,3vw,26px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 7px 22px rgba(16,24,40,.04); }
.metric-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-bottom: 22px; }
.metric { position: relative; min-height: 126px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 7px 22px rgba(16,24,40,.04); }
.metric::after { position: absolute; top: -30px; right: -30px; width: 90px; height: 90px; content: ""; background: var(--surface); border-radius: 50%; }
.metric small { position: relative; z-index: 1; color: var(--muted); font-size: .72rem; }
.metric strong { position: relative; z-index: 1; font-size: clamp(1.65rem,4vw,2.3rem); line-height: 1.1; }
.metric .metric-note { position: relative; z-index: 1; margin-top: 7px; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.metric[href] { color: inherit; text-decoration: none; transition: border-color .2s,box-shadow .2s; }
.metric[href]:hover,.metric[href]:focus-visible { border-color: var(--brand); box-shadow: 0 8px 25px rgba(16,24,40,.12); }
.admin-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 20px; border-top: 1px solid var(--line); font-size: .85rem; }
.admin-pagination span { margin-right: auto; color: var(--muted); }
.admin-pagination a { min-width: 34px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: inherit; text-align: center; text-decoration: none; }
.admin-pagination a:hover,.admin-pagination a:focus-visible,.admin-pagination a[aria-current="page"] { border-color: var(--brand); color: var(--brand); }
.metric-accent { color: #fff; background: linear-gradient(145deg,var(--brand),#a40009); border-color: transparent; }
.metric-accent small { color: rgba(255,255,255,.74); }
.metric-accent .metric-note { color: rgba(255,255,255,.82); }
.metric-accent::after { background: rgba(255,255,255,.1); }
.report-panel { display: grid; gap: 18px; margin-bottom: 22px; align-items: end; }
.report-panel h2 { font-size: 1.35rem; }
.report-panel p { margin: 5px 0 0; font-size: .85rem; }
.inline-form { display: inline-flex; flex-wrap: wrap; align-items: end; gap: 9px; }
.inline-form input, .inline-form select { width: auto; min-width: 120px; }
.inline-form label { margin: 0; }
.dashboard-grid { display: grid; gap: 18px; margin-bottom: 22px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.panel-heading h2 { font-size: 1.25rem; }
.panel-heading > span { color: var(--muted); font-size: .72rem; }
.bar-list { display: grid; gap: 13px; margin: 0; list-style: none; }
.bar-list li { display: grid; grid-template-columns: minmax(80px,1fr) minmax(100px,2fr) 36px; align-items: center; gap: 10px; font-size: .78rem; }
progress { width: 100%; height: 8px; overflow: hidden; appearance: none; border: 0; border-radius: 99px; }
progress::-webkit-progress-bar { background: var(--surface-2); border-radius: 99px; }
progress::-webkit-progress-value { background: linear-gradient(90deg,var(--brand),#ff515b); border-radius: 99px; }
progress::-moz-progress-bar { background: var(--brand); border-radius: 99px; }
.empty-note { margin: 0; font-size: .85rem; }
.table-panel { padding: 0; overflow: hidden; }
.table-panel > .panel-heading { padding: 22px 22px 0; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .81rem; white-space: nowrap; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted); background: #fafbfc; font-size: .67rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
tbody tr:hover { background: #fcfcfd; }
tbody tr:last-child td { border-bottom: 0; }
td a { color: var(--brand); font-weight: 700; }
.row-actions { display: flex; align-items: center; gap: 10px; }
.id-pill { padding: 4px 7px; color: var(--muted); background: var(--surface); border-radius: 6px; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; }
.status { display: inline-flex; padding: 4px 8px; color: var(--muted); background: var(--surface); border-radius: 99px; font-size: .69rem; font-weight: 750; }
.status-sent, .status-active, .status-published, .status-matched { color: #08763b; background: #e9f9f0; }
.status-failed { color: var(--danger); background: #fff1f2; }
.admin-form { display: grid; grid-template-columns: 1fr; gap: 18px; }
.admin-form > div { min-width: 0; }
.admin-form textarea.rich { min-height: 320px; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: .85rem; }
.admin-form > button { justify-self: start; }
.admin-form .danger { display: block; margin-top: 5px; font-size: .75rem; }
.flash, .security-notice { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding: 14px 16px; color: #0c6e39; background: #eaf9f0; border: 1px solid #c3efd4; border-radius: 11px; }
.flash > span, .security-notice > span { width: 25px; height: 25px; display: grid; flex: 0 0 auto; place-items: center; color: #fff; background: var(--success); border-radius: 50%; font-weight: 900; }
.flash-error { color: #8f1020; background: #fff1f2; border-color: #fecdd3; }
.flash-error > span, .security-notice > span { background: var(--danger); }
.security-notice p { margin: 2px 0 0; font-size: .84rem; }
.password-layout { display: grid; gap: 18px; max-width: 1000px; }
.password-form { align-content: start; }
.password-tips h2 { font-size: 1.25rem; }
.admin-content > .section-heading { align-items: flex-end; margin-bottom: 24px; }
.admin-content > .section-heading h1 { font-size: clamp(2rem,4vw,3rem); }
.admin-content > .panel { margin-bottom: 22px; }
.admin-content > h2 { margin: 30px 0 16px; font-size: 1.4rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.salesforce-lead-context { display: grid; gap: 4px; min-width: 190px; white-space: normal; }
.salesforce-lead-context small, .salesforce-attempts { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; line-height: 1.4; white-space: normal; }
.salesforce-retry-form { display: grid; gap: 9px; min-width: 260px; max-width: 310px; white-space: normal; }
.salesforce-retry-form .button { justify-self: start; }
.admin-kicker { display: inline-block; margin-bottom: 8px; color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.campaign-heading { gap: 24px; }
.campaign-filter { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 7px 22px rgba(16,24,40,.04); }
.campaign-filter > div { min-width: 135px; }
.campaign-filter input, .campaign-filter select { width: 100%; }
.funnel-panel { margin-bottom: 22px; overflow: hidden; }
.funnel-panel .panel-heading p, .campaign-report .panel-heading p, .tracking-guide .panel-heading p { margin: 5px 0 0; color: var(--muted); font-size: .84rem; }
.funnel-flow { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.funnel-flow li { position: relative; display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 12px; align-items: center; padding: 16px; color: #fff; background: linear-gradient(120deg,#20242c,#343b47); border-radius: 6px; }
.funnel-flow li:nth-child(2) { margin-inline: 2%; }
.funnel-flow li:nth-child(3) { margin-inline: 4%; }
.funnel-flow li:nth-child(4) { margin-inline: 6%; }
.funnel-flow li:last-child { margin-inline: 8%; background: linear-gradient(120deg,#a90000,var(--brand)); }
.funnel-flow li > span { display: grid; width: 32px; height: 32px; place-items: center; color: #20242c; background: #fff; border-radius: 50%; font-size: .75rem; font-weight: 800; }
.funnel-flow li div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 14px; align-items: center; }
.funnel-flow small { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.funnel-flow strong { grid-column: 2; grid-row: 1/3; font-size: clamp(1.5rem,3vw,2.25rem); }
.funnel-flow p { margin: 0; color: rgba(255,255,255,.72); font-size: .78rem; }
.campaign-report { margin-bottom: 22px; }
.campaign-table { min-width: 1420px; }
.campaign-table td { vertical-align: middle; text-align: center; }
.campaign-table td:first-child, .campaign-table th:first-child { position: sticky; left: 0; z-index: 1; min-width: 220px; text-align: left; background: #fff; }
.campaign-label-grid { display: grid; gap: 12px; }
.campaign-label-form { display: grid; grid-template-columns: minmax(190px,.7fr) minmax(240px,1.3fr) auto; gap: 14px; align-items: end; padding: 14px 0; border-top: 1px solid var(--line); }
.campaign-label-form:first-child { border-top: 0; }
.campaign-label-form label { display: block; margin-bottom: 6px; }
.campaign-name { display: block; margin-top: 3px; color: #252b35; font-size: .84rem; font-weight: 600; line-height: 1.35; text-transform: none; white-space: normal; }
.attribution-cell { min-width: 255px; text-align: left !important; white-space: normal; }
.attribution-stack { display: grid; min-width: 240px; gap: 9px; white-space: normal; }
.attribution-stack > .platform-pill { justify-self: start; }
.attribution-level { display: grid; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
.attribution-label { display: block; margin-top: 8px; color: var(--muted); font-size: .63rem; font-weight: 750; letter-spacing: .055em; line-height: 1.3; text-transform: uppercase; }
.attribution-level .attribution-label { margin-top: 0; }
.attribution-value { display: block; color: #252b35; font-size: .82rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.attribution-id { display: block; color: var(--muted); font: .67rem/1.4 ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap: anywhere; }
.source-breakdown-panel { margin-bottom: 22px; }
.source-breakdown-panel .panel-heading p { max-width: 72ch; margin: 5px 0 0; color: var(--muted); font-size: .84rem; }
.source-breakdown-table { min-width: 1120px; }
.source-breakdown-table th:not(:first-child), .source-breakdown-table td:not(:first-child) { text-align: center; }
.source-breakdown-table td strong { font-variant-numeric: tabular-nums; }
.platform-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border-radius: 99px; color: #3d4654; background: #edf0f4; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.platform-google { color: #174ea6; background: #e8f0fe; }
.platform-meta { color: #0759b7; background: #e7f3ff; }
.platform-organic { color: #166534; background: #dcfce7; }
.tracking-guide { margin-bottom: 22px; }
.tracking-guide-grid { display: grid; gap: 16px; }
.tracking-guide-grid article { min-width: 0; padding: 18px; background: #f7f8fa; border: 1px solid var(--line); border-radius: 6px; }
.tracking-guide-grid h3 { margin: 10px 0; font-size: 1rem; }
.tracking-guide-grid code { display: block; padding: 13px; overflow-wrap: anywhere; color: #2e3540; background: #fff; border: 1px solid #dfe3e8; border-radius: 4px; font: .75rem/1.55 ui-monospace,SFMono-Regular,Consolas,monospace; }
.privacy-note { margin: 18px 0 0; padding: 14px 16px; color: #4a5360; background: #fff8e1; border-left: 3px solid #d4a400; font-size: .82rem; }
.code-block { max-width: 100%; padding: 16px; overflow: auto; color: #dbe5f4; background: #17191f; border-radius: 11px; font: .78rem/1.65 ui-monospace,SFMono-Regular,Consolas,monospace; }
.media-grid { display: grid; gap: 16px; margin-top: 18px; }
.media-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 7px 22px rgba(16,24,40,.04); }
.media-card > img, .media-card > video { width: 100%; height: 210px; object-fit: cover; background: var(--surface); }
.media-card > div { padding: 16px; }
.media-card strong { display: block; overflow-wrap: anywhere; }
.media-card p { margin: 8px 0; overflow-wrap: anywhere; font-size: .75rem; }
.detail-grid { display: grid; gap: 16px; margin-bottom: 22px; }
.detail-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 7px 22px rgba(16,24,40,.04); }
.detail-card h2 { margin-bottom: 16px; font-size: 1.25rem; }
.detail-card dl { display: grid; gap: 11px; margin: 0; }
.detail-card dl div { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.detail-card dt { color: var(--muted); font-size: .68rem; font-weight: 750; text-transform: uppercase; }
.detail-card dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: .88rem; }
.admin-form h2 { grid-column: 1/-1; margin: 18px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 1.25rem; }

@media (min-width: 620px) {
  .container { width: min(calc(100% - 48px),var(--container)); }
  .form-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .document-row { grid-template-columns: .8fr 1.2fr; }
  .document-row > div[hidden] { display: none; }
  .trust-strip-grid { grid-template-columns: repeat(4,1fr); }
  .trust-strip-grid span:nth-child(2n) { border-right: 1px solid var(--line); }
  .trust-strip-grid span:last-child { border-right: 0; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .purchase-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .testimonial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .spec-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-bottom { flex-direction: row; }
  .cookie-banner { right: 20px; bottom: 22px; left: auto; width: min(580px,calc(100% - 40px)); grid-template-columns: 1fr auto; align-items: center; }
  .whatsapp-float-menu { right: 22px; bottom: 24px; }
  body:has(.cookie-banner) .whatsapp-float-menu { bottom: 180px; }
  .admin-top { padding-inline: 24px; }
  .admin-top-title { display: block; }
  .admin-user > div, .admin-avatar { display: grid; }
  .admin-content { padding: 34px 24px 70px; }
  .admin-page-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .metric-grid { grid-template-columns: repeat(3,1fr); }
  .admin-form.panel { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-form.panel > div:has(textarea), .admin-form.panel > div:has(.rich), .admin-form.panel > button { grid-column: 1/-1; }
  .media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .password-layout { grid-template-columns: minmax(0,1.4fr) minmax(280px,.8fr); }
  .admin-form.panel.password-form { grid-template-columns: 1fr; }
  .password-form > div, .password-form > button { grid-column: auto; }
}

@media (min-width: 900px) {
  .utility { display: block; }
  .header-main { min-height: 78px; }
  .mobile-menu { display: none; }
  .desktop-nav { display: flex; }
  .brand img { width: 164px; }
  .hero { min-height: 720px; }
  .hero-layout { grid-template-columns: minmax(0,1fr) minmax(420px,490px); gap: 50px; padding-top: 44px; padding-bottom: 44px; }
  .hero-copy { padding-top: 180px; }
  .hero-shade { background: linear-gradient(90deg,rgba(6,10,19,.87) 0%,rgba(6,10,19,.42) 45%,rgba(6,10,19,.3) 68%,rgba(6,10,19,.7) 100%),linear-gradient(180deg,rgba(6,10,19,.12),rgba(6,10,19,.55)); }
  .section-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .carousel-control { display: grid; }
  .category-carousel { grid-auto-columns: minmax(300px,31.8%); }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .service-layout { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: center; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .testimonial-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .article-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .article-grid-wide { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .final-cta-inner { grid-template-columns: 1fr auto; }
  .catalog-layout { grid-template-columns: 270px minmax(0,1fr); }
  .filters { position: sticky; top: 125px; }
  .product-hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr); }
  .lead-grid { grid-template-columns: minmax(0,.75fr) minmax(480px,1.25fr); }
  .spec-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .article-layout { grid-template-columns: minmax(0,760px) minmax(260px,340px); justify-content: space-between; }
  .article-aside { position: sticky; top: 130px; }
  .thanks-shell { grid-template-columns: minmax(0,1.05fr) minmax(380px,.95fr); }
  .thanks-confirmation { min-height: 610px; }
  .thanks-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3,1fr); }
  .auth-shell { grid-template-columns: minmax(0,1.3fr) minmax(430px,.7fr); }
  .auth-visual { display: flex; }
  .auth-card { max-width: 650px; }
  .admin-sidebar { width: 270px; transform: none; }
  .admin-nav-close, .admin-overlay, .admin-nav-toggle { display: none !important; }
  .admin-main { margin-left: 270px; }
  .admin-top { padding-inline: 32px; }
  .admin-content { padding: 40px 32px 80px; }
  .report-panel { grid-template-columns: .8fr 1.2fr; }
  .dashboard-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .campaign-heading { flex-direction: row; align-items: end; justify-content: space-between; }
  .tracking-guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (min-width: 1180px) {
  .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .product-media img { height: 230px; }
  .metric-grid { grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); }
  .metric { min-height: 145px; }
  .admin-form.panel { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .admin-form.panel > div:has(textarea), .admin-form.panel > div:has(.rich) { grid-column: span 2; }
  .admin-form.panel > div:has(.rich), .admin-form.panel > button { grid-column: 1/-1; }
  .media-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .admin-form.panel.password-form { grid-template-columns: 1fr; }
  .password-form > div, .password-form > button { grid-column: auto; }
}

@media (max-width: 760px) {
  .campaign-label-form { grid-template-columns: 1fr; align-items: stretch; }
  .funnel-flow li:nth-child(n) { margin-inline: 0; }
  .funnel-flow li div { grid-template-columns: minmax(0,1fr); }
  .funnel-flow strong { grid-column: 1; grid-row: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease,transform .6s ease; }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

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