/* AT Engineering 1.3.3: original-site measurements supplied 15 November 2026.
   Last stylesheet, home-specific where practical. Does not change Alfa content.
   NOTE: Google Fonts are loaded in the template head; system fallbacks remain.
*/
:root { --atec-original-blue: #008ec3; }
body.atec-template {font-family:'Open Sans',Arial,sans-serif!important;font-size:15px!important;font-weight:400!important;line-height:1.65!important;color:#666!important;}
body.atec-template .atec-main .tb-text,body.atec-template .atec-main .tb-text p,
body.atec-template #sp-footer .tb-text,body.atec-template .atec-cta-region .tb-text {font-family:'Open Sans',Arial,sans-serif!important;}
body.atec-template .atec-main h1,body.atec-template .atec-main h2,body.atec-template .atec-main h3,
body.atec-template .atec-main h4,body.atec-template .atec-main h5,body.atec-template .atec-main h6,
body.atec-template .atec-main .tb-heading,body.atec-template #sp-footer .tb-heading,
body.atec-template .atec-page-banner h1 {font-family:'Raleway',Arial,sans-serif!important;letter-spacing:0!important;}
/* Original template panel: heading levels and font weights recorded from old site. */
body.atec-template .atec-main h1 {font-size:40px;font-weight:200;}
body.atec-template .atec-main h2 {font-size:33px;font-weight:300;}
body.atec-template .atec-main h3 {font-size:27px;font-weight:400;}
body.atec-template .atec-main h4 {font-size:23px;font-weight:400;}
body.atec-template .atec-main h5 {font-size:20px;font-weight:500;}
body.atec-template .atec-main h6 {font-size:17px;font-weight:600;}
/* Desktop nav uses original 16px Open Sans, not the 12-13px caps in older overrides. */
@media (min-width:951px) {
 body.atec-template #sp-header .atec-header-inner {width:min(calc(100% - 36px),1170px)!important;max-width:1170px!important;min-height:70px!important;gap:16px!important;}
 body.atec-template .atec-desktop-nav .atec-nav-item>a,
 body.atec-template .atec-desktop-nav .mod-menu>li>a {font-family:'Open Sans',Arial,sans-serif!important;font-size:16px!important;font-weight:400!important;min-height:70px!important;line-height:1.3!important;padding-inline:11px!important;}
 body.atec-template .atec-header-right {height:70px!important;}
 body.atec-template .atec-logo-panel {width:104px!important;flex:0 0 104px!important;height:87px!important;}
 body.atec-template .atec-language-box {font-family:'Open Sans',Arial,sans-serif!important;font-size:14px!important;}
 body.atec-home.header-transparent #sp-header.atec-site-header {height:var(--atec-home-header-height,150px)!important;pointer-events:none;}
 body.atec-home.header-transparent #sp-header.atec-site-header .atec-header-inner {pointer-events:none;}
 body.atec-home.header-transparent #sp-header.atec-site-header .atec-logo-panel,
 body.atec-home.header-transparent #sp-header.atec-site-header .atec-header-right {pointer-events:auto;}
 /* The sticky version is actually fixed; the old CSS only changed its color. */
 body.atec-template #sp-header.atec-site-header.is-scrolled {position:fixed!important;top:0!important;inset-inline:0!important;height:var(--atec-sticky-header-height,70px)!important;min-height:0!important;background:rgba(5,31,46,.94)!important;box-shadow:0 3px 13px rgba(0,0,0,.2)!important;pointer-events:auto!important;}
 body.atec-template #sp-header.atec-site-header.is-scrolled .atec-header-inner {height:var(--atec-sticky-header-height,70px)!important;min-height:0!important;pointer-events:auto!important;}
 body.atec-template #sp-header.atec-site-header.is-scrolled .atec-header-right {height:var(--atec-sticky-header-height,70px)!important;}
 body.atec-template #sp-header.atec-site-header.is-scrolled .atec-desktop-nav .atec-nav-item>a {min-height:var(--atec-sticky-header-height,70px)!important;}
 body.atec-template #sp-header.atec-site-header.is-scrolled .atec-logo-panel {height:70px!important;width:90px!important;flex-basis:90px!important;}
 body.atec-template #sp-header.atec-site-header.is-scrolled .atec-logo-panel img {height:60px!important;max-width:80px!important;}
}
/* Interior pages keep their white sticky navigation without a layout jump. */
@media (min-width:951px) {
 body.atec-inner #sp-header.atec-site-header {position:sticky!important;top:0!important;}
 body.atec-inner #sp-header.atec-site-header.is-scrolled {position:sticky!important;top:0!important;background:#fff!important;color:#526874!important;}
 body.atec-inner #sp-header.atec-site-header.is-scrolled .atec-desktop-nav .atec-nav-item>a {color:#526874!important;text-shadow:none!important;}
 body.atec-inner #sp-header.atec-site-header.is-scrolled .atec-desktop-nav .atec-nav-item.is-active>a,
 body.atec-inner #sp-header.atec-site-header.is-scrolled .atec-desktop-nav .atec-nav-item>a:hover {color:#fff!important;}
}
/* Restore original 600px slideshow independently of the module's saved height.
   Force all three variables/containers: v1.3.2 was capping the viewport to 490px. */
@media (min-width:951px) {
 body.atec-home .atec-home-hero .mod-alfahero {--ah-height-desktop:var(--atec-home-hero-height,600px)!important;}
 body.atec-home .atec-home-hero .mod-alfahero__viewport,
 body.atec-home .atec-home-hero .mod-alfahero__content-wrap {height:var(--atec-home-hero-height,600px)!important;min-height:var(--atec-home-hero-height,600px)!important;}
}
body.atec-home .atec-home-hero .mod-alfahero__content-wrap {align-items:end!important;}
body.atec-home .atec-home-hero .mod-alfahero__content {padding:0 0 52px!important;}
body.atec-home .atec-home-hero .mod-alfahero__title {font-family:'Raleway',Arial,sans-serif!important;font-size:31px!important;font-weight:600!important;line-height:1.25!important;letter-spacing:0!important;}
body.atec-home .atec-home-hero .mod-alfahero__dots {bottom:15px!important;}
/* The imported homepage intro has span-7 text and span-5 image; use a real 1170px
   7/5 grid so the right image reaches ~458px like the original DevTools capture. */
@media (min-width:951px) {
 body.atec-home .atec-main .tragbuilder-page>.tb-section.atec-v12-intro>.tb-container,
 body.atec-home .atec-main .tragbuilder-page>.tb-section.atec-v12-why>.tb-container,
 body.atec-home .atec-main .tragbuilder-page>.tb-section.atec-v12-accreditations>.tb-container
 {width:min(calc(100% - 48px),1170px)!important;max-width:1170px!important;}
 body.atec-home .atec-main .atec-v12-intro .tb-row {
   display:grid!important;grid-template-columns:minmax(0,7fr) minmax(0,5fr)!important;
   gap:40px!important;align-items:center!important;
 }
 body.atec-home .atec-main .atec-v12-intro .tb-row>.tb-col {width:100%!important;max-width:none!important;min-width:0!important;flex:none!important;}
 body.atec-home .atec-main .tragbuilder-page>.tb-section.atec-v12-intro {padding-top:72px!important;padding-bottom:82px!important;}
}
body.atec-home .atec-main .atec-v12-intro h2.tb-heading {font-family:'Raleway',Arial,sans-serif!important;font-size:40px!important;font-weight:600!important;line-height:1.25!important;letter-spacing:0!important;}
body.atec-home .atec-main .atec-v12-intro .tb-text {font-size:15px!important;line-height:1.7!important;}
body.atec-home .atec-main .atec-v12-intro .tb-text p {font-size:15px!important;line-height:1.7!important;margin-bottom:16px!important;}
/* EXACT conceptual translation of the original SP Page Builder CSS:
   .sppb-addon-single-image-container::after -> .tb-addon-image::after
   including 5px border, top -14, right -18, width 80%, height 110%.
   The img remains in front with a 20px white inset. */
body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-addon-image {box-sizing:border-box!important;position:relative!important;width:100%!important;max-width:458px!important;padding:0!important;margin:0 auto!important;background:transparent!important;border:0!important;isolation:isolate;}
body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-addon-image::before {content:none!important;display:none!important;}
body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-addon-image::after {content:""!important;display:block!important;position:absolute!important;z-index:0!important;top:-14px!important;right:-18px!important;left:auto!important;width:80%!important;height:110%!important;border:5px solid #008ec3!important;box-shadow:-2px -2px 6px #ccc!important;pointer-events:none!important;box-sizing:border-box!important;}
body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-image {position:relative!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;z-index:1!important;}
body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-image::before,
body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-image::after {content:none!important;display:none!important;}
body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-image img {display:block!important;position:relative!important;z-index:1!important;box-sizing:border-box!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:457.5/374!important;object-fit:contain!important;background:#fff!important;padding:20px!important;}
html[dir="rtl"] body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-addon-image::after {right:auto!important;left:-18px!important;box-shadow:2px -2px 6px #ccc!important;}
/* Original main headings and benefit card typography. */
body.atec-home .atec-main .atec-v12-why .tb-row:first-child h2.tb-heading,
body.atec-home .atec-main .atec-v12-accreditations .atec-v12-section-intro h2.tb-heading {font-family:'Raleway',Arial,sans-serif!important;font-size:33px!important;font-weight:600!important;line-height:1.3!important;}
body.atec-home .atec-main .atec-v12-benefit-card .tb-heading {font-family:'Raleway',Arial,sans-serif!important;font-size:20px!important;font-weight:600!important;}
body.atec-home .atec-main .atec-v12-benefit-card .tb-text {font-size:15px!important;line-height:1.6!important;}
/* Inner-page heading retains light Raleway look. */
body.atec-inner .atec-page-banner h1 {font-family:'Raleway',Arial,sans-serif!important;font-size:40px!important;font-weight:200!important;}
/* New animation triggers use the live ATEC sections, not Triman selectors.
   The previous v132 JS is retired; no hidden content unless JS opts in. */
body.atec-home.atec-v133-motion-ready .atec-v133-reveal {
 opacity:0;transform:translate3d(0,32px,0);
 transition:opacity .85s ease-out,transform .9s cubic-bezier(.21,.75,.25,1);
 transition-delay:var(--atec-reveal-delay,0ms);
}
body.atec-home.atec-v133-motion-ready .atec-v133-reveal.atec-v133-visible {opacity:1;transform:none;}
@media (prefers-reduced-motion:no-preference) {
 body.atec-home .atec-home-hero .mod-alfahero__slide.is-active .mod-alfahero__image {animation:atec-v133-kenburns 9s ease-out both;will-change:transform;}
 body.atec-home .atec-home-hero .mod-alfahero__slide.is-active .mod-alfahero__title {animation:atec-v133-caption .8s .15s both;}
}
@keyframes atec-v133-kenburns {from {transform:scale(1.055);} to {transform:scale(1);} }
@keyframes atec-v133-caption {from {opacity:0;transform:translateY(20px);} to {opacity:1;transform:translateY(0);} }
@media (max-width:950px) {
 body.atec-home .atec-home-hero .mod-alfahero {--ah-height-tablet:520px!important;}
 body.atec-home .atec-home-hero .mod-alfahero__viewport,
 body.atec-home .atec-home-hero .mod-alfahero__content-wrap {height:520px!important;min-height:520px!important;}
 body.atec-home .atec-main .atec-v12-intro .tb-row {display:flex!important;}
 body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-addon-image {max-width:458px!important;}
}
@media (max-width:700px) {
 body.atec-home .atec-home-hero .mod-alfahero {--ah-height-mobile:470px!important;}
 body.atec-home .atec-home-hero .mod-alfahero__viewport,
 body.atec-home .atec-home-hero .mod-alfahero__content-wrap {height:470px!important;min-height:470px!important;}
 body.atec-home .atec-home-hero .mod-alfahero__title {font-size:24px!important;}
 body.atec-home .atec-main .atec-v12-intro h2.tb-heading {font-size:31px!important;}
 body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-addon-image {max-width:min(90%,458px)!important;}
 body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-addon-image::after {right:-12px!important;top:-12px!important;border-width:3px!important;}
 body.atec-home .atec-main .atec-v12-why .tb-row:first-child h2.tb-heading,
 body.atec-home .atec-main .atec-v12-accreditations .atec-v12-section-intro h2.tb-heading {font-size:29px!important;}
}
@media (prefers-reduced-motion:reduce) {
 body.atec-home .atec-v133-reveal {opacity:1!important;transform:none!important;transition:none!important;}
 body.atec-home .atec-home-hero .mod-alfahero__image,
 body.atec-home .atec-home-hero .mod-alfahero__title {animation:none!important;}
}
