/* MARIONI COMERCIAL — estilos. Marca en :root, estructura por sección.
   Boris Black Bloxx se reserva para el logo/títulos destacados; el texto
   de lectura utiliza fuentes del sistema, sin dependencias externas. */
@font-face{font-family:Boris;src:url('assets/BorisBlackBloxx.ttf') format('truetype');font-display:swap}
:root{--red:#cf1511;--red-dark:#aa110e;--ink:#252525;--muted:#696969;--paper:#f7f6f2;--line:#dfdfda;--green:#16764d;--radius:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:104px}body{margin:0;color:var(--ink);background:var(--paper);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}img{display:block;max-width:100%}a,button{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid #1b6faf;outline-offset:5px}button:disabled{cursor:default}h1,h2,h3,p{margin:0}h2{font-size:clamp(30px,3.2vw,48px);line-height:1.08;letter-spacing:-1.7px;font-weight:750}p{line-height:1.6}.wrap{width:min(1280px,calc(100% - 96px));margin:auto}.section{padding-top:96px;padding-bottom:96px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;margin-bottom:20px}.topline{background:var(--red);color:white;padding:10px 48px;display:flex;justify-content:space-between;font-size:11px;letter-spacing:.4px}.header{display:flex;align-items:center;justify-content:space-between;padding:19px 48px;gap:24px;background:rgba(247,246,242,.97);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}.brand img{border-radius:7px}.brand>span{font-family:Boris,Arial,sans-serif;font-size:23px;line-height:.96;color:var(--red);letter-spacing:-.7px}.brand small{display:block;font:700 10px Arial,sans-serif;letter-spacing:5px;margin-top:7px}.header nav{display:flex;gap:30px;font-size:13px}.header nav a:hover{color:var(--red)}.button{display:inline-flex;align-items:center;justify-content:center;gap:26px;background:var(--red);color:white;border:0;border-radius:6px;padding:18px 23px;font-size:14px;font-weight:700;line-height:1.3;transition:background .2s,transform .2s}.button:hover{background:var(--red-dark);transform:translateY(-2px)}.button span{font-size:20px;line-height:1}.button.small{font-size:12px;padding:14px 17px;gap:20px}.text-link{font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:20px}.text-link:hover{color:var(--red)}.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center;min-height:665px;padding-top:65px;padding-bottom:66px}.hero .eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:1.8px}.hero .eyebrow span{width:7px;height:7px;background:var(--red);border-radius:50%}h1{font-size:clamp(46px,5.3vw,76px);font-weight:800;line-height:1.01;letter-spacing:-3.5px}h1 em{color:var(--red);font-style:normal}.intro{font-size:15px;max-width:420px;color:var(--muted);margin-top:25px}.hero-actions{display:flex;align-items:center;gap:25px;margin-top:30px;flex-wrap:wrap}.hero-note{display:flex;align-items:center;gap:13px;margin-top:35px}.hero-note p{font-size:11px;line-height:1.5;color:var(--muted)}.hero-note strong{color:var(--ink);font-weight:500}.note-icon{font-size:28px;color:var(--red)}.hero-art{height:496px;position:relative;display:grid;grid-template-columns:1.05fr 1fr;grid-template-rows:1fr 1fr;gap:12px;padding-top:5px}.photo{position:relative;overflow:hidden;border-radius:12px;background:#e2dcd1}.photo img{width:100%;height:100%;object-fit:cover}.photo:after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.6))}.photo>span{position:absolute;z-index:1;bottom:20px;left:17px;right:12px;color:white;font-size:13px;font-weight:700;line-height:1.4}.photo-main{grid-row:1/3;margin-top:37px;margin-bottom:23px;transform:rotate(-3deg)}.photo-main img{object-position:50% 42%;transform:scale(1.25)}.photo-top{transform:rotate(3deg)}.photo-bottom{transform:rotate(3deg)}.round-seal{background:var(--red);color:white;border:6px solid var(--paper);border-radius:50%;width:110px;height:110px;position:absolute;left:35%;top:42%;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:9px;letter-spacing:1px;transform:rotate(-12deg)}.round-seal strong{font-family:Boris,Arial,sans-serif;font-size:30px;letter-spacing:0;margin:4px 0}.art-star{position:absolute;right:-15px;top:-20px;font-size:76px;color:var(--red);z-index:3}.category-ribbon{border-top:1px solid var(--line);border-bottom:1px solid var(--line);overflow:hidden;padding:24px 0;white-space:nowrap}.category-ribbon div{display:flex;justify-content:center;gap:38px;font-size:15px;font-weight:700;letter-spacing:1px}.category-ribbon b{color:var(--red)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px}.section-heading>p{font-size:13px;color:var(--muted)}.category-tools{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:32px 0 27px}.filters{display:flex;flex-wrap:wrap;gap:9px}.filter{padding:11px 17px;border:1px solid var(--line);background:transparent;border-radius:25px;font-size:12px;color:#535353}.filter.active{background:var(--ink);color:white;border-color:var(--ink)}.filter span{margin-left:6px;font-size:10px;opacity:.7}.pause{background:transparent;border:0;color:var(--muted);font-size:11px;padding:12px;white-space:nowrap}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 23px}.category-card{background:white;border:1px solid #e7e6e1;border-radius:var(--radius);overflow:hidden;min-width:0;transition:box-shadow .2s}.category-card:hover{box-shadow:0 10px 28px #2626260c}.category-card[hidden]{display:none}.slide-media{height:300px;position:relative;overflow:hidden;background:#efeee9}.slide-media img{width:100%;height:100%;object-fit:contain;transition:opacity .3s;background:#eeede8}.slide-media img[hidden]{display:none}.card-tag{position:absolute;left:14px;top:14px;background:white;color:#454545;font-size:9px;letter-spacing:.5px;padding:7px 10px;border-radius:20px;border:1px solid #eee;pointer-events:none}.slide-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 13px;background:white;border-bottom:1px solid #efeee9}.slide-controls button{width:30px;height:30px;background:#f5f4f0;border:0;border-radius:50%;font-size:17px}.slide-controls button:hover{background:#e6e5df}.slide-controls .counter{font-size:10px;letter-spacing:2px;color:#666}.card-body{padding:22px}.card-body h3{font-size:21px;letter-spacing:-.6px;line-height:1.2}.card-body p{font-size:12px;color:var(--muted);margin-top:8px}.card-link{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:700;color:var(--red);margin-top:20px}.card-link span{width:29px;height:29px;display:grid;place-items:center;background:#faece8;border-radius:50%;font-size:18px}.category-card:nth-child(n+7) .slide-media{height:240px}.category-card:nth-child(n+7) .card-body h3{font-size:20px}.category-foot{text-align:center;font-size:12px;color:var(--muted);margin-top:32px}.category-foot a{color:var(--red);font-weight:700}.illustration{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#efede7;color:#ab9c8b;gap:14px}.illustration svg{width:120px;height:90px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.illustration span{font-size:10px;color:#6e6257;letter-spacing:.6px}.whatsapp-section{background:var(--red);color:white;overflow:hidden}.whatsapp-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:65px;align-items:center;padding-top:85px;padding-bottom:85px}.whatsapp-copy h2{font-size:clamp(40px,4.2vw,61px);letter-spacing:-2.5px;line-height:1.03}.whatsapp-copy h2>span{color:#ffc7bd}.whatsapp-copy>p:not(.eyebrow){font-size:15px;max-width:410px;margin-top:24px;color:#ffe2dd}.steps{list-style:none;padding:0;margin:30px 0;display:grid;gap:20px}.steps li{display:flex;gap:15px;align-items:center}.steps li>span{font-size:10px;border:1px solid #ffffff50;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;flex-shrink:0}.steps strong{font-size:13px}.steps p{font-size:12px;color:#ffe2dd;margin-top:3px}.button.white{background:white;color:var(--red)}.button.white:hover{background:#fff0ec}.whatsapp-fallback{display:block;margin-top:17px;font-size:11px;text-decoration:underline;text-underline-offset:4px;color:#ffe2dd}.phone-scene{position:relative;display:flex;justify-content:center;padding:14px 0 20px}.phone{width:286px;background:#f9f9f6;border:7px solid #252525;border-radius:41px;box-shadow:18px 25px 0 #970e0e70,0 20px 50px #65000030;transform:rotate(7deg);position:relative;overflow:hidden;color:#263c35;min-height:555px}.phone-island{position:absolute;width:82px;height:20px;border-radius:15px;background:#252525;left:calc(50% - 41px);top:6px}.phone-status{display:flex;justify-content:space-between;padding:15px 20px 12px;font-size:10px}.phone-header{display:flex;align-items:center;gap:9px;background:#145c48;color:white;padding:15px 10px;font-size:20px}.phone-header img{border-radius:50%}.phone-header strong{font-size:11px;display:block}.phone-header small{font-size:8px;display:block;margin-top:4px;color:#d8ebe4}.phone-header>span:last-child{margin-left:auto}.phone-body{padding:17px 13px}.phone-welcome{background:#e9efe8;border-radius:8px;padding:15px 10px;display:flex;gap:10px;font-size:12px;line-height:1.5}.wa-symbol{font-size:29px;color:#287854}.phone-body h3{font-size:13px;margin:22px 0 12px;display:flex;justify-content:space-between}.phone-products{display:grid;grid-template-columns:1fr 1fr;gap:9px}.phone-products>div{background:white;border:1px solid #e6e6df;border-radius:7px;overflow:hidden}.phone-products img{width:100%;height:98px;object-fit:cover;object-position:50% 35%}.phone-products span{display:block;padding:8px 6px;font-size:8px}.phone-caption{font-size:8px;text-align:center;color:#61756d;margin:15px 0 10px}.phone-button{display:block;text-align:center;background:#16764d;color:white;border-radius:20px;padding:10px;font-size:10px;font-weight:700}.phone-home{width:85px;height:4px;background:#252525;border-radius:4px;margin:1px auto 9px}.phone-sticker{position:absolute;left:-8px;top:4px;z-index:2;transform:rotate(-10deg);font-size:14px;line-height:1.4;background:#f8edda;color:#7b2a23;border-radius:9px;padding:18px;box-shadow:0 4px 0 #a00}.phone-sticker span{display:block;text-align:right;font-size:38px;line-height:1}.phone-bubble{position:absolute;bottom:-5px;right:-15px;background:white;padding:17px 24px;transform:rotate(-6deg);border-radius:12px;color:var(--red);font-size:12px;line-height:1.5;box-shadow:0 8px 20px #77000020}.about{display:grid;grid-template-columns:1fr 1.2fr;gap:70px}.about-main{font-size:21px;line-height:1.55;letter-spacing:-.3px}.about-main+p{font-size:13px;color:var(--muted);margin-top:19px;max-width:550px}.about-values{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.about-values span{font-size:10px;border:1px solid var(--line);padding:9px 12px;border-radius:20px}.visit{background:#eeede8;padding-top:60px}.visit-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;padding-bottom:36px}.facade{position:relative}.facade>img{width:100%;height:480px;object-fit:cover;object-position:center 53%}.facade-label{position:absolute;bottom:28px;left:max(48px,calc((100% - 1280px)/2));background:white;border-radius:8px;padding:20px 27px;display:flex;align-items:center;gap:33px}.facade-label strong{font-size:26px;letter-spacing:-1px}.facade-label span{font-size:12px;line-height:1.6;color:var(--muted)}.map{width:100%;height:330px;border:0;display:block}.contact{display:grid;grid-template-columns:1fr 1fr;gap:80px}.contact>div>p:not(.eyebrow){color:var(--muted);font-size:13px;margin-top:23px}.contact-links>a{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);font-size:18px;gap:15px}.contact-links small{display:block;font-size:9px;letter-spacing:1.4px;color:var(--muted);margin-bottom:8px}.contact-links>a>span:last-child{color:var(--red);align-self:center;font-size:25px}.contact-links>a:hover{color:var(--red)}.social-links{display:flex;gap:25px;margin-top:24px;font-size:12px;font-weight:700}footer{background:var(--ink);color:white;padding:42px 0 20px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.brand.light>span{color:white}.footer-inner p{font-size:13px;color:#ccc}.footer-inner>a:last-child{font-size:12px}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #ffffff20;padding-top:20px;margin-top:35px;font-size:10px;color:#bcbcbc;gap:20px}.floating-wa{position:fixed;bottom:23px;right:24px;z-index:25;background:var(--green);color:white;display:flex;gap:10px;align-items:center;padding:13px 18px;border-radius:32px;font-size:12px;font-weight:700;box-shadow:0 3px 20px #0003}.floating-wa svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.5}.floating-wa:hover{background:#0f603d}.skip-link{position:fixed;left:15px;top:-100px;padding:12px;background:white;z-index:50}.skip-link:focus{top:15px}
@media(min-width:1200px){.category-card:nth-child(n+7){grid-column:auto}.category-grid{grid-template-columns:repeat(12,1fr)}.category-card{grid-column:span 4}.category-card:nth-child(n+7){grid-column:span 3}.category-card:nth-child(n+7) .card-body{padding:18px}.category-card:nth-child(n+7) .card-body h3{font-size:19px}.category-card:nth-child(n+7) .card-body p{min-height:38px}}
@media(min-width:1550px){.hero{min-height:740px}.hero-art{height:540px}}
@media(max-width:1050px){.wrap{width:calc(100% - 56px)}.header{padding:17px 28px;gap:15px}.header nav{gap:18px;font-size:11px}.header .button{font-size:10px;padding:13px}.hero{gap:30px}.hero-art{height:440px}.hero-actions{gap:18px}.hero .text-link{font-size:11px}h1{letter-spacing:-2.5px}.topline{padding-left:28px;padding-right:28px}.category-ribbon div{gap:25px}.slide-media{height:260px}.phone-sticker{left:-20px;top:-25px}.phone-bubble{right:-5px}.whatsapp-layout{gap:35px}.whatsapp-copy h2{font-size:44px}.facade-label{left:28px}.contact{gap:40px}.contact-links>a{font-size:16px}}
@media(max-width:760px){html{scroll-padding-top:90px}.wrap{width:calc(100% - 40px)}.section{padding-top:60px;padding-bottom:60px}.topline{padding:8px 20px;font-size:9px;justify-content:center}.topline>span:last-child{display:none}.header{padding:13px 20px;gap:12px;flex-wrap:wrap}.brand img{width:38px;height:38px}.brand>span{font-size:19px}.brand small{font-size:8px;letter-spacing:4px;margin-top:5px}.header .button{font-size:10px;padding:12px 13px;gap:12px}.header nav{order:3;justify-content:center;width:100%;gap:28px;font-size:11px;padding-top:9px;border-top:1px solid var(--line)}.hero{grid-template-columns:1fr;padding-top:39px;padding-bottom:42px;gap:30px;min-height:0}.hero .eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:20px}h1{font-size:56px;letter-spacing:-2.8px}.intro{font-size:14px;max-width:370px;margin-top:22px}.hero-actions{margin-top:24px;gap:19px}.hero-actions .button{font-size:12px;padding:16px 17px;gap:20px}.hero-note{margin-top:23px}.hero-art{height:365px;max-width:500px;width:100%;margin:auto;padding:0 8px}.round-seal{width:93px;height:93px;font-size:8px;left:36%;top:43%}.round-seal strong{font-size:25px}.art-star{font-size:60px;right:-1px;top:-12px}.photo>span{font-size:11px;left:12px;bottom:13px}.category-ribbon{padding:17px 0}.category-ribbon div{justify-content:flex-start;padding-left:20px;font-size:12px;gap:23px}.section-heading{display:block}.section-heading>p{margin-top:19px;font-size:12px}.section-heading>p br{display:none}h2{font-size:35px;letter-spacing:-1.2px}.eyebrow{font-size:9px;letter-spacing:1.6px;margin-bottom:15px}.category-tools{display:block;margin-top:25px}.filters{gap:6px}.filter{padding:10px 12px;font-size:10px}.pause{padding:17px 0 0;font-size:11px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.slide-media,.category-card:nth-child(n+7) .slide-media{height:220px}.card-body{padding:16px 12px}.card-body h3,.category-card:nth-child(n+7) .card-body h3{font-size:17px;min-height:40px}.card-body p{font-size:11px;min-height:35px}.card-link{font-size:10px;gap:4px;margin-top:13px}.card-link span{width:24px;height:24px;flex-shrink:0}.card-tag{left:8px;top:8px;font-size:8px;padding:5px 7px}.slide-controls{padding:7px 9px}.slide-controls button{width:28px;height:28px}.slide-controls .counter{font-size:9px;letter-spacing:1px}.category-foot{font-size:11px;max-width:280px;margin:26px auto 0}.whatsapp-layout{grid-template-columns:1fr;padding-top:55px;padding-bottom:60px;gap:60px}.whatsapp-copy h2{font-size:43px;letter-spacing:-1.8px}.whatsapp-copy>p:not(.eyebrow){font-size:14px}.phone-scene{max-width:380px;margin:auto;width:100%;padding-left:12px}.phone-sticker{left:-2px;font-size:12px;top:-26px;padding:13px}.phone-bubble{right:-2px;bottom:0;font-size:11px;padding:14px}.phone{width:267px}.phone-products img{height:93px}.about{grid-template-columns:1fr;gap:25px}.about-main{font-size:19px}.about-values{gap:7px}.about-values span{font-size:9px}.visit{padding-top:45px}.visit-heading{display:block;padding-bottom:28px}.visit-heading .text-link{margin-top:20px}.facade>img{height:325px;object-position:48% center}.facade-label{left:20px;right:20px;bottom:18px;padding:15px;gap:18px}.facade-label strong{font-size:21px;white-space:nowrap}.facade-label span{font-size:10px}.map{height:300px}.contact{grid-template-columns:1fr;gap:25px}.contact-links>a{font-size:16px;overflow-wrap:anywhere}.contact-links>a:first-child{padding-top:0}.footer-inner{flex-wrap:wrap}.footer-inner p{font-size:11px}.footer-inner>a:last-child{font-size:11px}.footer-bottom{font-size:9px;flex-direction:column;gap:9px;padding-bottom:45px}.floating-wa{bottom:16px;right:16px;padding:13px}.floating-wa span{display:none}.floating-wa svg{width:26px;height:26px}}
@media(max-width:360px){h1{font-size:48px}.header .button{font-size:9px;padding:11px 9px}.brand>span{font-size:17px}.brand img{width:32px;height:32px}.hero-actions{gap:16px}.slide-media,.category-card:nth-child(n+7) .slide-media{height:185px}.card-body h3{font-size:15px}.card-body{padding:14px 10px}.filters{gap:5px}.filter{padding:9px 10px}.phone-sticker{left:-8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* REVISIÓN: tarjetas 70% foto / 30% contenido.
   cover llena el ancho: para cambiar el encuadre de una foto usá
   {src:'assets/pictures/foto.webp', alt:'...', position:'center top'} en content.js. */
.category-card{height:450px;display:grid;grid-template-rows:70% 30%}
.category-card .slide-media,.category-card:nth-child(n+7) .slide-media{height:auto;min-height:0}
.slide-media img{object-fit:cover;object-position:center}
.category-card .card-body,.category-card:nth-child(n+7) .card-body{padding:14px 18px;display:flex;flex-direction:column;min-height:0}
.card-body h3,.category-card:nth-child(n+7) .card-body h3{font-size:20px;min-height:0;line-height:1.15}
.card-body p,.category-card:nth-child(n+7) .card-body p{font-size:11px;line-height:1.35;min-height:0;margin-top:5px}
.card-link{font-size:11px;margin-top:auto;padding-top:7px;gap:8px}
.card-link span{width:25px;height:25px;font-size:16px}
.category-card:nth-child(n+7){height:380px}
.category-card:nth-child(n+7) .card-body p{display:none}
/* Los puntos tienen un fondo oscuro común para que se distingan en todas las fotos. */
.slide-controls{position:absolute;z-index:2;bottom:12px;left:50%;transform:translateX(-50%);display:flex;justify-content:center;gap:0;padding:0 6px;border:0;border-radius:24px;background:rgba(25,25,25,.65);max-width:calc(100% - 16px)}
.slide-controls button{position:relative;width:24px;height:32px;flex-shrink:0;padding:0;border:0;border-radius:0;background:transparent}
.slide-controls button:after{content:'';position:absolute;width:6px;height:6px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;background:#ffffff75;transition:background .2s,transform .2s}
.slide-controls button.active:after{background:#fff;transform:translate(-50%,-50%) scale(1.25)}
.slide-controls button:hover{background:transparent}
.slide-controls button:hover:after{background:white}
.slide-controls button:focus-visible{outline:2px solid white;outline-offset:-3px;border-radius:10px}
.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}
/* Marquesina: dos grupos idénticos, velocidad editable en la duración (48s). */
.category-ribbon{display:flex;align-items:center;padding:0;position:relative}
.category-ribbon .ribbon-viewport{display:block;flex:1;min-width:0;overflow:hidden;padding:23px 0}
.category-ribbon .ribbon-track{display:flex;width:max-content;gap:0;padding:0;justify-content:flex-start;animation:rubros-marquee 48s linear infinite;will-change:transform}
.category-ribbon .ribbon-group{display:flex;flex:none;align-items:center;justify-content:flex-start;gap:34px;padding:0 34px 0 0;font-size:14px;letter-spacing:1px}
.category-ribbon.is-paused .ribbon-track,.category-ribbon:hover .ribbon-track,.category-ribbon:focus-within .ribbon-track{animation-play-state:paused}
.ribbon-pause{align-self:stretch;flex:none;width:48px;background:var(--paper);border:0;border-left:1px solid var(--line);font-size:13px;color:var(--ink)}
@keyframes rubros-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:1199px){.card-body p{display:none}}
@media(max-width:760px){
 .category-card,.category-card:nth-child(n+7){height:350px}
 .category-card .card-body,.category-card:nth-child(n+7) .card-body{padding:11px 12px}
 .card-body h3,.category-card:nth-child(n+7) .card-body h3{font-size:16px;line-height:1.15;min-height:0}
 .card-link{font-size:10px;padding-top:5px}
 .card-link span{width:23px;height:23px}
 .slide-controls{bottom:9px;padding:0 4px}
 .slide-controls button{width:14px;height:28px}
 .slide-controls button:after{width:5px;height:5px}
 .category-ribbon .ribbon-viewport{padding:17px 0}
 .category-ribbon .ribbon-group{font-size:12px;gap:24px;padding-right:24px}
 .ribbon-pause{width:40px}
}
@media(max-width:360px){.category-card,.category-card:nth-child(n+7){height:330px}.card-body h3,.category-card:nth-child(n+7) .card-body h3{font-size:15px}.slide-controls button{width:12px}}
@media(prefers-reduced-motion:reduce){.category-ribbon .ribbon-track{animation:none;will-change:auto}.category-ribbon .ribbon-viewport{overflow-x:auto}.ribbon-pause{display:none}}

/* Fundido de fotos: la saliente queda opaca debajo hasta que termina
   la entrada. Duración de 500 ms; app.js tiene un respaldo de 560 ms.
   No usar display:none/hidden para cambiar de foto: corta la transición. */
.slide-media>img{position:absolute;inset:0;width:100%;height:100%;opacity:0;z-index:0;pointer-events:none;transition:opacity 500ms ease-in-out}
.slide-media>img.is-active{opacity:1;z-index:1}
.slide-media>img.is-outgoing{opacity:1;z-index:0;transition:none}
.slide-media .card-tag{z-index:3}
.slide-media .slide-controls{z-index:3}
@media(prefers-reduced-motion:reduce){.slide-media>img{transition:none}}
