/* ATEC v1.5: visual rules only. All actual content is supplied by Alfa Builder. */
:root { --trm-blue:#1765a8;--trm-dark-blue:#0b4586; }
html { scroll-behavior:smooth; }
body.atec-wysiwyg { margin:0;min-height:100vh;background:#fff;color:#666;font-family:'Raleway','Open Sans',Arial,sans-serif; }
body.atec-wysiwyg .trm-wy-main { width:100%;margin:0;padding:0;overflow:hidden; }
body.atec-wysiwyg .trm-wy-main>.tragbuilder-page,
body.atec-wysiwyg .trm-wy-main .tragbuilder-page {width:100%;max-width:none;margin:0;padding:0;}
body.atec-wysiwyg .trm-wy-main .tb-container {max-width:none;}
body.atec-wysiwyg .trm-wy-main .tb-section {position:relative;}
body.atec-wysiwyg .trm-wy-main .tb-addon {min-width:0;}
body.atec-wysiwyg a {color:inherit;}
body.atec-wysiwyg .trm-wy-footer a {color:#dbe8fa;}

/* Global WYSIWYG header. Each logo and navigation item is an Alfa addon. */
.trm-wy-header {position:absolute;inset:0 0 auto;z-index:100;height:auto;transition:background-color .2s,box-shadow .2s;}
.atec-inner .trm-wy-header {position:relative;background:#fff;}
.trm-wy-header.is-sticky {position:fixed;background:#fff;box-shadow:0 2px 9px rgba(0,0,0,.12);}
.trm-wy-header .tb-section {padding:0!important;background:transparent!important;}
.trm-wy-header .tb-container {width:min(calc(100% - 50px),var(--atec-container),1170px);max-width:none;margin:auto;}
.trm-wy-header .tb-row {display:flex;align-items:center;justify-content:space-between;min-height:135px;flex-wrap:nowrap;gap:22px;}
.atec-inner .trm-wy-header .tb-row {min-height:120px;}
.trm-wy-header.is-sticky .tb-row {min-height:74px;}
.trm-wy-header .tb-col {min-width:0;}
.trm-wy-header .trm-wy-header-brand {flex:0 0 20%;position:relative;min-width:145px;}
.atec-home .trm-wy-header .trm-wy-header-brand {flex-basis:25%;}
.trm-wy-header .trm-wy-header-brand .tb-addon {margin:0;}
.trm-wy-header .trm-wy-header-brand .tb-image {margin:0;text-align:left;}
.trm-wy-header .trm-wy-header-brand img {width:150px!important;height:auto;max-height:78px;object-fit:contain;}
.trm-wy-logo-dark {display:block;}
.trm-wy-logo-light {display:none;}
.atec-home .trm-wy-header:not(.is-sticky) .trm-wy-logo-dark {display:none;}
.atec-home .trm-wy-header:not(.is-sticky) .trm-wy-logo-light {display:block;}
.trm-wy-header .trm-wy-header-links {flex:1;display:flex;align-items:center;justify-content:flex-end;gap:0;min-width:0;}
.trm-wy-header .trm-wy-header-links .tb-addon {margin:0!important;}
.trm-wy-header .trm-wy-header-links .tb-button-wrap {display:block!important;}
.trm-wy-header .trm-wy-header-links .tb-button {display:flex;align-items:center;justify-content:center;min-height:60px;padding:7px 11px;background:transparent!important;border-radius:0!important;border:0!important;box-shadow:none!important;color:#626262;font-size:12px;font-weight:600;line-height:1.4;letter-spacing:.015em;text-decoration:none;white-space:nowrap;}
.atec-home .trm-wy-header:not(.is-sticky) .trm-wy-header-links .tb-button {color:#fff;}
.trm-wy-header .trm-wy-header-links .tb-button:hover,
.trm-wy-header .trm-wy-header-links .tb-button.is-current {background:#1362aa!important;color:#fff!important;}
.trm-wy-header .trm-wy-nav-home .tb-button {font-size:0!important;}
.trm-wy-header .trm-wy-nav-home .tb-button::before {content:'⌂';font-size:29px;line-height:1;font-family:Arial,sans-serif;font-weight:400;}
.trm-wy-menu-toggle {display:none;position:absolute;right:25px;top:50%;transform:translateY(-50%);border:0;background:none;padding:10px;cursor:pointer;}
.trm-wy-menu-toggle span {display:block;width:24px;height:2px;margin:5px;background:#1664aa;}
.atec-home .trm-wy-header:not(.is-sticky) .trm-wy-menu-toggle span {background:#fff;}
.trm-wy-nav-backdrop,.trm-wy-mobile-nav {display:none;}

/* Inner page title/banner lives in every editable Alfa page. */
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-inner-banner {height:clamp(188px,19.35vw,300px);padding:0!important;background-color:#105cad;display:flex;align-items:center;}
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-inner-banner .tb-container {width:min(calc(100% - 44px),76vw,1120px);margin:auto;}
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-inner-banner .tb-row {display:block;margin:0;transform:translateY(45px);}
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-inner-banner .tb-heading {color:#fff!important;text-shadow:1px 2px 3px rgba(0,0,0,.2);font-weight:300;margin:0;letter-spacing:-.035em;line-height:.91;}
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-inner-banner .trm-wy-banner-main .tb-heading {font-size:clamp(44px,4.8vw,67px);}
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-inner-banner .trm-wy-banner-sub .tb-heading {font-size:clamp(18px,2vw,28px);margin-left:95px;letter-spacing:0;line-height:1.3;}

/* Homepage editable slideshow: second Builder section provides editable backdrop. */
.atec-home .trm-wy-hero {position:relative;display:flex;align-items:center;min-height:clamp(530px,54vw,790px);color:#fff;background-color:#0a356a;background-position:center center!important;background-size:cover!important;padding:95px 0 0;}
.atec-home .trm-wy-hero::before {content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(2,11,30,.40),rgba(3,12,34,.08));pointer-events:none;}
.atec-home .trm-wy-hero .tb-container {position:relative;z-index:1;width:min(calc(100% - 50px),1160px);margin:auto;}
.atec-home .trm-wy-hero .tb-row {display:block;}
.atec-home .trm-wy-hero .tb-heading {color:#fff;line-height:1.15;font-weight:400;text-shadow:1px 2px 3px rgba(0,0,0,.25);}
.atec-home .trm-wy-hero .trm-wy-hero-title .tb-heading {font-size:clamp(44px,5vw,72px);margin-bottom:25px;}
.atec-home .trm-wy-hero .trm-wy-hero-subline .tb-heading {font-size:clamp(27px,3vw,37px);font-weight:300;}
.atec-home .trm-wy-hero .trm-wy-hero-small .tb-heading {font-size:clamp(20px,2.1vw,28px);font-weight:300;}
.atec-home .trm-wy-second-slide {height:0!important;padding:0!important;margin:0!important;min-height:0!important;overflow:hidden;visibility:hidden;}
.atec-home .trm-wy-hero .trm-wy-slide-prev,.atec-home .trm-wy-hero .trm-wy-slide-next {position:absolute;bottom:3%;right:30px;z-index:4;}
.atec-home .trm-wy-hero .trm-wy-slide-prev {right:85px;}
.atec-home .trm-wy-hero .trm-wy-slide-prev .tb-button,.atec-home .trm-wy-hero .trm-wy-slide-next .tb-button {background:transparent!important;color:#fff!important;border:0!important;font-size:45px;padding:0!important;}
.atec-home .trm-wy-hero .tb-addon {margin:0;}

/* The main sections keep the original sizing and proportions, but the rows,
   texts, images and buttons are real Alfa elements and freely rearrangeable. */
.atec-home .trm-wy-main .trm-wy-home-about,
.atec-home .trm-wy-main .trm-wy-home-services,
.atec-home .trm-wy-main .trm-wy-home-stats,
.atec-home .trm-wy-main .trm-wy-home-customers {padding:80px 0;}
.atec-home .trm-wy-main .trm-wy-home-about .tb-container,
.atec-home .trm-wy-main .trm-wy-home-services .tb-container,
.atec-home .trm-wy-main .trm-wy-home-stats .tb-container,
.atec-home .trm-wy-main .trm-wy-home-customers .tb-container,
.atec-home .trm-wy-main .trm-wy-home-quote .tb-container {width:min(calc(100% - 50px),1160px);margin:0 auto;}
.atec-home .trm-wy-main .trm-wy-home-about .tb-row {display:grid;grid-template-columns:1.3fr 1fr;gap:64px;align-items:center;}
.atec-home .trm-wy-main .trm-wy-home-about .tb-col {width:100%;}
.atec-home .trm-wy-main .trm-wy-home-about .tb-text {font-size:13px;line-height:1.85;color:#737373;}
.atec-home .trm-wy-main .trm-wy-kicker .tb-heading {font-size:16px;color:#777;font-weight:400;text-transform:uppercase;}
.atec-home .trm-wy-main .trm-wy-rule-title .tb-heading {font-size:32px;color:#1564aa;border-bottom:1px solid #ddd;padding-bottom:18px;}
.atec-home .trm-wy-main .trm-wy-tagline .tb-text {color:var(--trm-blue);font-size:15px;}
.atec-home .trm-wy-main .trm-wy-about-image img {width:100%!important;height:auto;box-shadow:0 0 0 12px #eee;}
.atec-home .trm-wy-home-services,.atec-home .trm-wy-home-stats {background:#f7f7f7;}
.atec-home .trm-wy-home-services .tb-row {display:flex;align-items:stretch;gap:18px;flex-wrap:nowrap;}
.atec-home .trm-wy-home-services .trm-wy-home-services-intro {flex:0 0 33%;}
.atec-home .trm-wy-home-services .trm-wy-home-service-card {flex:1;min-width:0;text-align:center;}
.atec-home .trm-wy-home-services .trm-wy-home-services-intro h2 {font-size:32px;color:var(--trm-blue);}
.atec-home .trm-wy-home-services .trm-wy-home-services-intro .tb-text {font-size:13px;line-height:1.7;}
.atec-home .trm-wy-home-services .trm-wy-home-service-card .tb-image {height:150px;display:grid;place-items:center;background:#e5e5e5;border:5px solid #fff;}
.atec-home .trm-wy-home-services .trm-wy-home-service-card img {width:100%!important;height:130px;object-fit:contain;}
.atec-home .trm-wy-home-services .trm-wy-service-card-link .tb-button {background:transparent!important;color:#555!important;border:0!important;box-shadow:none!important;font-size:13px!important;white-space:normal;}
.atec-home .trm-wy-home-stats .trm-wy-section-heading,
.atec-home .trm-wy-home-customers .trm-wy-section-heading {text-align:center;margin-bottom:40px;}
.atec-home .trm-wy-home-stats .trm-wy-section-heading h2,
.atec-home .trm-wy-home-customers .trm-wy-section-heading h2 {font-size:29px;color:var(--trm-blue);}
.atec-home .trm-wy-home-stats .tb-row:not(.trm-wy-section-heading) {display:grid;grid-template-columns:repeat(4,1fr);gap:25px;}
.atec-home .trm-wy-home-stats .trm-wy-home-stat {text-align:center;background:#fff;padding:24px 12px;}
.atec-home .trm-wy-home-stats .trm-wy-home-stat h3 {font-size:29px;color:var(--trm-blue);margin:8px 0;}
.atec-home .trm-wy-home-stats .trm-wy-home-stat .trm-wy-stat-icon h3 {font-size:38px;border:2px solid var(--trm-blue);border-radius:100%;width:80px;height:80px;line-height:75px;margin:0 auto;}
.atec-home .trm-wy-home-customers .trm-wy-customer-track {display:flex;flex-wrap:nowrap;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:10px 2px 20px;}
.atec-home .trm-wy-home-customers .trm-wy-customer-track .trm-wy-home-customer {flex:0 0 160px;width:160px;scroll-snap-align:start;border:1px solid #e6e6e6;background:#fff;min-height:110px;display:grid;place-items:center;}
.atec-home .trm-wy-home-customers .trm-wy-home-customer img {width:148px!important;height:90px;object-fit:contain;}
.atec-home .trm-wy-home-quote {padding:63px 0;text-align:center;background-color:#0d478e;color:#fff;}
.atec-home .trm-wy-home-quote .tb-heading {color:#fff;font-size:30px;}
.atec-home .trm-wy-home-quote .tb-button {background:transparent!important;font-size:29px;border:0!important;color:#fff!important;}

/* Contact Map and secure Alfa Forms are placed using native editable addons. */
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-contact-details {padding:48px 0 90px;background:#fff;}
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-contact-details .tb-row {display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:60px;}
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-contact-details .tb-col {width:100%;min-width:0;}
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-contact-details .tb-heading {font-size:24px;color:#777;font-weight:400;}
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-contact-office .tb-heading:nth-child(n) {margin:12px 0;}
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-contact-details .tb-text {font-size:14px;line-height:1.7;}
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-contact-details .tb-map iframe {width:100%;height:100%;border:0;}
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-careers-form {background:#f7f7f7;padding:45px 0 95px;}
.atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-careers-form .tb-heading {text-align:center!important;font-size:25px;color:#666;font-weight:400;margin-bottom:32px;}

/* One shared Alfa Builder footer module on every page. */
.trm-wy-footer {background:#0b4389;color:#dbe8fa;padding:70px 0 25px;}
.trm-wy-footer .tb-container {width:min(calc(100% - 50px),1160px);max-width:none;margin:auto;}
.trm-wy-footer .tb-section {padding:0!important;background:transparent!important;}
.trm-wy-footer .tb-row {display:grid;grid-template-columns:repeat(3,1fr);gap:45px;}
.trm-wy-footer .tb-col {width:100%;min-width:0;}
.trm-wy-footer .tb-col + .tb-col {border-left:1px solid rgba(255,255,255,.1);padding-left:35px;}
.trm-wy-footer .tb-heading {color:#dce9fb;font-size:25px;font-weight:400;margin:0 0 26px;}
.trm-wy-footer .tb-text {font-size:13px;color:#dbe8fa;line-height:1.7;}
.trm-wy-footer .tb-text ul {list-style:none;padding:0;margin:0;}
.trm-wy-footer .tb-text li {border-bottom:1px solid rgba(255,255,255,.12);padding:4px 0;}
.trm-wy-footer .tb-text li::before {content:'➠';margin-right:9px;}
.trm-wy-footer .trm-wy-footer-center {text-align:center;}
.trm-wy-footer .trm-wy-footer-center img {width:145px!important;height:64px;object-fit:contain;}
.trm-wy-footer .trm-wy-copyright {padding-top:65px!important;text-align:center;}
.trm-wy-footer .trm-wy-copyright .tb-row {display:block;border-top:1px solid rgba(255,255,255,.1);padding-top:16px;}
.trm-wy-footer .trm-wy-copyright .tb-col {border:0;padding:0;}
.trm-wy-back-to-top {position:fixed;right:25px;bottom:25px;z-index:140;padding:8px 13px;background:#125c9d;color:#fff!important;opacity:0;pointer-events:none;transition:opacity .2s;text-decoration:none;}
.trm-wy-back-to-top.is-visible {opacity:1;pointer-events:auto;}

@media(max-width:1020px) {
  .trm-wy-header .trm-wy-header-links {display:none;}
  .trm-wy-menu-toggle {display:block;}
  .trm-wy-header .tb-row {min-height:95px;}
  .atec-inner .trm-wy-header .tb-row {min-height:90px;}
  .trm-wy-nav-backdrop {display:block;position:fixed;inset:0;z-index:140;background:rgba(0,0,0,.42);opacity:0;visibility:hidden;transition:.2s;}
  .trm-wy-mobile-nav {display:block;position:fixed;right:0;top:0;bottom:0;width:min(88vw,345px);z-index:150;background:#0b448a;transform:translateX(102%);transition:transform .22s;padding:65px 25px 25px;overflow:auto;}
  .trm-wy-nav-open .trm-wy-mobile-nav {transform:translateX(0);}
  .trm-wy-nav-open .trm-wy-nav-backdrop {visibility:visible;opacity:1;}
  .trm-wy-menu-close {position:absolute;right:20px;top:8px;background:none;color:#fff;border:0;font-size:34px;cursor:pointer;}
  .trm-wy-mobile-nav .trm-wy-header-links {display:flex;flex-direction:column;align-items:stretch;}
  .trm-wy-mobile-nav .trm-wy-header-links .tb-button {display:block;padding:14px 8px;color:#fff!important;text-decoration:none;background:none!important;border:0!important;text-align:left;font-size:16px;}
  .trm-wy-mobile-nav .trm-wy-header-links .tb-button.is-current {background:#fff!important;color:#0b448a!important;}
  .trm-wy-mobile-nav .trm-wy-nav-home .tb-button {font-size:16px;}
  .atec-home .trm-wy-home-services .tb-row {flex-wrap:wrap;}
  .atec-home .trm-wy-home-services .trm-wy-home-services-intro {flex:0 0 100%;}
  .atec-home .trm-wy-home-services .trm-wy-home-service-card {flex:1 1 42%;}
  .atec-home .trm-wy-main .trm-wy-home-about .tb-row {grid-template-columns:1fr;gap:35px;}
  .trm-wy-footer .tb-row {gap:25px;}
}
@media(max-width:650px) {
  .trm-wy-header .tb-container {width:min(calc(100% - 30px),1170px);}
  .atec-home .trm-wy-hero {min-height:420px;padding-top:80px;}
  .atec-home .trm-wy-main .trm-wy-home-about,.atec-home .trm-wy-main .trm-wy-home-services,.atec-home .trm-wy-main .trm-wy-home-stats,.atec-home .trm-wy-main .trm-wy-home-customers {padding:45px 0;}
  .atec-home .trm-wy-home-stats .tb-row:not(.trm-wy-section-heading) {grid-template-columns:repeat(2,minmax(0,1fr));}
  .atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-inner-banner {height:170px;}
  .atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-inner-banner .tb-row {transform:translateY(12px);}
  .atec-original-inner .tragbuilder-page.atec-alfa-designed .trm-wy-contact-details .tb-row {grid-template-columns:1fr;gap:25px;}
  .trm-wy-footer {padding:50px 0 25px;}
  .trm-wy-footer .tb-row {grid-template-columns:1fr;gap:30px;}
  .trm-wy-footer .tb-col+.tb-col {border:0;padding-left:0;}
}
