/* ESTEBANTOLEVENDO — shared photography and layout system */
:root{--ink:#172936;--muted:#54636c;--paper:#f3f5f6;--cream:#e6ebee;--line:#d8e0e4;--accent:#d95727}.shell{width:min(1420px,calc(100% - 64px))}.topbar{height:84px;background:#fff}.nav{gap:20px}.nav nav{gap:20px}.nav nav a{font-size:14px}.brand{font-size:14px}.brand small{font-size:11px}.hero,.hero-inner{min-height:570px}.hero-copy{padding:55px 0 65px;max-width:760px}.hero h1{font-size:clamp(42px,5vw,72px);letter-spacing:-.045em}.hero-copy p{font-size:18px;line-height:1.55;max-width:590px}.hero-index{margin-bottom:50px}.hero .sound-row{margin-top:25px}.scene-note{font-size:12px}.button{font-size:14px;min-height:48px}.sound-row button{font-size:14px}.ticker .shell{font-size:12px;letter-spacing:.08em;padding:16px 0}.eyebrow{font-size:12px;letter-spacing:.13em}.section,#colecciones{padding-top:55px;padding-bottom:55px}.section-head{gap:30px;margin-bottom:26px;align-items:center}.section-head h2,.editorial h2,.sold-banner h2,.closing h2{font-size:clamp(30px,3.2vw,44px);letter-spacing:-.035em}.section-head p{max-width:420px;font-size:16px;line-height:1.5}.section-link{font-size:14px}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.sector-card,.sector-card:nth-child(4),.sector-card:nth-child(12){grid-column:auto;display:flex;flex-direction:column;border:1px solid #d4dde2;background:#fff;color:var(--ink);border-radius:9px;overflow:hidden;box-shadow:0 3px 12px #17313f07}.sector-photo,.sector-card:nth-child(4) .sector-photo,.sector-card:nth-child(12) .sector-photo{width:100%;aspect-ratio:16/10;height:auto;min-height:0;flex:none;background:#152b39}.sector-photo img{display:block;object-fit:cover}.sector-copy{padding:20px 23px 18px;gap:0}.sector-copy h3{font-size:23px;line-height:1.2;margin:0 0 10px}.sector-copy p,.sector-card:nth-child(4) p{color:#53636c;font-size:16px;line-height:1.45;margin:0 0 18px}.sector-copy>span,.sector-card:nth-child(4) .sector-copy>span{color:#a93e16;font-size:14px;border-color:#dce3e6;padding-top:12px}.sector-number{background:#102936de;backdrop-filter:blur(4px);border:1px solid #ffffff38;border-radius:4px}.sector-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #112f3d16}.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}.cards>[data-card]{display:flex;min-width:0}.cards>[data-card]>.card{width:100%}.card{display:flex;flex-direction:column;border:1px solid #d6dfe4;border-radius:8px;box-shadow:0 2px 7px #14293905}.card-photo{height:auto;aspect-ratio:4/3;isolation:isolate;overflow:hidden;background:#dde4e8}.card-photo::before,.gallery-stage::before{content:'';position:absolute;inset:-25px;background-image:var(--photo-backdrop);background-position:center;background-size:cover;filter:blur(20px) saturate(.65);opacity:.19;z-index:0;pointer-events:none}.card-photo::after{content:'';position:absolute;inset:0;border-bottom:1px solid #1729360a;pointer-events:none}.card-photo img,.card-photo.import-photo img{position:relative;z-index:1;object-fit:contain;padding:0;width:100%;height:100%}.card-photo.import-photo{background:#dde4e8}.badge{z-index:3;max-width:calc(100% - 20px);font-size:12px;padding:7px 10px;line-height:1.35}.etv-watermark{z-index:2}.card-body{padding:18px 20px 20px;min-height:0;flex:1}.card-body .eyebrow{font-size:12px;line-height:1.4;letter-spacing:.07em}.card h3{font-size:18px;line-height:1.35;margin:10px 0 14px;letter-spacing:-.015em}.card-body .product-price{margin:0 0 12px;font-size:21px!important}.card-body .price-note{margin:0 0 12px}.card-link{padding-top:12px;border-top:1px solid #e0e6e8;line-height:1.4}.section-tint{background:#e5ebee}.editorial{padding:55px 0;gap:6%}.editorial-image{height:360px;border-radius:8px}.editorial p{font-size:16px;line-height:1.6}.sold-banner{background:#0f2230 url('/assets/visual/steel-background.webp') center/cover}.sold-banner:before{background:linear-gradient(90deg,#102633e8,#10263370)}.sold-banner .shell{padding:58px 0}.closing{padding:50px 40px;margin:42px auto;background:#112838 url('/assets/visual/steel-background.webp') center/cover;color:white;border-radius:9px;align-items:center}.closing .eyebrow{color:#ffb38e}.closing h2{margin-top:12px}.closing .button{flex-shrink:0}.intro.shell{padding:40px 0 24px}.intro.shell h1{font-size:clamp(32px,4vw,54px);max-width:1000px}.listing{padding-bottom:60px}.filterbar{border:1px solid var(--line);border-radius:6px;padding:18px}.filterbar label,.filterbar output{font-size:14px}.filterbar input,.filterbar select{font-size:16px}.notice{font-size:14px;margin-bottom:22px}.sector-intro{padding-top:30px;padding-bottom:36px;gap:38px;grid-template-columns:1fr 1.05fr}.sector-intro h1{font-size:clamp(30px,3.8vw,50px);margin:15px 0}.sector-intro p{font-size:17px;line-height:1.5}.sector-cover{height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:8px}.sector-list{padding-bottom:55px}.sector-list>h2{font-size:28px;margin:0 0 22px}.sector-chips{margin-bottom:24px}.sector-chips:empty{display:none}.sector-empty{background:#e5ebee;padding:27px}.breadcrumbs{font-size:14px;line-height:1.5;flex-wrap:wrap;padding:22px 0;gap:6px 12px}.product-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:38px;padding:12px 0 40px}.product-info h1{font-size:clamp(28px,3vw,43px);line-height:1.16;margin-bottom:18px}.lead{margin:20px 0;line-height:1.55}.availability{margin:20px 0;padding:18px 0}.availability strong{font-size:28px;line-height:1.25}.availability span{font-size:14px}.gallery-stage{isolation:isolate;overflow:hidden;border-radius:8px;background:#e3e9ec;aspect-ratio:4/3}.etv-gallery .gallery-stage>a{position:relative;z-index:1;background:transparent}.gallery-stage img{object-fit:contain}.gallery-thumbnails{grid-template-columns:repeat(6,minmax(0,1fr));max-height:210px;gap:8px}.gallery-thumbnails button{border-radius:4px;overflow:hidden;background:#e2e8eb}.gallery-thumbnails img{object-fit:contain}.gallery-caption{margin-top:10px}.gallery-toolbar{padding:10px 0}.product-description{padding:32px 0 35px;grid-template-columns:.65fr 1.35fr;gap:6%}.product-description h2{margin:12px 0;font-size:28px}.source-copy{font-size:16px;line-height:1.65}.related{padding-bottom:55px}.imported-details{padding-bottom:40px}.import-checks{margin-bottom:25px}.import-video video{max-height:520px;border-radius:6px}.material-gallery{margin-top:28px}.material-gallery img{height:250px;border-radius:6px}footer{padding-top:42px;background:#102634}.footer-grid{gap:30px}.footer-grid p,.footer-grid>div:not(:first-child){font-size:14px;line-height:1.6}.foot-bottom{font-size:12px;margin-top:32px}.photo-review{border:1px solid #d3dde2;background:#e5ebee;border-radius:8px}.photo-review img{max-height:340px;object-fit:contain}.photo-review p{padding:0 20px}.cards [hidden]{display:none!important}.media-count{font-size:12px;position:absolute;right:10px;top:10px;padding:6px 9px;background:#102634d9;color:white;border-radius:4px;z-index:3}.new-banner .shell{padding-top:26px;padding-bottom:26px}
@media(min-width:1250px){.listing .cards,.sector-list .cards{grid-template-columns:repeat(4,minmax(0,1fr))}.listing .card h3,.sector-list .card h3{font-size:17px}}
@media(max-width:1150px){.nav nav{gap:12px}.nav nav a{font-size:13px}.brand{font-size:12px}.brand small{display:none}.shell{width:calc(100% - 44px)}}
@media(max-width:980px){.topbar{height:74px}.menu-toggle{display:block;background:white;border:1px solid #bdcbd3;padding:10px 14px;font-size:14px;min-height:44px}.nav nav{display:none;position:absolute;left:0;right:0;top:74px;background:#fff;flex-direction:column;align-items:stretch;padding:16px 22px;gap:0;box-shadow:0 15px 25px #14293726}.nav nav.open{display:flex}.nav nav a{font-size:16px;padding:12px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.section-head{align-items:start}.sector-intro{gap:26px}.sector-intro h1{font-size:35px}.product-layout{gap:25px}.hero,.hero-inner{min-height:540px}.hero h1{font-size:clamp(42px,6vw,60px)}}
@media(max-width:760px){.shell,.intro.shell{width:calc(100% - 32px)}.section,#colecciones{padding-top:38px;padding-bottom:38px}.section-head{flex-direction:column;gap:14px}.section-head p{max-width:none}.sector-copy{padding:17px}.sector-copy h3{font-size:21px}.sector-copy p{font-size:15px}.sector-photo{aspect-ratio:4/3}.sector-intro,.product-layout,.product-description,.editorial{grid-template-columns:1fr}.sector-intro{padding-top:22px;gap:20px}.sector-cover{aspect-ratio:16/9}.product-info{position:static}.product-layout{padding-bottom:25px}.product-description{gap:10px}.gallery-thumbnails{grid-template-columns:repeat(5,minmax(0,1fr));max-height:190px}.closing{padding:32px 24px;flex-direction:column;align-items:start;gap:22px}.hero-copy{padding:45px 0}.hero-copy p{font-size:17px}.hero-index{display:none}.ticker .shell{flex-wrap:wrap;gap:12px 18px}.editorial-image{height:300px}.gallery-stage{aspect-ratio:4/3}.filterbar{flex-wrap:wrap}.filterbar input,.filterbar select{min-width:100%;max-width:none}.filterbar label{width:100%}.footer-grid{grid-template-columns:1fr}.scene-note{right:16px;bottom:12px;max-width:85%;font-size:12px}.source-copy{line-height:1.6}}
@media(max-width:520px){.collection-grid,.cards{grid-template-columns:1fr;gap:20px}.sector-photo,.sector-card:nth-child(4) .sector-photo,.sector-card:nth-child(12) .sector-photo{aspect-ratio:16/10}.sector-copy h3{font-size:23px}.sector-copy p{font-size:16px}.card-photo{aspect-ratio:4/3}.card-body{padding:19px}.card h3{font-size:20px}.hero,.hero-inner{min-height:550px}.hero h1{font-size:40px}.hero-actions{gap:9px}.hero-actions .button{padding:14px 16px}.sound-row{gap:9px}.sound-row button{padding:10px 12px}.brand{font-size:12px;gap:8px}.section-head h2,.editorial h2,.sold-banner h2,.closing h2{font-size:32px}.ticker .shell span{width:auto}.gallery-thumbnails{grid-template-columns:repeat(4,minmax(0,1fr))}.sector-intro h1{font-size:34px}.sector-cover{aspect-ratio:4/3}.machine-specs{grid-template-columns:1fr}.availability strong{font-size:26px}.material-gallery{grid-template-columns:1fr}.material-gallery img{height:auto}.filterbar{padding:15px}}
@media(prefers-reduced-motion:reduce){.sector-card,.card-photo img{transition:none}.card:hover .card-photo img{transform:none}}
/* Preserve complete lettering in the category's existing brand artwork. */
.sector-card[href="/colecciones/motores-desguace/"] .sector-photo img{object-fit:contain;background:#202322}
.sector-cover[alt="Imagen de referencia de Motores y desguace"]{object-fit:contain;background:#202322}

/* Compact photo directory: the same order and direct links on home and collections. */
.collection-grid.collection-directory{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:24px 16px;align-items:start;background:#fff;padding:24px 12px;border-radius:8px}
.collection-directory .collection-shortcut{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;padding:10px 4px 12px;color:var(--ink);text-decoration:none;border-radius:7px;transition:background .16s ease}
.collection-shortcut-image{display:flex;align-items:center;justify-content:center;width:100%;max-width:160px;height:112px;overflow:hidden;border-radius:4px}
.collection-shortcut-image img{display:block;width:100%;height:100%;object-fit:contain}
.collection-shortcut-label{font-size:14px;font-weight:700;line-height:1.35;text-align:center;overflow-wrap:anywhere;max-width:100%}
.collection-shortcut:hover{background:#f0f4f6}.collection-shortcut:hover .collection-shortcut-label{color:#a43b16}
.collection-shortcut:focus-visible{outline:3px solid #c74b1c;outline-offset:3px;background:#f0f4f6}
#colecciones{scroll-margin-top:90px}
@media(max-width:1100px){.collection-grid.collection-directory{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 12px}}
@media(max-width:760px){.collection-grid.collection-directory{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 8px;padding:16px 6px}.collection-shortcut-image{height:86px;max-width:120px}.collection-directory .collection-shortcut{gap:9px;padding:6px 3px 10px}.collection-shortcut-label{font-size:14px;line-height:1.35}}
@media(max-width:380px){.collection-shortcut-image{height:72px}.collection-grid.collection-directory{gap:12px 4px;padding:12px 2px}}
@media(max-width:300px){.collection-grid.collection-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.collection-directory .collection-shortcut{transition:none}}

/* Category titles over full-width photography, with a dark text-safe overlay. */
.collection-hero{position:relative;isolation:isolate;overflow:hidden;background:#142936;color:#fff;margin:0 0 28px}
.collection-hero-photo{position:absolute;inset:0;z-index:-2;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 48%}
.collection-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(7,20,29,.92) 0%,rgba(7,20,29,.78) 48%,rgba(7,20,29,.28) 100%)}
.collection-hero-inner{display:flex;align-items:center;min-height:290px;padding-top:38px;padding-bottom:38px}
.collection-hero-copy{width:min(760px,100%);text-shadow:0 1px 3px #0005}
.collection-hero .eyebrow{color:#ffd0ad;font-size:13px;letter-spacing:.12em}
.collection-hero h1{color:#fff;font-size:clamp(32px,4.1vw,56px);line-height:1.1;letter-spacing:-.035em;margin:16px 0;overflow-wrap:anywhere}
.collection-hero p{color:#f0f4f7;font-size:17px;line-height:1.55;max-width:680px;margin:0}
.collection-hero .button{margin-top:20px;text-shadow:none}
.collection-hero .sector-note{color:#e4ebef;font-size:14px;margin-top:14px;max-width:650px}
.sector-breadcrumb+.collection-hero{margin-top:20px}
@media(max-width:760px){.collection-hero-inner{min-height:250px;padding-top:28px;padding-bottom:28px}.collection-hero::before{background:linear-gradient(90deg,rgba(7,20,29,.86),rgba(7,20,29,.64))}.collection-hero-photo{object-position:60% center}.collection-hero h1{font-size:34px;margin:13px 0}.collection-hero p{font-size:16px}.collection-hero{margin-bottom:20px}.collection-hero .sector-note{font-size:14px}}
/* Catálogo: cabecera visual, filtros y fotografía completa. */
.catalog-heading{position:relative;color:#fff;isolation:isolate;background:#102733 url('/assets/scene-bright-a.webp') center 48%/cover;padding:54px 0 58px;margin-bottom:0}
.catalog-heading:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#102733f2 0%,#102733c9 44%,#1027334b 100%)}
.catalog-heading h1{font-size:clamp(36px,4vw,58px);line-height:1.1;letter-spacing:-.045em;margin:14px 0}
.catalog-heading .eyebrow{color:#ffb48d}
.catalog-heading p{font-size:17px;line-height:1.55;max-width:650px;color:#e8f0f2;margin:0}
.catalog-filter{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr) minmax(170px,.65fr);gap:12px;background:#102938;border:0;border-radius:0;margin-top:22px;margin-bottom:14px;padding:20px 22px}
.catalog-filter label{display:block!important;width:auto!important;min-width:0;color:#cbd8de;text-transform:uppercase;font-size:12px;font-weight:800;letter-spacing:.045em}
.catalog-filter input,.catalog-filter select{display:block;width:100%;max-width:none!important;min-width:0!important;margin-top:8px;background:#fff;color:#172936;border:0;font-size:15px;min-height:48px}
.catalog-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;scrollbar-color:#9aa6ac #e2e8eb}
.catalog-chips button{flex:none;min-height:38px;padding:8px 14px;background:#fff;color:#172936;border:1px solid #c3cdd1;font:700 13px 'DM Sans',Arial,sans-serif;cursor:pointer}
.catalog-chips button[aria-pressed=true]{background:#172936;color:#fff;border-color:#172936}
.catalog-chips button:focus-visible{outline:3px solid #d95727;outline-offset:2px}
.catalog-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:10px 0 20px;font-size:14px;color:#54636c}
.catalog-summary output{font-weight:800;color:#172936}
.catalog-summary label{display:flex;align-items:center;gap:8px;cursor:pointer}
.catalog-summary input{width:18px;height:18px;accent-color:#d95727}
.card-photo,.card-photo.import-photo{background:#182e3b;aspect-ratio:5/4}
.card-photo::before,.gallery-stage::before{inset:-18px;filter:blur(20px) saturate(.8) brightness(.48);opacity:.88}
.card-photo img,.card-photo.import-photo img{object-fit:contain;width:100%;height:100%;padding:0;filter:drop-shadow(0 5px 8px #0005)}
.gallery-stage{background:#182e3b}
.gallery-stage::before{opacity:.72}
@media(max-width:900px){.catalog-filter{grid-template-columns:1fr 1fr}.catalog-filter label:first-child{grid-column:1/-1}}
@media(max-width:600px){.catalog-heading{padding:42px 0}.catalog-filter{grid-template-columns:1fr;padding:16px}.catalog-filter label:first-child{grid-column:auto}.catalog-summary{align-items:flex-start;flex-direction:column}.card-photo{aspect-ratio:5/4}}
