:root {
  color-scheme: light;
  --paper: #f5f4f0;
  --white: #fbfaf7;
  --ink: #202320;
  --muted: #747973;
  --line: #dcded8;
  --red: #d52a2c;
  --dark: #171918;
  --header-height: 116px;
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); }
section[id] { scroll-margin-top: var(--header-height); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.whatsapp-button { position: fixed; z-index: 15; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 4px 18px #0003; }
.whatsapp-button:hover { background: #128c4a; }
.whatsapp-button svg { width: 30px; height: 30px; }
.skip-link { position: absolute; z-index: 20; top: -5rem; left: 1rem; padding: 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; z-index: 10; top: 0; height: var(--header-height); display: flex; align-items: center; justify-content: space-between; padding: 0 7%; background: #f5f4f0ed; border-bottom: 1px solid #dcded8ad; backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; width: 170px; height: auto; mix-blend-mode: multiply; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.3rem, 2.8vw, 3rem); font-size: .75rem; font-weight: 600; }
.primary-nav > a:not(.nav-contact) { transition: color .2s; }
.primary-nav > a:not(.nav-contact):hover { color: var(--red); }
.nav-contact { display: inline-flex; align-items: center; gap: 1.4rem; padding: .75rem 1rem; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.nav-contact:hover { background: white; border-color: #b9bcb5; }
.nav-contact span { color: var(--red); }
.menu-toggle { display: none; }

.hero { min-height: 690px; height: min(830px, calc(100svh - var(--header-height))); position: relative; display: flex; align-items: center; overflow: hidden; padding: 0 7%; }
.hero-copy { position: relative; z-index: 2; width: min(52%, 620px); padding: 2rem 0 5.2rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Manrope, sans-serif; letter-spacing: -.075em; }
h1 { margin: 2rem 0 1.5rem; font-size: clamp(4.5rem, 9vw, 8.5rem); font-weight: 600; line-height: .94; }
h1 em, h2 em { color: var(--red); font-style: normal; }
.hero-lede { max-width: 370px; margin-bottom: 0; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .85rem 1rem; font-size: .7rem; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #393d39; }
.button-dark span, .button-outline span { color: #ff7771; font-size: .95rem; }
.text-link { display: inline-flex; align-items: center; gap: .9rem; padding-bottom: .45rem; border-bottom: 1px solid var(--line); font-size: .7rem; font-weight: 700; }
.text-link span { color: var(--red); }
.hero-scene { position: absolute; inset: 0 0 0 42%; overflow: hidden; background: var(--dark); }
.hero-scene::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, var(--paper) 0%, #f5f4f0e8 3%, transparent 38%), linear-gradient(0deg, #171918 0%, transparent 18%, transparent 80%, #171918 100%); content: ""; pointer-events: none; }
.hero-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene-slider { position: absolute; inset: 0; }
.scene-slider > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-controls { position: absolute; z-index: 2; right: 1.5rem; bottom: 1.5rem; display: flex; align-items: center; gap: .35rem; color: var(--white); font-size: .65rem; }
.slider-controls button { min-height: 44px; min-width: 44px; padding: .4rem .6rem; font: inherit; color: inherit; border: 0; border-radius: 0; background: transparent; cursor: pointer; opacity: .65; transition: opacity .2s; }
.slider-controls button:hover, .slider-controls button:focus-visible { opacity: 1; }
#slide-counter { opacity: .5; font-variant-numeric: tabular-nums; }
.scene-grid { position: absolute; inset: 0; opacity: .24; background-image: radial-gradient(#d8d9d2 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 62% 47%, #000, transparent 74%); }
.scene-plus { position: absolute; z-index: 1; color: #e9584d; font-size: 1rem; }
.plus-one { top: 30%; right: 18%; }.plus-two { bottom: 31%; left: 16%; }
.scene-wordmark { position: absolute; top: 50%; left: 55%; width: clamp(18rem, 37vw, 36rem); aspect-ratio: 1.12; overflow: hidden; opacity: .065; transform: translate(-50%, -52%); }
.scene-wordmark img, .contact-watermark img { position: absolute; top: 0; left: 50%; width: 215%; max-width: none; height: auto; filter: grayscale(1) brightness(0) invert(1); transform: translateX(-50%); }

.product-tag, .footer-copy, .back-top { color: var(--muted); font: 500 .52rem "DM Mono", monospace; letter-spacing: .11em; }

.section { padding: 7.5rem 12%; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin: 3.8rem 0 3rem; }
.section-heading h2 { margin: 0; font-size: clamp(3.5rem, 7.2vw, 6.8rem); font-weight: 600; line-height: .97; }
.section-heading > p { max-width: 330px; margin: 0 0 .35rem; color: var(--muted); font-size: .82rem; line-height: 1.8; }
.product-list { border-top: 1px solid var(--line); }
.product-row { min-height: 84px; display: grid; grid-template-columns: 56px minmax(0, 1fr) 190px 28px; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); transition: padding .2s, background .2s; }
.product-row:hover { padding-inline: .6rem; background: #ffffff70; }
.product-index { color: var(--red); font: 500 .58rem "DM Mono", monospace; }
.product-title { font: 600 clamp(1rem, 1.7vw, 1.3rem) Manrope, sans-serif; letter-spacing: -.04em; }
.product-tag { font-size: .48rem; }
.row-arrow { color: var(--red); text-align: right; transition: transform .2s; }
.product-row:hover .row-arrow { transform: translate(3px, -3px); }
.products-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 1.3rem; color: var(--muted); font-size: .68rem; }
.products.section { padding-block: 5rem; }
.products .section-heading { margin: 0 0 2.5rem; }
.products .section-heading h2 { font-size: clamp(3rem, 6vw, 5rem); }



.button-outline { min-width: 220px; border: 1px solid var(--line); }
.button-outline:hover { background: white; }

.contact { min-height: 340px; position: relative; display: flex; align-items: center; overflow: hidden; padding: 4rem 12%; background: var(--dark); color: var(--white); }
.contact-inner { position: relative; z-index: 1; }
.contact h2 { margin: 0 0 1rem; font-size: clamp(3rem, 6vw, 5rem); font-weight: 600; line-height: 1; }
.contact-inner>p { margin-bottom: 1.2rem; color: #b2b7af; font-size: .82rem; }
.contact-phone { display: inline-flex; align-items: center; gap: .8rem; padding-bottom: .45rem; border-bottom: 1px solid #ffffff45; font: 600 clamp(1.3rem, 3vw, 2rem) Manrope, sans-serif; letter-spacing: -.04em; }
.contact-phone span { color: #ff7771; font-size: .9em; }
.contact-email { display: block; width: fit-content; margin-top: 1rem; font-size: .85rem; overflow-wrap: anywhere; }
.admin-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 7%; border-bottom: 1px solid var(--line); }
.admin-main { width: min(1000px, 86%); margin: 4rem auto; }
.admin-login h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.admin-login > p { max-width: 520px; color: var(--muted); line-height: 1.7; }
.admin-login button { font-family: inherit; cursor: pointer; }
.admin-login button:disabled { opacity: .5; cursor: wait; }
.admin-login form { display: grid; gap: .65rem; max-width: 400px; margin-top: 1.5rem; }
.admin-login label { font-size: .82rem; }
.admin-login input { width: 100%; min-height: 48px; margin-bottom: .6rem; padding: .8rem; border: 1px solid var(--line); background: var(--white); color: var(--ink); font: inherit; }
.admin-login input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.admin-catalog { margin-top: 3rem; }
.admin-catalog ul { padding: 0; list-style: none; }
.admin-catalog li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.admin-catalog small { flex-shrink: 0; color: var(--muted); }
.contact-email:hover { text-decoration: underline; text-underline-offset: .25rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 1rem 1.7rem; margin-top: 1.7rem; font-size: .72rem; }
.social-links a { display: inline-flex; align-items: center; gap: .45rem; padding-block: .45rem; }
.social-links a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.social-links span { color: var(--red); }
.contact .social-links span { color: #ff7771; }
.contact-watermark { position: absolute; right: 6%; bottom: 0; width: clamp(15rem, 35vw, 29rem); aspect-ratio: 1.12; overflow: hidden; opacity: .055; }

.site-footer { min-height: 112px; display: flex; align-items: center; justify-content: space-between; padding: 1rem 7%; background: var(--paper); }
.site-footer .brand-logo { width: 142px; }
.back-top { display: inline-flex; gap: .6rem; align-items: center; }
.back-top span { color: var(--red); font: 700 .85rem "DM Sans", sans-serif; }

@media (max-width: 850px) {
  :root { --header-height: 104px; }
  .brand-logo { width: 150px; }
  .section { padding-inline: 8%; }
  .hero { padding-inline: 8%; }
  .hero-scene { left: 38%; }
  .hero-copy { width: 58%; }
  .product-row { grid-template-columns: 42px minmax(0, 1fr) 150px 24px; }
}

@media (max-width: 620px) {
  :root { --header-height: 100px; }
  .site-header { padding-inline: 6%; }
  .brand-logo { width: 142px; }
  .menu-toggle { width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px solid var(--line); background: transparent; }
  .menu-toggle span { width: 17px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: var(--header-height); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: .8rem 6% 1.2rem; border-bottom: 1px solid var(--line); background: var(--paper); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav>a { padding: .95rem 0; border-bottom: 1px solid var(--line); }
  .primary-nav .nav-contact { justify-content: space-between; margin-top: .8rem; padding: .85rem 1rem; border: 1px solid var(--line); }
  .hero { min-height: 760px; height: auto; align-items: start; padding: 0 6%; }
  .hero-copy { width: 100%; padding: 4rem 0 0; }
  h1 { margin: 1.55rem 0 1.2rem; font-size: clamp(4rem, 17vw, 6rem); }
  .hero-lede { max-width: 320px; font-size: .82rem; }
  .hero-actions { gap: 1rem; margin-top: 1.5rem; }
  .button { gap: 1rem; }
  .hero-scene { inset: 390px 0 3.7rem; }
  .hero-scene::after { background: linear-gradient(180deg, var(--paper), transparent 20%, transparent 80%, #171918); }
  .scene-wordmark { width: 77vw; }
  .section { padding: 4.7rem 7%; }
  .section-heading { display: block; margin: 2.8rem 0 2rem; }
  .section-heading h2 { font-size: clamp(3.1rem, 13vw, 4.7rem); }
  .section-heading>p { margin-top: 1.3rem; font-size: .77rem; }
  .product-row { min-height: 76px; grid-template-columns: 28px minmax(0, 1fr) 20px; gap: .55rem; }
  .product-title { font-size: .91rem; }
  .product-tag { display: none; }
  .products-foot { align-items: start; gap: 1rem; font-size: .62rem; }
  .products-foot .text-link { flex: 0 0 auto; }
  .contact { min-height: 290px; padding: 3.5rem 7%; }
  .contact h2 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .contact-watermark { right: 2%; bottom: 0; width: 55vw; }
  .site-footer { padding-inline: 6%; }
  .site-footer .brand-logo { width: 112px; }
  .footer-copy, .back-top { font-size: .43rem; }
}

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

.nav-products { position: relative; }
.nav-products-link { display: inline-flex; align-items: center; gap: .5rem; font: inherit; line-height: 1; transition: color .2s; }
.nav-products-link:hover, .nav-products:focus-within .nav-products-link { color: var(--red); }
.nav-products-link span { width: 6px; height: 6px; flex: 0 0 6px; margin-top: -3px; border-right: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red); transform: rotate(45deg); }
.nav-product-categories { position: absolute; z-index: 12; top: calc(100% + 1.65rem); left: -1.2rem; display: none; width: min(560px, 80vw); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .6rem; padding: .75rem; border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 45px #20232018; }
.nav-products:hover .nav-product-categories, .nav-products:focus-within .nav-product-categories { display: grid; }
.nav-product-categories::before { content: ""; position: absolute; bottom: 100%; left: -1px; right: -1px; height: calc(1.65rem + 1px); }
.nav-product-categories a { padding: .72rem .65rem; font-size: .68rem; line-height: 1.35; }
.nav-product-categories a:hover { background: #efefea; color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.catalog-hero { min-height: 430px; position: relative; display: flex; align-items: center; overflow: hidden; padding: 4rem 12%; background: #e9eae5; }
.catalog-hero-inner { position: relative; z-index: 1; max-width: 670px; }
.catalog-back { display: inline-block; margin-bottom: 2.8rem; color: var(--muted); font-size: .72rem; }
.catalog-back:hover { color: var(--red); }
.catalog-hero h1 { margin: 0 0 1.2rem; font-size: clamp(3.8rem, 8vw, 7rem); }
.catalog-hero-inner > p { max-width: 470px; margin: 0; color: #626861; font-size: .88rem; line-height: 1.8; }
.catalog { padding-top: 5rem; padding-bottom: 7rem; }
.catalog-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.catalog-toolbar h2 { margin: 0 0 .4rem; font: 700 1.5rem Manrope, sans-serif; letter-spacing: -.06em; }
.catalog-toolbar p { margin: 0; color: var(--muted); font: 500 .6rem "DM Mono", monospace; letter-spacing: .04em; }
.catalog-search { width: min(330px, 40%); display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1px solid var(--line); background: var(--white); }
.catalog-search input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 .76rem "DM Sans", sans-serif; }
.catalog-search > span:last-child { color: var(--red); font-size: 1.1rem; }
.category-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 2.4rem; }
.category-filter { min-height: 37px; padding: .58rem .78rem; border: 1px solid var(--line); background: transparent; color: #60665f; font: 500 .65rem "DM Sans", sans-serif; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.category-filter:hover, .category-filter[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.catalog-card { min-width: 0; border: 1px solid var(--line); background: var(--white); transition: transform .2s, border-color .2s; }
.catalog-card:hover { transform: translateY(-3px); border-color: #b9bcb5; }
.catalog-visual.has-image::before, .catalog-visual.has-image::after { display: none; }
.catalog-visual img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; background: var(--white); }
.product-detail { max-width: 1200px; margin: 3rem auto 5rem; padding: 0 6%; }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; align-items: center; }
.detail-photo { aspect-ratio: 1; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.detail-photo img { width: 100%; height: 100%; max-height: 500px; object-fit: contain; padding: 1rem; }
.detail-thumbnails { display: flex; gap: .5rem; overflow-x: auto; margin-top: .8rem; }
.detail-thumbnails button { width: 70px; height: 70px; flex-shrink: 0; background: var(--white); border: 1px solid var(--line); cursor: pointer; padding: .3rem; }
.detail-thumbnails button[aria-pressed="true"] { border-color: var(--red); }
.detail-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.detail-copy h1 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.1; letter-spacing: -.06em; margin-top: 1rem; }
.product-platforms { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; margin: 2.5rem 0 0; padding: 0; list-style: none; color: var(--red); }
.product-platforms li { display: flex; align-items: center; min-height: 44px; }
.product-platforms svg { display: block; width: 24px; height: 28px; }
.product-platforms .platform-wordmark { width: 86px; height: 32px; }
.product-platforms .platform-wordmark-wide { width: 122px; }
.product-platforms .platform-wordmark-small { width: 48px; }
#detail-summary, #detail-description { white-space: pre-wrap; line-height: 1.8; color: var(--muted); }
.product-detail article > section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.product-detail section h2 { font-size: 1.5rem; letter-spacing: -.04em; }
#detail-specs { display: grid; grid-template-columns: 1fr 1fr; font-size: .85rem; }
#detail-specs dt, #detail-specs dd { margin: 0; padding: 1rem; border-bottom: 1px solid var(--line); }
#detail-specs dt { font-weight: 600; background: #eeeee8; }
@media(max-width: 700px) { .detail-layout { grid-template-columns: 1fr; gap: 1.5rem; } }
.catalog-visual { height: 190px; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 55% 42%, #ffffffc9 0, #e9eae5 43%, #dfe1da 100%); }
.catalog-visual::before, .catalog-visual::after { position: absolute; width: 180px; height: 180px; border: 1px solid #20232015; border-radius: 50%; content: ""; }
.catalog-visual::after { width: 230px; height: 230px; }
.catalog-visual > span { position: absolute; top: 1rem; left: 1rem; color: #5e655d; font: 500 .55rem "DM Mono", monospace; }
.catalog-visual > i { width: 72px; height: 72px; border: 1px solid #d52a2c70; border-radius: 50%; box-shadow: 0 0 0 12px #d52a2c0a, 0 0 0 25px #d52a2c08; }
.catalog-visual > b { position: absolute; right: 1rem; bottom: .9rem; color: #20232055; font: 800 .52rem Manrope, sans-serif; letter-spacing: .15em; }
.catalog-card-copy { padding: 1.1rem 1.15rem 1.25rem; }
.catalog-category { min-height: 1.2em; margin: 0 0 .65rem; color: var(--red); font: 500 .52rem "DM Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.catalog-card h2 { min-height: 3.1em; margin: 0 0 1rem; font: 650 1rem/1.5 Manrope, sans-serif; letter-spacing: -.035em; }
.catalog-link { display: inline-flex; align-items: center; gap: .6rem; padding-bottom: .35rem; border-bottom: 1px solid var(--line); font-size: .68rem; font-weight: 700; }
.catalog-link span { color: var(--red); }
.catalog-empty { padding: 4rem 0; color: var(--muted); text-align: center; }
.catalog-contact { min-height: 300px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 4rem 12%; background: #e9eae5; }
.catalog-contact h2 { margin: 0 0 .9rem; font-size: clamp(2.7rem, 5vw, 4.7rem); line-height: 1; }
.catalog-contact p { margin: 0; color: var(--muted); font-size: .8rem; }

@media (max-width: 850px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-hero { padding-inline: 8%; }
  .catalog { padding-inline: 8%; }
  .catalog-contact { padding-inline: 8%; }
}

@media (max-width: 620px) {
  .nav-products { display: grid; }
  .nav-product-categories::before { content: none; }
  .nav-products-link { padding: .95rem 0; border-bottom: 1px solid var(--line); }
  .nav-product-categories { position: static; display: grid; width: 100%; max-height: 35svh; grid-template-columns: 1fr; gap: 0; overflow: auto; padding: .35rem 0 .6rem .7rem; border: 0; border-bottom: 1px solid var(--line); background: transparent; box-shadow: none; }
  .nav-product-categories a { padding: .7rem .4rem; }
  .catalog-hero { min-height: 370px; padding: 3rem 7%; }
  .catalog-back { margin-bottom: 2rem; }
  .catalog-hero h1 { font-size: clamp(3.5rem, 15vw, 5.5rem); }
  .catalog-hero-inner > p { max-width: 350px; font-size: .78rem; }
  .catalog { padding: 3.5rem 7% 4.5rem; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; gap: 1.2rem; }
  .catalog-search { width: 100%; }
  .category-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; }
  .category-filter { flex: 0 0 auto; }
  .catalog-grid { grid-template-columns: 1fr; gap: .8rem; }
  .catalog-visual { height: 170px; }
  .catalog-card h2 { min-height: 0; }
  .catalog-contact { align-items: start; flex-direction: column; padding: 3.5rem 7%; }
}
