/* Reconstrucción estática. Estilos nuevos basados en los valores verificables de Helix3 2016
   (espaciados, color preset 1, dimensiones de encabezado, grid Bootstrap y estructura SP Page Builder).
   No contiene código de la instalación Joomla comprometida. */
:root{--red:#b5130b;--red-dark:#850e08;--ink:#222;--line:#e7e7e7;--muted:#777}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:#333;font:14px/24px Arial,Helvetica,sans-serif}img{max-width:100%;height:auto;display:block}a{color:var(--red);text-decoration:none}a:hover{color:var(--red-dark)}button,input,textarea{font:inherit}button{cursor:pointer}.site-container{max-width:1170px;margin:auto;padding:0 15px;width:100%}
.site-header{height:90px;background:#fff;box-shadow:0 3px 3px rgba(0,0,0,.05);position:relative;z-index:3}.header-content{height:90px;display:flex;align-items:center;justify-content:space-between;gap:20px}.site-logo{display:flex;align-items:center;max-width:230px;flex:0 0 230px}.site-logo img{width:215px;height:auto}.primary-nav{display:flex;align-items:center;justify-content:flex-end;height:100%}.primary-nav a{display:flex;align-items:center;padding:0 12px;height:90px;white-space:nowrap;text-transform:uppercase;font-size:11.5px;letter-spacing:.6px;color:#111;font-weight:400;transition:color .15s}.primary-nav a.current,.primary-nav a:hover{color:var(--red)}.menu-toggle{display:none;border:1px solid #ddd;background:#fff;border-radius:3px;padding:8px 12px;color:#333}
.sp-row{width:100%}.sp-grid{display:flex;flex-wrap:wrap;align-items:flex-start}.sp-col{padding:0 15px;min-width:0}.span-3{width:25%}.span-6{width:50%}.span-12{width:100%}.historical-image{margin:0}.historical-image img{width:100%;height:auto}.home-images-top .historical-image img,.home-images-middle .historical-image img,.home-images-bottom .historical-image img{width:100%}
.single-slide{margin:0}.single-slide img{max-height:560px;margin:auto;object-fit:contain}.old-carousel{position:relative;width:100%;overflow:hidden}.old-carousel .slide[hidden]{display:none}.old-carousel .slide figure{margin:0}.old-carousel .slide img{width:100%;height:auto;object-fit:contain;margin:auto}.home-carousel-wide .old-carousel .slide img{max-height:440px;width:auto;max-width:100%}.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);border:0;background:rgba(0,0,0,.25);color:white;font-size:36px;width:39px;height:45px;line-height:1;transition:background .2s}.carousel-arrow:hover{background:var(--red)}.carousel-arrow.prev{left:0}.carousel-arrow.next{right:0}.carousel-dots{display:flex;gap:7px;justify-content:center;margin:12px 0 0}.slider-dot{height:9px;width:9px;padding:0;border-radius:50%;border:1px solid #ccc;background:#ddd}.slider-dot[aria-current="true"]{background:var(--red);border-color:var(--red)}
.callout-red{background:rgb(189,6,6)}.original-cta{text-align:center}.cta-button{color:#333;background:#fff;border:1px solid #dedede;display:inline-block;padding:12px 24px;border-radius:3px;font-size:16px;line-height:1.4}.cta-button:hover{background:#f5f5f5;color:var(--red)}
.section-heading{font-size:30px;font-weight:400;color:#222;line-height:1.25;margin:42px auto 0;padding-bottom:16px;border-bottom:1px solid #eee}.product-row .product-or-panel-title{font-size:23px;font-weight:400;line-height:1.3;margin:0 0 20px}.product-row:not(:last-child){border-bottom:1px solid #f0f0f0}.copy-block p{margin:0 0 14px}.copy-block ul{padding-left:22px;margin:0 0 16px}.copy-block li{margin-bottom:6px}.product-row .old-carousel img{max-height:450px;max-width:100%;width:auto}.product-row .sp-col:first-child>.copy-block{margin-bottom:20px}.product-row .sp-col:last-child>.copy-block{padding-top:2px}.about-background{background-image:linear-gradient(rgba(255,255,255,.80),rgba(255,255,255,.82)),url('assets/imagenes/2017/07/10/3.webp');background-position:center center;background-repeat:no-repeat;background-size:cover}.about-background .copy-block{max-width:1040px;font-size:17px;line-height:1.8;padding:16px 0}.about-background .copy-block p{margin-bottom:20px}.about-row .historical-image img{max-width:100%;margin:auto}
.tabs{border:1px solid #ddd;background:white}.tabbar{display:flex;flex-wrap:wrap;background:#fafafa;border-bottom:1px solid #ddd}.tabbar button{background:transparent;border:0;border-right:1px solid #e7e7e7;padding:13px 16px;font-size:14px;color:#333}.tabbar button:hover,.tabbar button[aria-selected="true"]{background:#fff;color:var(--red);box-shadow:inset 0 3px 0 var(--red)}.tab-pane{padding:26px 22px;min-height:130px}.tab-pane[hidden]{display:none}.tab-pane h3{font-size:19px;font-weight:normal;margin:0 0 15px}.pdf-action,.form-button{display:inline-block;border:1px solid #981009;background:var(--red);color:white;padding:11px 20px;border-radius:3px}.pdf-action:hover,.form-button:hover{background:var(--red-dark);color:#fff}.norms-row .historical-image img{margin:auto}.contact-row .copy-block{font-size:17px;line-height:1.9}.contact-row .copy-block p{margin-bottom:8px}.contact-form{display:grid;gap:13px}.contact-form label{display:grid;gap:4px}.contact-form input,.contact-form textarea{width:100%;border:1px solid #ccc;border-radius:4px;padding:9px 11px;color:#333;background:white}.contact-form input:focus,.contact-form textarea:focus{outline:2px solid #d37a76;outline-offset:1px}.contact-form button{justify-self:start}.form-help{font-size:12px;color:#777;margin:-4px 0 0}.flash-notice{margin:32px auto 0;color:#444;background:#fafafa;border-left:3px solid #ccc;padding:14px 18px}.legacy-row{border-bottom:1px solid #eee}.site-footer{margin-top:0;background:var(--red);color:white;text-align:center;padding:20px 0}.site-footer p{margin:0}.missing-photo{padding:36px 12px;background:#f5f5f5;text-align:center;color:#777}
@media(max-width:1120px){.site-container{max-width:970px}.site-logo{flex-basis:155px}.site-logo img{width:155px}.primary-nav a{padding:0 7px;font-size:10.2px;letter-spacing:.2px}}
@media(max-width:760px){.site-header,.header-content{height:auto;min-height:76px}.header-content{flex-wrap:wrap;gap:0}.site-logo{height:76px;flex:1}.site-logo img{width:180px}.menu-toggle{display:block}.primary-nav{display:none;width:100%;height:auto;flex-wrap:wrap;justify-content:flex-start;border-top:1px solid #eee;padding:8px 0 14px}.primary-nav.open{display:flex}.primary-nav a{height:40px;width:100%;padding:0 4px;font-size:13px}.sp-col.span-3{width:50%;margin-bottom:15px}.sp-col.span-6,.sp-col.span-12{width:100%}.sp-row{padding-top:26px!important;padding-bottom:26px!important}.home-images-middle .span-6{order:1}.home-images-middle .span-3:first-child{order:0}.home-images-middle .span-3:last-child{order:2}.section-heading{font-size:26px;margin-top:25px}.product-row .sp-col:last-child{padding-top:25px}.tabbar button{flex:1 1 auto;font-size:12px}.about-background .copy-block{font-size:15px;line-height:1.7}}
@media(max-width:440px){.sp-col.span-3{width:100%}.site-logo img{width:155px}.home-carousel-wide .old-carousel .slide img{max-height:220px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}


/* V4.1: jerarquía visual y contacto accesible; sin cambios en la estructura histórica de páginas. */
.section-heading{
  color:#232323;font-size:30px;font-weight:600;line-height:1.3;
  background:#f7f7f7;border:0;border-left:5px solid var(--red);
  margin:34px auto 0;padding:15px 20px;
}
main > .section-heading + .sp-row{padding-top:28px!important}
.product-row .sp-col:first-child .product-or-panel-title{
  color:#97120c;font-size:24px;font-weight:600;line-height:1.35;
  border-bottom:2px solid #e5e5e5;padding-bottom:12px;margin:0 0 18px;
}
.product-row .sp-col:first-child .product-or-panel-title::after{
  content:"";display:block;width:62px;height:3px;background:var(--red);
  position:relative;top:14px;
}
.product-row .sp-col:last-child .product-or-panel-title,
.legacy-row .product-or-panel-title{
  font-weight:600;color:#444;font-size:20px;line-height:1.4;
  padding-bottom:9px;border-bottom:1px solid #ededed;margin:0 0 14px;
}
.about-row{padding-top:24px!important;padding-bottom:24px!important}
.about-background .copy-block{
  max-width:880px;font-size:16px;line-height:1.65;
  padding:4px 0;font-weight:400;
}
.about-background .copy-block p{margin:0 0 14px}
.about-background .copy-block p:last-child{margin-bottom:0}
.about-background .copy-block .intro-paragraph{font-weight:600}
.contact-section{padding:36px 0 65px!important}
.contact-intro{font-size:18px;font-weight:600;color:#333;margin:0 0 24px}
.contact-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
.contact-method{border:1px solid #e4e4e4;border-top:4px solid var(--red);background:#fff;
  padding:30px 32px 28px;box-shadow:0 8px 26px rgba(0,0,0,.04);}
.contact-symbol{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  color:var(--red);background:#fff0ef;margin-bottom:18px}
.contact-symbol svg{width:25px;height:25px}
.contact-label{text-transform:uppercase;letter-spacing:1.2px;font-size:11px;font-weight:700;color:#777;margin:0 0 8px}
.contact-method h2{font-size:24px;font-weight:600;line-height:1.3;margin:0 0 16px;overflow-wrap:anywhere}
.contact-method h2 a{color:#262626}
.contact-method h2 a:hover{color:var(--red)}
.contact-detail{font-size:14px;line-height:1.7;min-height:50px;color:#666;margin:0 0 21px}
.contact-action{border:1px solid var(--red);background:var(--red);color:#fff;display:inline-flex;
  align-items:center;gap:14px;padding:10px 17px;border-radius:3px;font-size:14px;font-weight:600}
.contact-action:hover{color:#fff;background:var(--red-dark)}
.contact-action span{font-size:17px}
@media(max-width:760px){
 .section-heading{font-size:25px;margin:22px auto 0;padding:13px 16px}
 .contact-section{padding:28px 0 44px!important}
 .contact-options{grid-template-columns:1fr;gap:16px}
 .contact-method{padding:25px 22px}
 .contact-method h2{font-size:22px}
 .contact-detail{min-height:0}
 .product-row .sp-col:first-child .product-or-panel-title{font-size:22px}
}


/* V4.2: visores 360 originales recuperados de fotogramas SWF. Sin Flash. */
.chair360{max-width:485px;margin:0 auto 18px;text-align:center}
.chair360-name{font-size:23px;font-weight:600;margin:0 0 14px;text-align:left;color:#97120c;
  border-bottom:2px solid #e5e5e5;padding-bottom:12px;line-height:1.35}
.chair360-stage{position:relative;width:100%;height:460px;display:flex;align-items:center;justify-content:center;
  border:1px solid #e8e8e8;background:#fff;cursor:ew-resize;touch-action:pan-y;user-select:none;
  -webkit-user-select:none;overscroll-behavior:contain;overflow:hidden}
.chair360-stage:focus-visible{outline:3px solid #b5130b;outline-offset:3px}
.chair360-stage img{width:auto;max-width:100%;height:auto;max-height:420px;object-fit:contain;
  pointer-events:none;-webkit-user-drag:none;user-select:none}
.chair360-mark{position:absolute;bottom:12px;right:12px;border:1px solid #e4e4e4;background:#ffffffed;
  color:#97120c;border-radius:99px;font-size:15px;font-weight:700;padding:5px 11px;pointer-events:none}
.chair360-controls{display:flex;align-items:center;justify-content:space-between;margin-top:9px;gap:10px}
.chair360-arrow{width:44px;height:40px;display:grid;place-items:center;background:white;color:#97120c;
  border:1px solid #d7d7d7;border-radius:3px;font-size:21px}
.chair360-arrow:hover,.chair360-arrow:focus-visible{background:#b5130b;color:white;border-color:#b5130b}
.chair360-hint{font-size:13px;color:#666;line-height:1.3}
.chair360-caption{font-size:11px;color:#777;margin:6px 0 0}
@media(max-width:760px){.chair360-name{font-size:21px}.chair360-stage{height:380px}.chair360-stage img{max-height:350px}}
@media(max-width:440px){.chair360-stage{height:340px}.chair360-stage img{max-height:315px}}
