@charset "UTF-8";
:root{
  --navy:#0c2f45;
  --navy-deep:#081f31;
  --teal:#0e7e8d;
  --teal-soft:#dbf2f4;
  --ice:#eef6f7;
  --bg:#f7fbfc;
  --line:#d8e5ea;
  --ink:#173546;
  --muted:#5c7380;
  --white:#ffffff;
  --radius:24px;
  --radius-sm:14px;
  --shadow:0 24px 60px rgba(8,31,49,.09);
  --shadow-soft:0 10px 30px rgba(8,31,49,.06);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:150px}
body{margin:0;background:linear-gradient(180deg,#fbfdfe 0%,#f7fbfc 100%);color:var(--ink);font:16px/1.72 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased}
a{color:#0b6e80;text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:#085465}
img{max-width:100%;height:auto;display:block}
button,input,textarea{font:inherit}
.shell{width:min(100% - 40px,1260px);margin-inline:auto}

/* sticky header */
.sticky-top{position:sticky;top:0;z-index:70;background:rgba(255,255,255,.96);backdrop-filter:saturate(180%) blur(10px);box-shadow:0 8px 28px rgba(12,47,69,.06)}
.topline{background:linear-gradient(90deg,var(--navy),#165170);color:#e9f7fa}
.topline-inner{display:flex;align-items:center;justify-content:space-between;min-height:40px;padding:4px 0;font-size:.82rem}
.contact-details{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.topline a,.topline .top-location{color:#eefbfd;text-decoration:none}
.topline a:hover{text-decoration:underline}
.site-header{border-bottom:1px solid rgba(216,229,234,.85)}
.header-inner{min-height:82px;display:flex;align-items:center;gap:22px}
.logo{display:flex;align-items:center;gap:14px;text-decoration:none!important;color:var(--navy)!important;font-weight:850;font-size:1.38rem;letter-spacing:.06em;line-height:1.05;flex-shrink:0}
.logo img{width:44px;height:44px;object-fit:contain}
.logo small{display:block;color:var(--muted);font-weight:600;font-size:.64rem;letter-spacing:0;margin-top:6px}
.site-header nav{display:flex;justify-content:center;align-items:center;gap:clamp(16px,2vw,30px);flex:1;flex-wrap:wrap}
.site-header nav a{position:relative;color:var(--navy-deep);font-size:.97rem;font-weight:700;text-decoration:none;padding:8px 0}
.site-header nav a[aria-current="page"]::after,.site-header nav a:hover::after{content:"";position:absolute;left:0;right:0;bottom:-9px;height:2px;background:var(--teal)}
.header-cta{display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:999px;background:var(--teal);color:#fff;text-decoration:none;font-weight:800;font-size:.92rem;box-shadow:var(--shadow-soft)}
.header-cta:hover{color:#fff;background:#0a6673}

main.shell{min-height:56vh}
.content{padding-bottom:24px}
.content h2,.content h3,.content h4{color:var(--navy);line-height:1.18;letter-spacing:-.02em}
.content h2{font-size:clamp(1.7rem,2.4vw,2.55rem);margin:3.2rem 0 1rem}
.content h3{font-size:clamp(1.25rem,1.75vw,1.62rem);margin:2.35rem 0 .8rem}
.content p,.content li{max-width:92ch}
.content ul,.content ol{padding-left:1.25rem}
.content strong{font-weight:800}
.content iframe{width:100%;max-width:100%;border:0;border-radius:18px;background:#eaf4f7}
.content table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.content th,.content td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left}
.content tr:last-child td{border-bottom:0}

/* reusable buttons */
.button,button,.button:visited{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 20px;border:0;border-radius:999px;background:var(--teal);color:#fff!important;text-decoration:none!important;font-weight:800;letter-spacing:.01em;cursor:pointer;box-shadow:var(--shadow-soft)}
.button.secondary{background:#fff!important;color:var(--navy)!important;border:1px solid var(--line)}
.button.secondary:hover{background:var(--ice)!important}
button:hover,.button:hover{background:#096572}
input,textarea,select{width:100%;padding:13px 14px;border:1px solid #bed1d9;border-radius:12px;background:#fff;color:var(--ink)}
label{display:grid;gap:7px;font-weight:650;margin:12px 0}

/* hero system */
.hero{position:relative;overflow:hidden;margin:32px 0 40px;border-radius:34px;border:1px solid rgba(216,229,234,.8);background:linear-gradient(135deg,#f2fafb 0%,#ffffff 50%,#edf7f9 100%);box-shadow:var(--shadow)}
.hero::before{content:"";position:absolute;inset:auto auto -120px -120px;width:300px;height:300px;border-radius:50%;background:rgba(14,126,141,.08);pointer-events:none}
.hero::after{content:"";position:absolute;top:-80px;right:-60px;width:250px;height:250px;border-radius:50%;background:rgba(12,47,69,.05);pointer-events:none}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,520px);gap:34px;align-items:center;padding:clamp(28px,5vw,60px)}
.hero-copy{max-width:720px}
.eyebrow{display:inline-block;font-size:.76rem;font-weight:900;letter-spacing:.14em;color:var(--teal);margin-bottom:14px}
.hero h1{font-size:clamp(2.25rem,5vw,4.55rem);line-height:1.04;letter-spacing:-.05em;color:var(--navy-deep);margin:0 0 18px;max-width:13ch;text-wrap:balance}
.hero .lead{font-size:clamp(1.05rem,1.3vw,1.2rem);line-height:1.7;color:var(--muted);margin:0 0 22px;max-width:62ch}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 18px}
.hero-chips{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0}
.hero-chips li{padding:9px 14px;border-radius:999px;background:#fff;border:1px solid rgba(12,47,69,.08);color:var(--navy);font-size:.88rem;font-weight:700}
.hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}
.stat-card{padding:16px 16px 14px;border-radius:18px;background:linear-gradient(180deg,#0d3448,#123d53);color:#fff;box-shadow:0 14px 30px rgba(12,47,69,.14)}
.stat-card strong{display:block;font-size:1.55rem;line-height:1.05;margin-bottom:6px}
.stat-card span{display:block;font-size:.88rem;line-height:1.4;color:#dbeef3}
.hero-media{position:relative}
.hero-media-frame{min-height:420px;border-radius:28px;overflow:hidden;background:linear-gradient(180deg,#dbe9ed,#f4fafb);box-shadow:0 26px 55px rgba(8,31,49,.14)}
.hero-media-frame img{width:100%;height:100%;min-height:420px;object-fit:cover}
.hero-callout{position:absolute;left:-20px;bottom:22px;max-width:300px;padding:18px 20px;border-radius:22px;background:rgba(8,31,49,.93);color:#fff;box-shadow:0 18px 40px rgba(8,31,49,.22)}
.hero-callout span{display:block;font-size:.72rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase;color:#91dce5;margin-bottom:6px}
.hero-callout strong{display:block;font-size:1.02rem;line-height:1.35;margin-bottom:6px}
.hero-callout p{margin:0;font-size:.88rem;line-height:1.55;color:#d9edf3}
.hero--catalogo .hero-media-frame img,.hero--productos .hero-media-frame img{object-fit:contain;background:#f7fbfc;padding:18px}
.hero--contacto .hero-media-frame img{object-fit:cover}

/* cards, docs and legacy blocks */
.document-link{margin:0}
.document-link a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 18px;background:var(--teal);border-radius:999px;color:#fff;text-decoration:none;font-weight:800;box-shadow:var(--shadow-soft)}
.catalogo{display:block;margin:16px 0 12px}
.catalogo>a{display:grid;gap:14px;justify-items:center;max-width:330px;padding:26px;background:#fff;border:1px solid var(--line);border-radius:24px;text-decoration:none;color:var(--navy);box-shadow:var(--shadow)}
.catalogo>a picture,.catalogo>a img{display:block;max-width:190px;margin:0 auto}
.catalogo>a button{display:none}
#enlaces-internos{margin:30px 0 0;padding:22px;background:linear-gradient(180deg,#f5fafb,#eef6f8);border:1px solid var(--line);border-radius:20px}
#enlaces-internos p{margin:0 0 12px}
#enlaces-internos a{display:inline-flex;align-items:center;min-height:40px;margin:6px 8px 0 0;padding:8px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);text-decoration:none;color:var(--navy);font-size:.92rem;font-weight:700}
#enlaces-internos:not(:has(a)){display:none}
.destacado{margin:28px 0;padding:20px 22px;border-left:4px solid var(--teal);background:linear-gradient(180deg,#f5fbfc,#edf6f8);border-radius:0 18px 18px 0}
.destacado:empty,.destacado:not(:has(p,a,img,ul,ol,table,blockquote)){display:none}

.product-feature{display:grid;grid-template-columns:minmax(170px,260px) minmax(0,1fr);gap:28px;align-items:start;padding:28px 0;border-bottom:1px solid var(--line)}
.product-feature:last-of-type{border-bottom:0}
.product-feature-media{display:flex;align-items:flex-start;justify-content:center;padding-top:4px}
.product-feature-media img{max-width:100%;max-height:230px;object-fit:contain}
.product-feature-body h3,.product-feature-body h4{margin:0 0 12px;color:#16556a}
.product-feature-body p:first-of-type{margin-top:0}
.supplier-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:center;margin:26px 0;padding:28px;border-radius:24px;background:linear-gradient(180deg,#fff,#f8fbfc);border:1px solid var(--line);box-shadow:var(--shadow-soft)}
.supplier-mark{display:flex;align-items:center;justify-content:center;min-height:110px;background:var(--ice);border-radius:18px;padding:16px}
.supplier-mark img{max-width:150px;max-height:85px;object-fit:contain}
.supplier-copy p{margin:0}
.supplier-copy p+p{margin-top:12px}

/* contact and footer */
.contact-block{padding:clamp(26px,4vw,44px);background:linear-gradient(135deg,#eff8f9,#ffffff);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow)}
.contact-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(290px,.9fr);gap:26px;align-items:start}
.contact-form-wrap h2{margin:0 0 12px;font-size:clamp(1.75rem,3vw,2.45rem)}
.contact-form-wrap form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:12px}
.contact-form-wrap label{margin:0}
.contact-form-wrap label:has(textarea),.contact-form-wrap label:has([type="checkbox"]),.contact-form-wrap .honeypot,.contact-form-wrap button{grid-column:1/-1}
.contact-form-wrap label:has([type="checkbox"]) span{display:flex;align-items:flex-start;gap:8px;font-weight:500}
.contact-form-wrap label:has([type="checkbox"]) input{width:auto;margin-top:4px}
.contact-form-wrap textarea{min-height:210px;resize:vertical}
.contact-card{padding:22px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-soft)}
.contact-card h3{margin:0 0 14px}.contact-card p{margin:10px 0}.map-card iframe{min-height:300px}
.success{padding:12px 14px;border-radius:12px;background:#e7f8ee;color:#166239;border:1px solid #b8e5c8}
footer{margin-top:72px;background:linear-gradient(135deg,var(--navy-deep),#0c3950);color:#d9edf2;padding:46px 0}
.footer{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.footer strong{display:block;color:#fff;font-size:1.35rem;margin-bottom:8px}.footer a{color:#f0fbff}
.cookie-link{padding:0;border:0;background:none;color:#f0fbff;text-decoration:underline;cursor:pointer}
.cookies-panel{position:fixed;right:20px;bottom:18px;z-index:100;width:min(430px,calc(100vw - 36px));padding:20px;border-radius:20px;background:#fff;border:1px solid var(--line);box-shadow:0 30px 70px rgba(8,31,49,.18)}
.cookies-panel[hidden]{display:none}.cookies-panel p{font-size:.93rem;margin:9px 0 14px}.cookies-panel .subtle{background:#eaf2f5;color:var(--navy)}
.honeypot{position:absolute!important;left:-10000px!important}

@media (max-width:1040px){
  .header-inner{flex-wrap:wrap;padding:12px 0}.site-header nav{order:3;justify-content:flex-start;width:100%}
  .hero-grid{grid-template-columns:1fr}.hero h1{max-width:15ch}.hero-media{max-width:760px}.hero-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .contact-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
  .shell{width:min(100% - 28px,1260px)}
  .topline-inner,.contact-details{justify-content:center}.contact-details{gap:8px 14px}
  .header-cta{display:none}
  .hero{border-radius:24px}.hero-grid{padding:24px}.hero h1{font-size:clamp(2rem,10vw,3.2rem);max-width:none}.hero-media-frame,.hero-media-frame img{min-height:290px}.hero-callout{position:static;margin-top:14px;max-width:none}.hero-stats{grid-template-columns:1fr}.product-feature,.supplier-card{grid-template-columns:1fr}.supplier-mark{justify-content:flex-start}.contact-form-wrap form{grid-template-columns:1fr}
}
@media (max-width:460px){
  .logo{font-size:1.12rem}.logo img{width:36px;height:36px}.logo small{display:none}.site-header nav{gap:10px 16px}.site-header nav a{font-size:.9rem}.hero-actions{flex-direction:column;align-items:stretch}.button,.document-link a{width:100%}.cookies-panel{right:10px;bottom:10px;width:calc(100vw - 20px)}
}

/* Shared blocks for every page family. Individual templates remain in their own CSS. */
.content .catalogos-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));align-items:stretch;gap:20px;margin:28px 0 42px}
.content .catalogos-row>a.catalogos{display:flex;min-width:0;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-soft);overflow:hidden;text-decoration:none;color:var(--navy);transition:transform .18s,box-shadow .18s}
.content .catalogos-row>a.catalogos:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.content .catalogos-row>a.catalogos>div{display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 18px;width:100%}
.content .catalogos-row>a.catalogos img{height:205px;width:100%;max-width:190px;object-fit:contain;margin:0 auto 15px}
.content .catalogos-row>a.catalogos p{margin:5px 0;font-weight:750;line-height:1.45}
.content .catalogos-row>a.catalogos em{display:block;margin-top:4px;color:var(--muted);font-size:.9rem;font-style:normal}

/* Existing supplier blocks (leftcomp) from the original CMS. */
.content .leftcomp{display:grid;grid-template-columns:minmax(150px,190px) minmax(0,1fr);gap:22px;align-items:center;margin:22px 0;padding:25px;border-radius:22px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-soft)}
.content .leftcomp>a,.content .leftcomp>picture,.content .leftcomp>img{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;min-width:0}
.content .leftcomp>a img,.content .leftcomp>picture img,.content .leftcomp>img{max-width:180px;max-height:135px;object-fit:contain}
.content .leftcomp>p,.content .leftcomp>div:not(.leftcomp){grid-column:2;grid-row:1;margin:0;max-width:none}
.content .leftcomp>p+p{grid-row:auto;margin-top:6px}
.content .leftcomp a{color:var(--teal)}

/* Download cards retain a visible, valid anchor action. */
.content .catalogo{margin:18px 0;max-width:360px}
.content .catalogo>a{max-width:none;width:100%;padding:24px;box-shadow:var(--shadow-soft);border:1px solid var(--line)}
.content .catalogo>a img{max-height:260px;max-width:190px;object-fit:contain}
.content .catalogo>a .catalogo-action{display:inline-flex;justify-content:center;align-items:center;width:100%;min-height:46px;padding:10px 16px;border-radius:999px;background:var(--teal);color:#fff;font-weight:800;text-align:center}
.content .catalogo>a button{display:flex;justify-content:center;align-items:center;width:100%;min-height:46px;border-radius:999px;background:var(--teal);color:#fff}
.content .catalogo+.document-link{margin:10px 0}
.content .catalogo+.document-link a{width:min(100%,360px)}

/* Small media blocks in legacy pages. */
.content picture,.content figure{max-width:100%}
.content picture img,.content figure img{object-fit:contain;max-width:100%;height:auto}
.content .iproductos{max-width:100%;height:auto;object-fit:contain}
.content .right{float:right;max-width:min(42%,360px);margin:6px 0 22px 26px}
.content .left{float:left;max-width:min(42%,360px);margin:6px 26px 22px 0}
.content section[id],.content h2[id],.content h3[id],.content div[id]{scroll-margin-top:170px}

/* Automatic links use real routes and original page titles from the database. */
.related-links{clear:both;margin:62px 0 18px;padding:30px;background:linear-gradient(135deg,#0c3045,#13445a);border-radius:28px;color:#fff;box-shadow:var(--shadow)}
.related-links h2{color:#fff;font-size:clamp(1.5rem,2.4vw,2.05rem);margin:0 0 20px;line-height:1.2;letter-spacing:-.025em}
.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:13px}
.related-grid a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:78px;padding:17px 19px;border:1px solid rgba(255,255,255,.16);border-radius:17px;background:rgba(255,255,255,.08);color:#fff;text-decoration:none;font-weight:700;line-height:1.35}
.related-grid a:hover{background:rgba(255,255,255,.16);color:#fff}
.related-grid a span:last-child{font-size:1.3rem;flex-shrink:0;color:#a6e5ed}

/* Detail heroes use the same system without repeating all homepage elements. */
.hero--catalogos-ficha .hero-media-frame img,.hero--catalogos-marca .hero-media-frame img,.hero--catalogos-index .hero-media-frame img,.hero--productos-ficha .hero-media-frame img,.hero--productos-familia .hero-media-frame img,.hero--productos-index .hero-media-frame img{object-fit:contain;background:#f6fafb;padding:clamp(20px,4vw,36px)}
.hero--catalogos-ficha .hero h1,.hero--articulos-articulo .hero h1{font-size:clamp(2rem,4vw,3.6rem);max-width:17ch}
.hero--articulos-articulo .hero-media-frame img{object-fit:cover}
.hero--legal{box-shadow:none;background:#f2f8f9}
.hero--legal .hero-grid{grid-template-columns:1fr}
.hero--legal .hero-copy{max-width:900px}
.hero--legal .hero h1{max-width:100%}

@media(max-width:760px){.content .leftcomp{grid-template-columns:1fr}.content .leftcomp>a,.content .leftcomp>picture,.content .leftcomp>img,.content .leftcomp>p,.content .leftcomp>div:not(.leftcomp){grid-column:1;grid-row:auto}.content .leftcomp>a{justify-content:flex-start}.content .right,.content .left{float:none;max-width:100%;margin:15px 0}.related-links{padding:22px;margin-top:42px}.related-grid{grid-template-columns:1fr}.content .catalogos-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){.content .catalogos-row{grid-template-columns:1fr}}

/* Minimal source pages: use existing assets and known links, never fake product descriptions. */
.source-landing{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(240px,.9fr);gap:28px;align-items:center;margin:25px 0 0;padding:clamp(24px,4vw,42px);border-radius:28px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-soft)}
.source-landing-copy h2{margin:0 0 20px;font-size:clamp(1.7rem,2.7vw,2.6rem);line-height:1.16;letter-spacing:-.03em}
.source-landing-actions{display:grid;gap:12px}
.source-landing-actions a{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:14px 18px;border-radius:14px;background:var(--ice);border:1px solid var(--line);color:var(--navy);font-weight:750;text-decoration:none}
.source-landing-actions a:hover{background:#e0f1f4}
.source-landing-image{min-height:280px;background:#f2fafb;border-radius:20px;overflow:hidden}
.source-landing-image img{width:100%;height:100%;min-height:280px;max-height:380px;object-fit:cover}
@media(max-width:760px){.source-landing{grid-template-columns:1fr}.source-landing-image{order:-1}}

/* V7: equal-visibility consent options, including on narrow screens. */
.cookies-panel .cookies-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 10px}
.cookies-panel .cookies-actions button{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:50px;padding:12px 10px;font-size:1rem;line-height:1.25;font-weight:800;box-shadow:none;text-align:center;border:2px solid transparent;border-radius:13px}
.cookies-panel .cookies-actions .cookie-reject{background:#e9f1f4!important;color:#10354a!important;border-color:#bed2db!important}
.cookies-panel .cookies-actions .cookie-reject:hover{background:#dbe9ef!important;color:#10354a!important}
.cookies-panel .cookies-actions .cookie-accept{background:#0d7888!important;color:#fff!important;border-color:#0d7888!important}
.cookies-panel .cookies-actions .cookie-accept:hover{background:#095e6c!important}
.cookies-panel .cookies-more{display:inline-block;margin-top:2px;font-size:.92rem;color:#0c667b}
@media(max-width:350px){.cookies-panel .cookies-actions{grid-template-columns:1fr}}

/* V7: optional telephone field and contact accessibility. */
.contact-form-wrap label:has(input[name="telefono"]){grid-column:1/-1}
.contact-form-wrap .field-optional{font-size:.8rem;color:var(--muted);font-weight:500;display:inline}
.contact-form-wrap input[type="tel"]{width:100%}
.contact-block .contact-card a{overflow-wrap:anywhere}


/* V14 — shared editorial components, no page-specific typography overrides */
.breadcrumbs{margin:22px 0 10px;font-size:.9rem;color:var(--muted)}
.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0;padding:0;list-style:none}
.breadcrumbs li{display:flex;align-items:center;min-width:0;max-width:100%}
.breadcrumbs li+li::before{content:"/";color:#91aab5;padding-right:8px}
.breadcrumbs li[aria-current]{font-weight:750;color:var(--navy);overflow-wrap:anywhere}
.breadcrumbs a{color:#416876;text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}
.content .product-feature{display:block;clear:both;overflow:hidden;margin:28px 0;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-soft);padding:clamp(18px,2.8vw,30px)}
.content .product-feature-heading h2,.content .product-feature-heading h3,.content .product-feature-heading h4{margin:0 0 18px;max-width:none}
.content .product-feature-layout{display:grid;grid-template-columns:minmax(190px,32%) minmax(0,1fr);align-items:start;gap:clamp(20px,3vw,38px)}
.content .product-feature-media{display:block;min-width:0;max-width:none;margin:0}
.content .product-feature-media picture{display:block;width:100%;max-width:100%}
.content .product-feature-media img,
.content .product-feature-media img.right,
.content .product-feature-media img.left,
.content .product-feature-media img.iproductos{display:block;float:none!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:320px!important;object-fit:contain;margin:0!important;padding:12px;border:1px solid var(--line);border-radius:15px;background:#f7fafb}
.content .product-feature-body p{max-width:none;margin:0 0 16px;line-height:1.78}
.content .product-feature-body p:last-child{margin-bottom:0}
.content .product-feature--stacked .product-feature-layout{display:flex;flex-direction:column;gap:18px}
.content .product-feature--stacked .product-feature-media{width:100%}
.content .product-feature--stacked .product-feature-media img,
.content .product-feature--stacked .product-feature-media img.right,
.content .product-feature--stacked .product-feature-media img.left{width:100%!important;max-height:520px!important;object-fit:contain;padding:0;border:0;background:#fff}
.content .product-feature--stacked .product-feature-body{width:100%}
.content .legacy-cta-label{display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:13px 20px;border-radius:999px;background:var(--teal);color:#fff;font-weight:750;line-height:1.3;min-height:48px;white-space:normal}
.content a:has(> .legacy-cta-label){display:inline-flex;align-items:center;margin:9px 12px 9px 0;text-decoration:none;vertical-align:middle;max-width:100%}
.content a:hover > .legacy-cta-label{background:#096572}
.content .catalogue-disclosure{display:block;clear:both;margin:22px 0;padding:0;border:1px solid var(--line);background:#fff;border-radius:20px;box-shadow:var(--shadow-soft);overflow:hidden}
.content .catalogue-disclosure>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;cursor:pointer;padding:19px 23px;color:var(--navy);font-weight:800;line-height:1.4;background:linear-gradient(120deg,#f3fafb,#fff)}
.content .catalogue-disclosure>summary span{font-size:1.4rem;color:var(--teal)}
.content .catalogue-disclosure[open]>summary{border-bottom:1px solid var(--line)}
.content .catalogue-disclosure-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));align-items:stretch;gap:15px;padding:18px}
.content .catalogue-disclosure-grid>a{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:12px;padding:17px;border:1px solid var(--line);background:var(--ice);border-radius:16px;text-align:center;text-decoration:none;overflow-wrap:anywhere}
.content .catalogue-disclosure-grid>a picture,.content .catalogue-disclosure-grid>a img{width:100%;max-width:145px;height:170px;object-fit:contain;margin:auto}
.content .catalogue-disclosure-grid .catalogo-action,.content .catalogue-disclosure-grid>a .legacy-cta-label{font-size:.82rem;min-height:40px;border-radius:12px;padding:9px 10px}
.content .catalogue-disclosure-grid .document-link{margin:0;max-width:none}
.content .catalogue-disclosure-grid .document-link a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:92px;width:100%;padding:12px 14px;border-radius:15px;font-size:.9rem;overflow-wrap:anywhere}
.content p,.content li{max-width:100%}
@media(max-width:720px){
 .content .product-feature-layout{grid-template-columns:1fr}
 .content .product-feature-media img,.content .product-feature-media img.right,.content .product-feature-media img.left{max-height:350px!important}
 .content .catalogue-disclosure-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
 .breadcrumbs{margin:14px 0 8px}
}
@media(max-width:450px){.content .catalogue-disclosure-grid{grid-template-columns:1fr}}

/* V15 | Shared catalogue rail: always visible, one or many original covers */
.catalogue-carousel{clear:both;margin:30px 0 38px;padding:clamp(22px,2.8vw,34px);border:1px solid var(--line);border-radius:26px;background:linear-gradient(115deg,#f1f8f9,#fff 65%);box-shadow:0 16px 40px rgba(8,31,49,.055)}
.catalogue-carousel-heading{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:19px}
.catalogue-carousel-kicker{display:block;margin-bottom:9px;color:var(--teal);font-size:.78rem;letter-spacing:.12em;font-weight:850}
.content .catalogue-carousel-heading h2{margin:0 0 7px;font-size:clamp(1.45rem,2vw,1.9rem);line-height:1.19;color:var(--navy)}
.catalogue-carousel-heading p{margin:0;max-width:65ch;font-size:.96rem;color:var(--muted);line-height:1.5}
.catalogue-carousel-controls{display:flex;gap:8px;flex:none}
.catalogue-carousel-controls button{display:grid;place-items:center;width:45px;height:45px;min-height:45px;padding:0;border:1px solid #bdd7df;border-radius:50%;background:#fff;color:var(--navy)!important;box-shadow:none;font-size:1.35rem;line-height:1;cursor:pointer}
.catalogue-carousel-controls button:hover:not(:disabled){background:var(--navy);color:#fff!important;border-color:var(--navy)}
.catalogue-carousel-controls button:disabled{opacity:.32;cursor:default}
.catalogue-carousel-track{display:flex;gap:17px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-inline:3px;padding:2px 2px 15px;scrollbar-color:#9dc2cb #ecf5f7;scrollbar-width:thin}
.catalogue-carousel-track:focus-visible{outline:3px solid var(--teal);outline-offset:4px;border-radius:15px}
.content .catalogue-carousel .catalogue-card{flex:0 0 clamp(210px,21vw,252px);min-width:0;display:flex;flex-direction:column;scroll-snap-align:start;overflow:hidden;border:1px solid #d6e5ea;border-radius:18px;text-decoration:none;color:var(--navy);background:#fff;box-shadow:0 8px 22px rgba(8,31,49,.06);transition:transform .18s,box-shadow .18s}
.content .catalogue-carousel .catalogue-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(8,31,49,.13)}
.catalogue-card-cover{display:flex;align-items:center;justify-content:center;width:100%;height:224px;padding:15px;background:#f7fbfc;border-bottom:1px solid #e7eff2;overflow:hidden}
.catalogue-card-cover picture{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.content .catalogue-card-cover img{display:block;width:100%;height:100%;max-height:190px;object-fit:contain;float:none!important;margin:0!important;filter:none}
.catalogue-document-icon{display:grid;place-items:center;width:110px;height:145px;border-radius:10px;background:linear-gradient(160deg,#e9f6f8,#d8ebf0);color:#0c5368;font-weight:900;font-size:1.9rem;letter-spacing:.08em;border:1px solid #bdd9e1}
.catalogue-card-title{display:block;flex:1;padding:17px 17px 13px;font-size:1rem;line-height:1.45;font-weight:780;overflow-wrap:anywhere;text-wrap:pretty}
.catalogue-card-action{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 15px 16px;padding:11px 14px;border-radius:11px;background:#0f7686;color:#fff;font-size:.9rem;line-height:1.3;font-weight:800}
.catalogue-card:hover .catalogue-card-action{background:#0b5969}
.catalogue-card-action>span{font-size:1.05rem}

/* Editorial hero: long product names should breathe instead of breaking every 2 words. */
.hero--no-image .hero-grid{grid-template-columns:minmax(0,1fr)}
.hero--no-image .hero-copy{max-width:1050px}
.hero--no-image h1{max-width:23ch}
@media(max-width:760px){
  .catalogue-carousel{padding:20px 16px;margin:22px 0 28px;border-radius:18px}
  .catalogue-carousel-heading{align-items:center}
  .catalogue-carousel-controls button{width:40px;height:40px;min-height:40px}
  .content .catalogue-carousel .catalogue-card{flex-basis:min(76vw,240px)}
  .catalogue-card-cover{height:196px}
}

/* Editorial finish: lighter related navigation, consistent action hierarchy. */
:is(.page-productos,.page-sectores,.page-articulos) .related-links{padding:clamp(24px,3vw,36px);margin:56px 0 10px;background:linear-gradient(120deg,#e7f3f6,#f5fafb);border:1px solid #cfdfe5;box-shadow:none;color:var(--navy)}
:is(.page-productos,.page-sectores,.page-articulos) .related-links h2{color:var(--navy);font-size:clamp(1.55rem,2.3vw,2.15rem)}
:is(.page-productos,.page-sectores,.page-articulos) .related-grid a{min-height:90px;background:#fff;border:1px solid #dae6ea;color:var(--navy);font-size:.98rem;box-shadow:0 7px 18px rgba(8,31,49,.035)}
:is(.page-productos,.page-sectores,.page-articulos) .related-grid a:hover{background:#f1fafb;color:var(--navy);border-color:#aad0d8}
:is(.page-productos,.page-sectores,.page-articulos) .related-grid a span:last-child{color:var(--teal)}

/* A single cover uses a deliberate two-column composition rather than an empty rail. */
@media(min-width:800px){
  .catalogue-carousel--single{display:grid;grid-template-columns:minmax(0,.95fr) minmax(260px,1.05fr);gap:30px;align-items:center}
  .catalogue-carousel--single .catalogue-carousel-heading{align-items:center;margin:0}
  .catalogue-carousel--single .catalogue-carousel-track{padding:8px;overflow:visible}
  .catalogue-carousel--single .catalogue-card{max-width:280px}
}

/* Logotipo facilitado por EURTACA. Unico logotipo de cabecera, sin selector de versiones. */
.logo--full{display:flex;gap:10px;align-items:center;max-width:338px;letter-spacing:0}
.logo--full .logo-full-mark{height:auto;width:210px;max-width:210px;object-fit:contain;flex-shrink:0}
.logo--full .logo-tagline{font-size:.67rem;font-weight:650;letter-spacing:0;line-height:1.25;color:#294775;max-width:112px}
/* Product & sector budget request: reuse the same contact form fields and CSRF checks. */
.page-productos .content .quote-block,.page-sectores .content .quote-block{margin:34px 0 10px;padding:clamp(23px,4vw,42px);scroll-margin-top:164px}
.quote-block .quote-context{font-size:.91rem;color:var(--teal);font-weight:750;margin:0 0 9px}
.quote-block .contact-side{display:grid;align-content:start}
.quote-block .contact-form-wrap h2{margin:0 0 10px}
.quote-block button[type="submit"]{width:max-content;max-width:100%}
@media(max-width:780px){.logo--full{max-width:260px;gap:7px}.logo--full .logo-full-mark{width:155px;max-width:155px}.logo--full .logo-tagline{max-width:96px}}
@media(max-width:520px){.logo--full{max-width:230px;gap:6px}.logo--full .logo-full-mark{width:140px;max-width:140px}.logo--full .logo-tagline{font-size:.59rem;max-width:84px}}

/* Fallback for editorial pictograms only; page-specific styles take precedence. */
:where(.eurtaca-ficha-verbatim) .ef-icon-heading{display:flex;align-items:center;gap:.8rem}
:where(.eurtaca-ficha-verbatim .ef-icon-heading) > svg.ef-heading-symbol{box-sizing:content-box;display:inline-block;flex:0 0 27px;width:27px;height:27px;padding:9px;border:1px solid #cee3e9;border-radius:12px;color:#246f70;background:#f5fafb;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:640px){:where(.eurtaca-ficha-verbatim .ef-icon-heading) > svg.ef-heading-symbol{flex-basis:23px;width:23px;height:23px;padding:8px}}
