/* Cinco apariencias; la estructura, los datos y la cotización son compartidos. */

/* 02 — Editorial premium */
[data-template="editorial"]{--soft:color-mix(in srgb,var(--tenant-background) 72%,#eadfce);--line:color-mix(in srgb,var(--tenant-primary) 16%,#e6e1d9)}
[data-template="editorial"] .public-header{border-bottom:0}
[data-template="editorial"] .hero{min-height:760px;grid-template-columns:1.15fr .85fr;gap:34px}
[data-template="editorial"] .hero h1{font-size:clamp(58px,7.8vw,108px);line-height:.84;letter-spacing:-.055em}
[data-template="editorial"] .hero-copy>p,[data-template="editorial"] .hero .actions,[data-template="editorial"] .hero .trust{margin-left:14%}
[data-template="editorial"] .hero-art{min-height:570px;border-radius:2px;background:var(--tenant-primary)}
[data-template="editorial"] .hero-photo{height:570px;border-radius:2px;mix-blend-mode:luminosity}
[data-template="editorial"] .hero-product{border-radius:2px;box-shadow:10px 10px 0 var(--tenant-accent)}
[data-template="editorial"] .intent-box,[data-template="editorial"] .intent-card{border-radius:2px;box-shadow:none}
[data-template="editorial"] .intent-grid{grid-template-columns:repeat(3,1fr)}
[data-template="editorial"] .categories{gap:4px}
[data-template="editorial"] .category{min-height:330px;border-radius:2px!important}
[data-template="editorial"] .products{grid-template-columns:repeat(3,1fr)}
[data-template="editorial"] .product{border-width:0 0 1px;border-radius:0}
[data-template="editorial"] .product-media{aspect-ratio:4/5}
[data-template="editorial"] .services{grid-template-columns:1fr}
[data-template="editorial"] .services article{min-height:160px;grid-template-columns:85px 1fr;border-width:1px 0 0;border-radius:0!important}
[data-template="editorial"] .bundle-example,[data-template="editorial"] .ai-demo,[data-template="editorial"] .cta{border-radius:2px}

/* 03 — Catálogo comercial */
[data-template="catalog"]{--shadow:0 10px 25px rgba(16,42,53,.08)}
[data-template="catalog"] .public-header{background:#fff}
[data-template="catalog"] .hero{min-height:530px;padding-block:46px;grid-template-columns:.9fr 1.1fr;gap:42px}
[data-template="catalog"] .hero h1{font-size:clamp(44px,5vw,64px)}
[data-template="catalog"] .hero-art,[data-template="catalog"] .hero-photo{height:390px;min-height:390px;border-radius:var(--tenant-radius)}
[data-template="catalog"] .intent{padding-bottom:48px}
[data-template="catalog"] .intent-head p{display:none}
[data-template="catalog"] .intent-grid{grid-template-columns:repeat(6,1fr)}
[data-template="catalog"] .intent-card{min-height:92px;padding:11px}
[data-template="catalog"] .section{padding-block:68px}
[data-template="catalog"] .heading{margin-bottom:25px}
[data-template="catalog"] .categories{grid-template-columns:repeat(3,1fr)}
[data-template="catalog"] .category,[data-template="catalog"] .category.c0,[data-template="catalog"] .category.c1,[data-template="catalog"] .category.c2,[data-template="catalog"] .category.c3{grid-column:span 1;min-height:190px}
[data-template="catalog"] .products{gap:12px}
[data-template="catalog"] .services{grid-template-columns:repeat(4,1fr)}
[data-template="catalog"] .services article{min-height:255px;padding:18px;display:flex;flex-direction:column;gap:12px}
[data-template="catalog"] .bundle{padding-block:68px}

/* 04 — Taller industrial */
[data-template="industrial"]{--ink:#111820;--soft:#eef0f1;--line:#cfd4d7;--shadow:none}
[data-template="industrial"] body{background-image:linear-gradient(rgba(20,30,35,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(20,30,35,.035) 1px,transparent 1px);background-size:32px 32px}
[data-template="industrial"] .public-header{border-bottom:3px solid var(--tenant-primary);background:#fff}
[data-template="industrial"] .brand img,[data-template="industrial"] .brand>span,[data-template="industrial"] .btn,[data-template="industrial"] .nav-cta{border-radius:2px!important}
[data-template="industrial"] .hero-copy .eyebrow:before{content:"SPEC / ";color:var(--tenant-accent)}
[data-template="industrial"] .hero h1{text-transform:uppercase;line-height:.9}
[data-template="industrial"] .hero-art,[data-template="industrial"] .hero-photo{border-radius:2px}
[data-template="industrial"] .hero-art{outline:1px solid var(--tenant-primary);outline-offset:10px}
[data-template="industrial"] .hero-product,[data-template="industrial"] .hero-art aside{border-radius:2px;box-shadow:7px 7px 0 color-mix(in srgb,var(--tenant-primary) 18%,transparent)}
[data-template="industrial"] .intent-box,[data-template="industrial"] .intent-card,[data-template="industrial"] .intent-card>span,[data-template="industrial"] .services article>b{border-radius:2px;box-shadow:none}
[data-template="industrial"] .category,[data-template="industrial"] .product,[data-template="industrial"] .services article,[data-template="industrial"] .bundle-example,[data-template="industrial"] .ai-demo,[data-template="industrial"] .cta{border-radius:2px!important}
[data-template="industrial"] .services article{border-left:5px solid var(--tenant-primary)}
[data-template="industrial"] .process{gap:8px}
[data-template="industrial"] .process li{border:1px solid var(--line);background:#fff}
[data-template="industrial"] .process li:after{width:11px;height:3px;border-radius:0}

/* 05 — Esencial */
[data-template="minimal"]{--soft:color-mix(in srgb,var(--tenant-background) 82%,#fff);--line:color-mix(in srgb,var(--tenant-primary) 10%,#eceeed);--shadow:none}
[data-template="minimal"] .shell{width:min(1040px,calc(100% - 56px))}
[data-template="minimal"] .public-header nav>a:nth-child(3),[data-template="minimal"] .public-header nav>a:nth-child(4){display:none}
[data-template="minimal"] .hero{min-height:720px;padding-block:105px;grid-template-columns:1fr;gap:55px;text-align:center}
[data-template="minimal"] .hero-copy{max-width:850px;margin:auto}
[data-template="minimal"] .hero h1{font-size:clamp(52px,7vw,88px)}
[data-template="minimal"] .hero-copy>p{margin-inline:auto}
[data-template="minimal"] .actions,[data-template="minimal"] .trust{justify-content:center}
[data-template="minimal"] .hero-art{width:min(760px,100%);min-height:360px;margin:auto;background:transparent}
[data-template="minimal"] .hero-photo{height:360px}
[data-template="minimal"] .hero-art:before,[data-template="minimal"] .hero-art aside,[data-template="minimal"] .hero-product figcaption{display:none}
[data-template="minimal"] .hero-product{width:31%;box-shadow:none;border:1px solid var(--line)}
[data-template="minimal"] .hero-product.p0{top:0;left:0;transform:none}
[data-template="minimal"] .hero-product.p1{top:0;right:0;transform:none}
[data-template="minimal"] .hero-product.p2{bottom:0;left:34.5%;width:31%;transform:none}
[data-template="minimal"] .intent-box{border:0;background:transparent;box-shadow:none}
[data-template="minimal"] .intent-head{justify-content:center;text-align:center}
[data-template="minimal"] .intent-head p{display:none}
[data-template="minimal"] .intent-grid{grid-template-columns:repeat(3,1fr)}
[data-template="minimal"] .intent-card{border:0;background:#fff}
[data-template="minimal"] .heading{align-items:center;flex-direction:column;text-align:center}
[data-template="minimal"] .products{grid-template-columns:repeat(2,1fr);gap:28px}
[data-template="minimal"] .product{border:0;background:transparent}
[data-template="minimal"] .services{grid-template-columns:1fr}
[data-template="minimal"] .services article{min-height:140px;border-width:0 0 1px;border-radius:0!important;background:transparent}
[data-template="minimal"] .bundle-grid,[data-template="minimal"] .ai-grid,[data-template="minimal"] .benefit-grid{grid-template-columns:1fr;max-width:780px;text-align:center}
[data-template="minimal"] .bundle-example,[data-template="minimal"] .ai-demo{text-align:left}

@media(max-width:980px){
 [data-template="editorial"] .hero,[data-template="catalog"] .hero{grid-template-columns:1fr}
 [data-template="editorial"] .hero-copy>p,[data-template="editorial"] .hero .actions,[data-template="editorial"] .hero .trust{margin-left:0}
 [data-template="catalog"] .services{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
 [data-template="editorial"] .hero h1{font-size:58px}
 [data-template="editorial"] .products,[data-template="minimal"] .products{grid-template-columns:1fr}
 [data-template="catalog"] .intent-grid,[data-template="catalog"] .categories{grid-template-columns:repeat(2,1fr)}
 [data-template="minimal"] .shell{width:min(100% - 32px,1040px)}
 [data-template="minimal"] .hero{text-align:left}
 [data-template="minimal"] .actions,[data-template="minimal"] .trust{justify-content:flex-start}
}
@media(max-width:480px){
 [data-template="catalog"] .categories,[data-template="catalog"] .services,[data-template="minimal"] .intent-grid{grid-template-columns:1fr}
}

[data-template="industrial"] body{background-image:none}

/* 06 — Taller (cálida y artesanal) */
[data-template="taller"]{--ink:#241a0c;--soft:color-mix(in srgb,var(--tenant-background) 78%,#eee3cf);--line:color-mix(in srgb,var(--tenant-primary) 16%,#e2d6bd);--shadow:0 16px 34px rgba(37,28,14,.09)}
[data-template="taller"] body{background-image:radial-gradient(circle at 1px 1px,color-mix(in srgb,var(--tenant-primary) 10%,transparent) 1px,transparent 0);background-size:22px 22px}
/* Encabezado */
[data-template="taller"] .public-header{border-bottom:1px dashed var(--line);background:color-mix(in srgb,var(--tenant-background) 90%,transparent)}
[data-template="taller"] .brand img,[data-template="taller"] .brand>span{border-radius:10px}
[data-template="taller"] .public-header nav button.nav-cta{border-radius:10px}
/* Portada */
[data-template="taller"] .hero{background:var(--soft);border-radius:calc(var(--tenant-radius,20px) + 10px);padding-inline:44px}
[data-template="taller"] .hero h1{letter-spacing:-.025em}
[data-template="taller"] .hero-copy .eyebrow:before{content:"◆ ";color:var(--tenant-accent)}
[data-template="taller"] .trust{gap:22px;padding-top:20px;border-top:1px dashed var(--line)}
[data-template="taller"] .hero-art{border-radius:calc(var(--tenant-radius,20px) + 6px);background:color-mix(in srgb,var(--tenant-primary) 6%,var(--soft))}
[data-template="taller"] .hero-art:before{border-style:dashed;inset:18px}
[data-template="taller"] .hero-photo{border-radius:calc(var(--tenant-radius,20px) + 2px)}
[data-template="taller"] .hero-product{border-radius:14px;box-shadow:var(--shadow)}
[data-template="taller"] .hero-art aside{border-style:dashed;box-shadow:none}
/* Selector de intención / cotizador de vitrina */
[data-template="taller"] .intent-box{border-style:dashed;box-shadow:none;background:var(--soft);border-radius:calc(var(--tenant-radius,20px) + 6px)}
[data-template="taller"] .intent-card{border-radius:12px}
[data-template="taller"] .intent-card:not(.ai-intent){background:#fff}
[data-template="taller"] .intent-card:not(.ai-intent):hover,[data-template="taller"] .intent-card.active:not(.ai-intent){background:color-mix(in srgb,var(--tenant-primary) 10%,white)}
/* Categorías y catálogo */
[data-template="taller"] .category{border-radius:12px!important}
[data-template="taller"] .category:after{background:linear-gradient(180deg,transparent 22%,color-mix(in srgb,var(--tenant-primary) 55%,#1a1208) 100%)}
[data-template="taller"] .product,[data-template="taller"] .services article,[data-template="taller"] .bundle-example,[data-template="taller"] .ai-demo{border-radius:12px!important;border-color:var(--line)}
[data-template="taller"] .product-media{background:var(--soft)}
[data-template="taller"] .product:hover{box-shadow:var(--shadow)}
[data-template="taller"] .services article>b{border-radius:12px}
/* Cotización unificada + asistente IA */
[data-template="taller"] .bundle{background:var(--soft)}
[data-template="taller"] .bundle-item{border-bottom-style:dashed}
[data-template="taller"] .bundle-item>span,[data-template="taller"] .bundle-total{border-radius:12px}
[data-template="taller"] .ai{background:color-mix(in srgb,var(--tenant-primary) 92%,#1a1208)}
[data-template="taller"] .ai-list>div,[data-template="taller"] .ai-demo{border-radius:12px;border-style:dashed}
/* Proceso y beneficios */
[data-template="taller"] .process li{border-top-style:dashed}
[data-template="taller"] .process li:after{border-radius:2px}
[data-template="taller"] .benefits{background:var(--soft)}
[data-template="taller"] .benefit-grid article{border-radius:12px;border-style:dashed}
/* CTA final, pie y cajón de cotización */
[data-template="taller"] .cta{border-radius:calc(var(--tenant-radius,20px) + 8px);background:color-mix(in srgb,var(--tenant-primary) 94%,#1a1208)}
[data-template="taller"] .site-footer{background:color-mix(in srgb,var(--ink) 88%,#2a1d0f)}
[data-template="taller"] .quote-drawer{border-radius:16px 0 0 16px}
[data-template="taller"] .drawer-item{border-radius:12px}
[data-template="taller"] .drawer-item em{border-radius:6px}
/* Franja de confianza (marquee) */
[data-template="taller"] .marquee{background:var(--ink);border-color:transparent}
[data-template="taller"] .marquee-set{color:rgba(255,255,255,.82);font-family:var(--font-display);font-weight:700;letter-spacing:.14em;text-transform:uppercase;font-size:11.5px}
[data-template="taller"] .marquee-sep{color:var(--tenant-accent)}
