/* ATEC v1.2.0: precise reference layout styling for editable Alfa Builder blocks.
   Loaded after v1.1; intentionally scoped to the new ATEC v1.2 builder class markers.
   Does not inject page text, images, links or editable content. */
:root { --atec-ref-blue:#098fb6; --atec-ref-navy:#061f2d; }
body.atec-template .atec-main .tragbuilder-page>.tb-section.atec-v12-intro,
body.atec-template .atec-main .tragbuilder-page>.tb-section.atec-v12-why,
body.atec-template .atec-main .tragbuilder-page>.tb-section.atec-v12-accreditations { position:relative; isolation:isolate; }
body.atec-home .atec-main .tragbuilder-page>.tb-section.atec-v12-intro { padding:65px 0 67px!important; background:linear-gradient(175deg,#fff 0 55%,#f6f7f7 55% 73%,#fff 73%)!important; }
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 {max-width:995px!important;width:min(calc(100% - 36px),995px)!important;margin-inline:auto!important;}
body.atec-home .atec-main .atec-v12-intro .tb-row {align-items:center!important;gap:46px!important;}
body.atec-home .atec-main .atec-v12-intro .tb-col-7 {flex:1 1 calc(58% - 23px);max-width:58%;text-align:start;}
body.atec-home .atec-main .atec-v12-intro .tb-col-5 {flex:1 1 calc(42% - 23px);max-width:42%;}
body.atec-home .atec-main .atec-v12-intro .tb-addon-heading {margin-bottom:10px;}
body.atec-home .atec-main .atec-v12-intro .tb-heading {font-size:clamp(23px,2.25vw,29px)!important;color:#098fb6!important;font-weight:650!important;letter-spacing:-.025em;line-height:1.24;}
body.atec-home .atec-main .atec-v12-intro .tb-addon-heading::after {display:block;content:"";margin-top:12px;width:100%;height:1px;background:linear-gradient(to right,#069cbb 0 25%,#cbdde4 25% 100%);}
body.atec-home .atec-main .atec-v12-intro .tb-text {font-size:13px;line-height:1.77;color:#5a5d60;}
body.atec-home .atec-main .atec-v12-intro .tb-text p {margin:0 0 14px;}
body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-addon-image {max-width:100%!important;margin:0 auto!important;padding:17px!important;position:relative;}
body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-addon-image::before {content:"";position:absolute;inset:0;border:3px solid #058fb6;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 94%,94% 94%,94% 6%,0 6%);pointer-events:none;}
body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-image {margin:0!important;max-width:100%!important;padding:0;}
body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-image img {background:#eee;width:100%;height:220px;max-height:220px;object-fit:contain;}
/* Centered why-choose heading and precisely two rows of the four ATEC benefits. */
body.atec-home .atec-main .tragbuilder-page>.tb-section.atec-v12-why {padding:40px 0 73px!important;background:linear-gradient(173deg,#fff 0 10%,#f5f6f6 10% 87%,#fff 87%)!important;}
body.atec-home .atec-main .atec-v12-why .tb-row {display:flex!important;flex-wrap:wrap!important;gap:24px!important;}
body.atec-home .atec-main .atec-v12-why .tb-row:first-child {text-align:center;margin-bottom:40px;}
body.atec-home .atec-main .atec-v12-why .tb-row:first-child>.tb-col {flex:0 0 100%;max-width:100%;}
body.atec-home .atec-main .atec-v12-why .tb-row:first-child .tb-heading {color:#0797be!important;font-size:clamp(24px,2.5vw,31px)!important;font-weight:650!important;margin:0 0 4px!important;}
body.atec-home .atec-main .atec-v12-why .tb-row:first-child .tb-text {font-size:14px;font-style:italic;line-height:1.45;color:#555;max-width:540px;margin:auto;text-align:center!important;}
body.atec-home .atec-main .atec-v12-why .tb-row:first-child .tb-text p {margin:0;}
body.atec-home .atec-main .atec-v12-why .tb-row.atec-v12-benefit-row {justify-content:center;align-items:start!important;gap:26px!important;margin-bottom:25px!important;}
body.atec-home .atec-main .atec-v12-why .tb-row.atec-v12-benefit-row>.tb-col.atec-v12-benefit-card {flex:1 1 calc(50% - 13px)!important;width:calc(50% - 13px);max-width:calc(50% - 13px);display:grid!important;grid-template-rows:auto 1fr;gap:6px 17px;align-content:center;padding:9px 0 11px;min-height:132px;text-align:start!important;background:transparent!important;}
body.atec-home .atec-main .atec-v12-why .tb-row.atec-v12-benefit-row>.tb-col.atec-v12-benefit-left {grid-template-columns:minmax(0,1fr) 80px;text-align:end!important;}
body.atec-home .atec-main .atec-v12-why .tb-row.atec-v12-benefit-row>.tb-col.atec-v12-benefit-right {grid-template-columns:80px minmax(0,1fr);}
body.atec-home .atec-main .atec-v12-benefit-left>.tb-addon-heading,
body.atec-home .atec-main .atec-v12-benefit-left>.tb-addon-text {grid-column:1;}
body.atec-home .atec-main .atec-v12-benefit-left>.tb-addon-image {grid-column:2;grid-row:1/span 2;}
body.atec-home .atec-main .atec-v12-benefit-right>.tb-addon-heading,
body.atec-home .atec-main .atec-v12-benefit-right>.tb-addon-text {grid-column:2;}
body.atec-home .atec-main .atec-v12-benefit-right>.tb-addon-image {grid-column:1;grid-row:1/span 2;}
body.atec-home .atec-main .atec-v12-benefit-card>.tb-addon {min-width:0;margin:0!important;}
body.atec-home .atec-main .atec-v12-benefit-card>.tb-addon-heading {align-self:end;}
body.atec-home .atec-main .atec-v12-benefit-card .tb-heading {color:#058fb7!important;font-size:clamp(15px,1.55vw,19px)!important;font-weight:700!important;line-height:1.28;letter-spacing:-.018em;margin:0 0 3px!important;}
body.atec-home .atec-main .atec-v12-benefit-card .tb-text {color:#666;font-size:12.5px;line-height:1.7;}
body.atec-home .atec-main .atec-v12-benefit-card .tb-text p {margin:0;}
body.atec-home .atec-main .atec-v12-benefit-left .tb-heading,
body.atec-home .atec-main .atec-v12-benefit-left .tb-text {text-align:end!important;}
body.atec-home .atec-main .atec-v12-benefit-right .tb-heading,
body.atec-home .atec-main .atec-v12-benefit-right .tb-text {text-align:start!important;}
body.atec-home .atec-main .atec-v12-benefit-card .tb-image {display:grid;place-items:center;max-width:78px!important;margin:0!important;}
body.atec-home .atec-main .atec-v12-benefit-card img {width:76px!important;height:76px!important;object-fit:contain;}
/* Exactly three accreditation logos with section heading and note above. */
body.atec-home .atec-main .tragbuilder-page>.tb-section.atec-v12-accreditations {padding:55px 0 65px!important;background:linear-gradient(177deg,#fff 0 13%,#f6f6f6 13% 90%,#fff 90%)!important;}
body.atec-home .atec-main .atec-v12-accreditations .tb-row.atec-v12-section-intro {display:block!important;text-align:center;margin:0 auto 29px;}
body.atec-home .atec-main .atec-v12-accreditations .tb-row.atec-v12-section-intro>.tb-col {display:block!important;max-width:100%;}
body.atec-home .atec-main .atec-v12-accreditations .tb-row.atec-v12-section-intro .tb-heading {color:#0596bc!important;font-size:clamp(24px,2.5vw,31px);font-weight:650!important;margin:0 0 6px;}
body.atec-home .atec-main .atec-v12-accreditations .tb-row.atec-v12-section-intro .tb-text {font-size:13px;font-style:italic;line-height:1.5;max-width:670px;margin:0 auto;color:#555;text-align:center!important;}
body.atec-home .atec-main .atec-v12-accreditations .tb-row.atec-v12-section-intro p {margin:0;}
body.atec-home .atec-main .atec-v12-accreditations .tb-row.atec-v12-acc-logos {display:flex!important;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:30px!important;max-width:870px;margin:0 auto;}
body.atec-home .atec-main .atec-v12-accreditations .tb-row.atec-v12-acc-logos>.tb-col {display:grid!important;place-items:center;width:calc(33.333% - 20px);max-width:calc(33.333% - 20px);flex:0 1 calc(33.333% - 20px)!important;padding:12px;background:#f2f2f2;border:1px solid #e0e0e0;border-radius:10px;min-height:150px;}
body.atec-home .atec-main .atec-v12-accreditations .tb-row.atec-v12-acc-logos .tb-addon-image {padding:0!important;background:none!important;border:none!important;min-height:0!important;max-width:none!important;width:100%;margin:0!important;}
body.atec-home .atec-main .atec-v12-accreditations .tb-row.atec-v12-acc-logos .tb-image {margin:0!important;}
body.atec-home .atec-main .atec-v12-accreditations .tb-row.atec-v12-acc-logos .tb-image img {max-width:100%;width:180px;height:118px;object-fit:contain;margin:0 auto;}
/* Editable CTA module: inline title and telephone number (no hardcoded business copy). */
body.atec-template .atec-cta-region {background:linear-gradient(110deg,#0587b3,#0094ba)!important;min-height:67px;display:grid;align-items:center;padding:8px 0!important;}
body.atec-template .atec-cta-region .atec-v12-cta {padding:0!important;max-width:995px!important;margin:auto!important;}
body.atec-template .atec-cta-region .atec-v12-cta .tb-container {max-width:995px!important;width:min(calc(100% - 36px),995px)!important;}
body.atec-template .atec-cta-region .atec-v12-cta .tb-row {display:block;}
body.atec-template .atec-cta-region .atec-v12-cta .tb-col {display:flex;align-items:center;justify-content:space-evenly;gap:30px;}
body.atec-template .atec-cta-region .atec-v12-cta .tb-addon {margin:0!important;}
body.atec-template .atec-cta-region .atec-v12-cta .tb-heading {font-size:23px;color:#fff!important;font-weight:300;line-height:1.2;margin:0;letter-spacing:-.015em;}
body.atec-template .atec-cta-region .atec-v12-cta .tb-text {font-size:22px;font-weight:300;color:#fff!important;line-height:1.2;}
body.atec-template .atec-cta-region .atec-v12-cta .tb-text p {margin:0;}
body.atec-template .atec-cta-region .atec-v12-cta a {color:#fff!important;text-decoration:none!important;}
/* Refined footer layout with three columns, real links and cleaner imported bilingual text. */
body.atec-template #sp-footer.atec-footer.trm-wy-footer {background:linear-gradient(140deg,#092331,#051b29 56%,#082635)!important;padding-top:50px!important;}
body.atec-template #sp-footer .tb-section.atec-v12-footer {padding:10px 0 43px!important;}
body.atec-template #sp-footer .atec-v12-footer>.tb-container {max-width:995px!important;width:min(calc(100% - 40px),995px)!important;}
body.atec-template #sp-footer .atec-v12-footer .tb-row {display:flex;gap:0!important;justify-content:space-between;align-items:stretch;}
body.atec-template #sp-footer .atec-v12-footer .tb-col {flex:1 1 33.333%;max-width:33.333%;padding:0 35px!important;min-width:0;}
body.atec-template #sp-footer .atec-v12-footer .tb-col:first-child {padding-inline-start:0!important;}
body.atec-template #sp-footer .atec-v12-footer .tb-col:last-child {padding-inline-end:0!important;border-inline-end:0!important;}
body.atec-template #sp-footer .atec-v12-footer .tb-col:nth-child(2) {text-align:center;}
body.atec-template #sp-footer .atec-v12-footer .tb-col:nth-child(2) .tb-image {margin:0 auto 13px!important;}
body.atec-template #sp-footer .atec-v12-footer .tb-col:nth-child(2) img {max-width:116px;width:116px;height:auto;object-fit:contain;}
body.atec-template #sp-footer .atec-v12-footer .tb-heading {color:#e6edf0!important;font-size:20px!important;font-weight:400!important;margin:0 0 13px!important;letter-spacing:-.01em;}
body.atec-template #sp-footer .atec-v12-footer .tb-addon-heading:after {content:"";display:block;height:2px;background:linear-gradient(to right,#00a3cd 0 58%,#5c7681 58% 100%);max-width:104px;margin:-5px 0 0;}
body.atec-template #sp-footer .atec-v12-footer .tb-col:nth-child(2) .tb-addon-heading:after {margin:auto;}
body.atec-template #sp-footer .atec-v12-footer .tb-text {font-size:12.5px;line-height:1.7;color:#c0cbd0;}
body.atec-template #sp-footer .atec-v12-footer .tb-text p {margin:6px 0 13px;}
body.atec-template #sp-footer .atec-v12-footer .atec-v12-footer-links {padding:0;margin:0;list-style:none;}
body.atec-template #sp-footer .atec-v12-footer .atec-v12-footer-links li {border-bottom:1px solid rgba(255,255,255,.12);margin:0;padding:4px 0 5px;}
body.atec-template #sp-footer .atec-v12-footer .atec-v12-footer-links li:before {content:'◉';color:#11a3c9;font-size:10px;padding-inline-end:10px;}
body.atec-template #sp-footer .atec-v12-footer .atec-v12-footer-links a {color:#d1dce0;text-decoration:none;}
body.atec-template #sp-footer .atec-v12-footer .atec-v12-footer-links a:hover {color:#59d0ef;}
body.atec-template #sp-footer .atec-v12-footer .tb-text hr {border-top:1px solid rgba(255,255,255,.14);margin:12px 0;}
body.atec-template #sp-footer .atec-v12-footer .tb-text h3 {font:400 19px/1.4 'Segoe UI',Arial,sans-serif;color:#e0e8ed;margin:12px 0 5px;}
body.atec-template #sp-footer .atec-footer-bottom {max-width:995px!important;}
/* RTL is aligned with native direction and doesn't force LTR-only benefit layouts. */
html[dir="rtl"] body.atec-home .atec-v12-intro .tb-addon-heading::after,
html[dir="rtl"] body.atec-template #sp-footer .atec-v12-footer .tb-addon-heading:after {transform:scaleX(-1);}
@media (max-width:950px) {
  body.atec-home .atec-main .atec-v12-intro .tb-row {gap:22px!important;}
  body.atec-home .atec-main .atec-v12-intro .tb-col-7,body.atec-home .atec-main .atec-v12-intro .tb-col-5 {flex-basis:100%!important;max-width:100%!important;}
  body.atec-home .atec-main .atec-v12-intro .tb-col-5 .tb-image img {height:220px;}
  body.atec-home .atec-main .atec-v12-why .tb-row.atec-v12-benefit-row>.tb-col.atec-v12-benefit-card {flex-basis:calc(50% - 13px)!important;max-width:calc(50% - 13px);}
  body.atec-template #sp-footer .atec-v12-footer .tb-col {padding-inline:20px!important;}
}
@media (max-width:700px) {
  body.atec-home .atec-main .tragbuilder-page>.tb-section.atec-v12-intro,
  body.atec-home .atec-main .tragbuilder-page>.tb-section.atec-v12-why,
  body.atec-home .atec-main .tragbuilder-page>.tb-section.atec-v12-accreditations {padding:42px 0!important;}
  body.atec-home .atec-main .atec-v12-why .tb-row:first-child {margin-bottom:22px;}
  body.atec-home .atec-main .atec-v12-why .tb-row.atec-v12-benefit-row>.tb-col.atec-v12-benefit-card {flex:0 0 100%!important;max-width:100%!important;width:100%;padding:8px 0;border-bottom:1px solid #e5edef;}
  body.atec-home .atec-main .atec-v12-accreditations .tb-row.atec-v12-acc-logos {gap:10px!important;}
  body.atec-home .atec-main .atec-v12-accreditations .tb-row.atec-v12-acc-logos>.tb-col {flex:1 1 calc(33.33% - 9px)!important;min-width:100px;max-width:calc(33.33% - 9px);min-height:104px;padding:8px;}
  body.atec-home .atec-main .atec-v12-accreditations .tb-row.atec-v12-acc-logos .tb-image img {height:82px;width:100%;}
  body.atec-template .atec-cta-region .atec-v12-cta .tb-col {display:flex;flex-direction:column;gap:4px;text-align:center;}
  body.atec-template .atec-cta-region .atec-v12-cta .tb-heading,body.atec-template .atec-cta-region .atec-v12-cta .tb-text {font-size:20px;}
  body.atec-template #sp-footer .atec-v12-footer .tb-row {flex-direction:column;}
  body.atec-template #sp-footer .atec-v12-footer .tb-col {flex-basis:100%!important;max-width:100%!important;width:100%;padding:0 0 24px!important;margin-bottom:16px;border-inline-end:0!important;border-bottom:1px solid rgba(255,255,255,.11);}
  body.atec-template #sp-footer .atec-v12-footer .tb-col:last-child {border:0;}
}
@media (prefers-reduced-motion:reduce){body.atec-home .atec-v12-benefit-card {animation:none!important;transition:none!important;}}

/* The original site's photographic polygon background, sanitized and WebP optimized,
   is bundled locally so the footer works even in a subdirectory staging install. */
body.atec-template #sp-footer.atec-footer.trm-wy-footer {
  background-image:linear-gradient(90deg,rgba(3,20,30,.07),rgba(3,20,30,.12)),url('../images/atec-footer-pattern.webp')!important;
  background-position:center top!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
}
body.atec-template #sp-footer.atec-footer.trm-wy-footer::before {
  background:transparent!important;
}
/* Old site uses a compact, centered header rather than a nearly full-width nav. */
@media (min-width:951px){
  body.atec-template #sp-header .atec-header-inner {
    max-width:850px!important;
    width:min(calc(100% - 24px),850px)!important;
    gap:10px!important;
  }
  body.atec-template #sp-header .atec-logo-panel {
    width:104px!important;flex-basis:104px!important;height:88px!important;
    padding:5px 9px!important;
  }
  body.atec-template #sp-header .atec-logo-panel img {max-width:93px;height:75px!important;}
  body.atec-template .atec-desktop-nav .atec-nav-item>a {font-size:12px!important;padding-inline:8px!important;}
}
