/* TITAN: catálogo técnico y cotización, sin precios. */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Segoe UI',Arial,sans-serif;color:#18324a;background:#fff;font-size:16px;line-height:1.5}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:3px solid #168de8;outline-offset:4px}
[hidden]{display:none!important}
.titan-navbar-inner{grid-template-columns:180px minmax(280px,1fr) auto;gap:20px}
.titan-logo{max-width:160px}
.titan-nav-right{min-width:0}
.titan-cart-header{cursor:pointer;font:inherit;border:1px solid #6ebeff;min-height:46px}
.titan-menu a{font-size:15px}
.titan-top-item small{font-size:12px}
.catalog-main{max-width:1240px;margin:auto;padding:38px 24px 70px}
.catalog-intro{max-width:760px;margin-bottom:28px}
.catalog-eyebrow{font-size:14px;color:#1266a7;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.catalog-intro h1{font-size:clamp(30px,4vw,46px);line-height:1.12;letter-spacing:-.035em;margin:10px 0 16px;color:#042745}
.catalog-intro p{color:#526879;font-size:17px;margin:8px 0}
.catalog-scenes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:8px}
.catalog-scene{position:relative;overflow:hidden;border-radius:10px;display:block;background:#042745;aspect-ratio:2/1;color:white;text-decoration:none}
.catalog-scene img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.catalog-scene:hover img{transform:scale(1.03)}
.catalog-scene span{position:absolute;inset:auto 0 0;padding:36px 18px 16px;background:linear-gradient(transparent,rgba(2,27,49,.95));font-size:20px;font-weight:650}
.catalog-caption{font-size:14px;color:#607385;margin:8px 0 28px}
.catalog-tools{border-top:1px solid #d9e3eb;border-bottom:1px solid #d9e3eb;padding:20px 0;display:grid;grid-template-columns:1.5fr 1fr;gap:16px}
.catalog-tools label{font-weight:600;font-size:14px;display:grid;gap:6px}
.catalog-tools input,.catalog-tools select{width:100%;min-height:46px;padding:10px 12px;background:#fff;border:1px solid #aebfcb;border-radius:6px;color:#18324a}
.catalog-results{font-size:14px;color:#526879;margin:16px 0}
.catalog-section{scroll-margin-top:24px;margin-top:38px}
.catalog-section-heading{display:flex;gap:24px;align-items:baseline;justify-content:space-between;margin-bottom:18px;border-bottom:2px solid #1266a7;padding-bottom:14px}
.catalog-section h2{margin:0;font-size:25px;color:#042745}
.catalog-section-heading p{margin:0;color:#526879;font-size:14px}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.catalog-card{min-width:0;border:1px solid #d5e1ea;border-radius:9px;padding:24px;background:white;display:flex;flex-direction:column}
.catalog-card:hover{border-color:#83b3d5;box-shadow:0 6px 22px #0427450c}
.catalog-card-tag{color:#1266a7;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.catalog-card h3{font-size:20px;line-height:1.3;min-height:52px;margin:12px 0 10px;color:#042745;overflow-wrap:anywhere}
.catalog-card p{margin:0 0 22px;color:#526879;min-height:48px}
.catalog-card form{margin-top:auto;display:grid;grid-template-columns:1fr 88px;gap:14px}
.catalog-card label{display:grid;gap:6px;font-size:14px;font-weight:600;min-width:0}
.catalog-card select,.catalog-card input{height:44px;padding:8px;border:1px solid #aebfcb;border-radius:5px;width:100%;min-width:0;background:#fff;color:#18324a;font-size:14px}
.catalog-add,.quote-send{grid-column:1/-1;background:#0868aa;color:#fff;border:0;border-radius:6px;min-height:46px;padding:12px 16px;font-weight:650;cursor:pointer}
.catalog-add:hover,.quote-send:hover{background:#044a7b}
.catalog-add:disabled{opacity:.6;cursor:wait}
.catalog-empty{padding:28px;background:#f2f7fb;border-radius:8px}
.catalog-note{margin-top:36px;border-left:3px solid #168de8;padding:14px 20px;background:#f3f8fc;font-size:14px;color:#526879}
.quote-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(540px,100%);max-width:100%;height:100dvh;max-height:100dvh;border:0;padding:0;background:#fff;color:#18324a;box-shadow:-10px 0 40px #0002}
.quote-dialog::backdrop{background:#021b3199}
body:has(.quote-dialog[open]){overflow:hidden}
.quote-shell{padding:26px}
.quote-top{display:flex;justify-content:space-between;align-items:center;gap:16px}
.quote-top h2{font-size:27px;margin:0;color:#042745}
.quote-close{width:44px;height:44px;border:1px solid #ccdbe6;border-radius:50%;background:white;cursor:pointer;font-size:26px}
.quote-help,.quote-empty,.quote-footnote{color:#526879;font-size:14px}
.quote-items{padding:0;list-style:none}
.quote-item{padding:20px 0;border-bottom:1px solid #d9e3eb}
.quote-item strong,.quote-item small{display:block}
.quote-item small{font-size:14px;color:#526879;margin:5px 0 12px}
.quote-item-controls{display:flex;align-items:center;gap:10px}
.quote-item-controls input{width:76px;min-height:42px;border:1px solid #aebfcb;border-radius:5px;padding:8px}
.quote-remove{margin-left:auto;border:0;background:none;color:#9c3030;text-decoration:underline;cursor:pointer;min-height:44px}
.quote-form{display:grid;gap:14px;padding-top:20px}
.quote-form label{display:grid;gap:6px;font-size:14px;font-weight:600}
.quote-form input,.quote-form textarea{width:100%;min-height:44px;border:1px solid #aebfcb;border-radius:5px;padding:10px;resize:vertical}
.quote-notice{padding:10px 12px;background:#fff6dd;color:#664c16;border-radius:5px;font-size:14px}
.quote-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:9999;background:#042745;color:#fff;padding:14px 22px;border-radius:8px;max-width:calc(100% - 32px);box-shadow:0 4px 18px #0003;font-size:15px}
.service-image.resinas{background-image:url('../images/categorias/resinas-aplicacion.webp')!important}
.service-image.fibras{background-image:url('../images/categorias/fibras-detalle.webp')!important}
.service-image.soluciones,.service-image.aditivos{background-image:url('../images/categorias/laboratorio-aditivos.webp')!important}
.titan-home-search{display:flex;align-items:center;gap:7px;margin:0}
.titan-home-search input{min-width:0}
.titan-home-search button{border:0;background:none;color:inherit;font-size:14px;padding:5px;cursor:pointer}
@media(max-width:1150px){.titan-navbar-inner{display:flex;flex-wrap:wrap;justify-content:space-between;padding:14px 22px}.titan-nav-right{margin-left:auto}.titan-search:not(.titan-home-search){display:none}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.titan-home-search{max-width:220px}}
@media(max-width:720px){.catalog-main{padding:26px 16px 45px}.titan-topbar{display:none}.titan-navbar-inner{gap:12px;padding:12px 16px}.titan-logo{max-width:125px}.titan-menu{order:3;width:100%;display:flex!important;justify-content:space-between;gap:5px}.titan-menu a{padding:9px 7px;font-size:14px}.titan-nav-right{width:auto!important}.titan-home-search{display:none!important}.titan-cart-header{font-size:14px;padding:8px}.catalog-scenes{gap:10px}.catalog-scene{aspect-ratio:1/1.2}.catalog-scene span{font-size:15px;padding:24px 10px 12px}.catalog-tools{grid-template-columns:1fr}.catalog-grid{grid-template-columns:1fr}.catalog-section-heading{display:block}.catalog-section-heading p{margin-top:7px}.catalog-card h3,.catalog-card p{min-height:0}.catalog-card{padding:20px}.quote-shell{padding:20px}.catalog-card form{grid-template-columns:1fr 80px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

/* TITAN 2026-09-12: acciones de cotización + carrito flotante */
.quote-send-options{display:grid;grid-template-columns:1fr;gap:10px;margin-top:2px}
.quote-send-options .quote-send{grid-column:auto;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.quote-send-options .quote-send:hover{transform:translateY(-1px);filter:brightness(.97)}
.quote-send-whatsapp{background:#16a34a!important;box-shadow:0 6px 16px rgba(22,163,74,.18)}
.quote-send-whatsapp:hover{background:#12813c!important}
.quote-send-email{background:#0868aa!important;box-shadow:0 6px 16px rgba(8,104,170,.18)}
.quote-send-email:hover{background:#044a7b!important}
.titan-floating-cart{position:fixed;right:24px;bottom:24px;z-index:9997;width:64px;height:64px;border:0;border-radius:50%;background:#0b78c8;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 10px 28px rgba(4,39,69,.28);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.titan-floating-cart[hidden]{display:none!important}
.titan-floating-cart:hover{transform:translateY(-3px);background:#0868aa;box-shadow:0 14px 32px rgba(4,39,69,.34)}
.titan-floating-cart:active{transform:translateY(-1px) scale(.98)}
.titan-floating-cart svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.titan-floating-cart-count{position:absolute;top:-4px;right:-2px;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#fff;color:#0868aa;border:2px solid #0b78c8;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;line-height:1}
@media(max-width:720px){.titan-floating-cart{right:16px;bottom:16px;width:58px;height:58px}.titan-floating-cart svg{width:27px;height:27px}.titan-floating-cart-count{min-width:22px;height:22px;font-size:11px}}
