/* ==========================================================
   Thermal Energy Solutions – brand layer on the Texora template
   Logo palette: TES red #E31E24 · TES blue #1450C8 · navy #0B2A5E
   ========================================================== */
:root {
  --theme: #E31E24;
  --theme2: #E31E24;
  --tes-blue: #1450C8;
  --header: #0B2A5E;
  --tes-navy-deep: #071D44;
}

/* ---------- Header ---------- */
.header-main .logo img,
.offcanvas__logo img { height: 48px; width: auto; max-width: none; }
.header-1 .header-main .main-menu ul li a { font-size: 15px; }
.header-1 .header-main .main-menu ul li { margin-inline-end: 26px; }
@media (max-width: 1399px) {
  .header-1 .header-main .main-menu ul li { margin-inline-end: 18px; }
  .header-1 .header-main .main-menu ul li a { font-size: 14px; }
  .header-main .logo img { height: 40px; }
}
@media (max-width: 575px) {
  .header-main .logo img { height: 32px; }
  .header-1 .header-right .theme-btn { display: none; }
}
.header-1 .header-main .main-menu ul li .submenu li a:hover,
.header-1 .header-main .main-menu ul li:hover > a { color: var(--theme); }

/* ---------- Buttons ---------- */
.theme-btn { color: var(--white); }
.theme-btn i { color: inherit; }
.hero-1 .hero-button { display: flex; flex-wrap: wrap; gap: 14px; }
.theme-btn.tes-btn-outline { background-color: transparent; border: 1.5px solid rgba(255, 255, 255, .75); line-height: 55px; }
@media (max-width: 1199px) { .hero-1 .hero-button { justify-content: center; } }

/* ---------- Hero ---------- */
.hero-1 .hero-bg::before,
.hero-1 .hero-height::before { background: linear-gradient(90deg, rgba(7, 29, 68, .92) 0%, rgba(7, 29, 68, .7) 45%, rgba(7, 29, 68, .25) 100%) !important; opacity: 1 !important; }
.hero-1 .hero-content p { max-width: 640px; }
.hero-1 .hero-content .sub-title { border-color: rgba(255, 255, 255, .5); }

/* ---------- Product strip ---------- */
.tes-strip { background: var(--header); padding: 22px 0; }
.tes-strip-item { color: #fff; font-family: "Hanken Grotesk", sans-serif; font-weight: 600; font-size: 17px; white-space: nowrap; text-align: center; letter-spacing: .2px; }
.tes-strip-item i { color: var(--theme); font-size: 13px; margin-right: 10px; }

/* ---------- Overview ---------- */
.about-left-thumb-2 .thumb .business-content { max-width: 260px; box-shadow: 0 12px 30px rgba(7, 29, 68, .18); }
.tes-icon-box { width: 52px; height: 52px; border-radius: 12px; background: var(--theme); color: #fff; display: grid; place-items: center; font-size: 24px; }
.tes-small { font-size: 14px; line-height: 1.55; margin-top: 8px; }
.about-left-thumb-2 .thumb .business-content .title-4 { max-width: none; margin-top: 16px; }
.tes-since i { color: var(--theme); }
.tes-big-number { font-family: "Hanken Grotesk", sans-serif; font-size: 72px; font-weight: 800; line-height: 1; color: var(--header); background: linear-gradient(90deg, var(--tes-blue), var(--theme)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tes-icon-sm { width: 46px; height: 46px; min-width: 46px; border-radius: 50%; background: rgba(20, 80, 200, .1); color: var(--tes-blue); display: grid; place-items: center; font-size: 20px; }
.tes-phone-ic { width: 52px; height: 52px; min-width: 52px; border-radius: 50%; background: var(--theme); color: #fff !important; display: grid !important; place-items: center; font-size: 20px; line-height: 1 !important; }
.tes-phone-ic.sm { width: 40px; height: 40px; min-width: 40px; font-size: 15px; }
.about-btn-area .client-info .title-3 a { color: var(--header); }
.about-btn-area .client-info .title-3 a:hover { color: var(--theme); }

/* ---------- Core expertise ---------- */
.service-section-2 { background-color: var(--header) !important; }
.tes-svc-icon { color: #fff; font-size: 26px; display: grid; place-items: center; }
.service-box-items-2 { height: 100%; }
.service-box-items-2:hover .tes-svc-icon { color: #fff; }
.service-section-2 .row > div { margin-bottom: 24px; }

/* ---------- Finned tube cards ---------- */
.advantage-wrapper .advantage-box-items .advantage-thumb img { object-fit: cover; }
.tes-adv-icon { padding: 15px 18px; border-left: 1px solid var(--border); font-size: 22px; color: var(--theme); }

/* ---------- Heat exchanger slider ---------- */
.project-wrapper-2 .project-thumb img { object-fit: cover; }
.project-wrapper-2 .project-button p a { color: var(--theme); border-color: var(--theme); }

/* ---------- Why TES ---------- */
.choose-us-wrapper-2 .choose-us-content .icon-items-area .icon-items .icon { color: #fff; font-size: 24px; }
.choose-us-wrapper-2 .choose-us-content .icon-items-area .icon-items:hover .icon { color: #fff; }
.tes-check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0 0 34px; padding: 0; list-style: none; }
.tes-check-list li { color: var(--header); font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.tes-check-list li i { color: var(--theme); margin-top: 4px; }
@media (max-width: 575px) { .tes-check-list { grid-template-columns: 1fr; } }
.choose-us-wrapper-2 .choose-image-wrap .choose-img img { object-fit: cover; }
.choose-us-wrapper-2 .choose-image-wrap .choose-img.image-1 img { height: 260px; width: 100%; }
.tes-circle-text { width: 100%; height: 100%; display: block; animation: cir36 12s linear infinite; overflow: visible; }
.tes-circle-text text { fill: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; font-family: "Hanken Grotesk", sans-serif; }

/* ---------- Counter ---------- */
.counter-section1 { position: relative; }
.counter-image img { object-fit: cover; }

/* ---------- Industries ---------- */
.tes-industries { background: #fff; }
.tes-industries-intro { max-width: 720px; margin: -20px auto 50px; text-align: center; }
.tes-industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tes-industry { background: var(--bg); border-radius: 16px; padding: 26px 14px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--header); font-weight: 600; font-family: "Hanken Grotesk", sans-serif; font-size: 15px; line-height: 1.3; transition: all .35s ease; border: 1px solid transparent; min-height: 150px; justify-content: center; }
.tes-industry i { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--tes-blue); font-size: 24px; transition: all .35s ease; box-shadow: 0 6px 16px rgba(11, 42, 94, .08); }
.tes-industry:hover { background: var(--header); color: #fff; transform: translateY(-4px); }
.tes-industry:hover i { background: var(--theme); color: #fff; }
.tes-industry-cta { background: var(--theme); color: #fff; }
.tes-industry-cta i { color: var(--theme); }
.tes-industry-cta:hover { background: var(--header); }
@media (max-width: 1199px) { .tes-industry-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .tes-industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .tes-industry-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .tes-industry { font-size: 14px; min-height: 130px; } }

/* ---------- Exports CTA ---------- */
.cta-section::before { background: var(--tes-navy-deep); opacity: .82; mix-blend-mode: normal; }
.cta-wrapper .cta-info-wrap .info-item a { word-break: break-word; }

/* ---------- Enquiry ---------- */
.tes-param-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; list-style: none; padding: 0; margin: 24px 0 36px; }
.tes-param-list li { display: flex; gap: 12px; align-items: center; color: var(--header); font-weight: 500; font-size: 15px; }
.tes-param-list li i { width: 34px; height: 34px; min-width: 34px; border-radius: 8px; background: rgba(227, 30, 36, .1); color: var(--theme); display: grid; place-items: center; font-size: 14px; }
@media (max-width: 575px) { .tes-param-list { grid-template-columns: 1fr; } }
.contact-thumb img { object-fit: cover; }

/* ---------- Footer ---------- */
.footer-section { position: relative; }
.footer-section::before { content: ""; position: absolute; inset: 0; background: var(--tes-navy-deep); opacity: .88; z-index: 0; }
.footer-section > * { position: relative; z-index: 1; }
.tes-footer-logo a { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 12px; }
.tes-footer-logo img { height: 44px; width: auto; }
.footer-widgets-wrapper .footer-widget-items .widget-content .contact-list p a { word-break: break-word; }
.tes-footer-cta p { color: #fff !important; }
.footer-contact-area .client-area .phone-box .phone.tes-phone-ic { width: 56px; height: 56px; }
.footer-bottom { background-color: rgba(0, 0, 0, .25) !important; }
.footer-bottom .footer-wrapper p a { color: var(--theme); }

/* small fixes */
::selection { background: var(--theme); color: #fff; }

/* ---------- Round 2 fixes ---------- */
.header-main .logo img { height: 42px; }
.header-1 .header-main .main-menu ul li { margin-inline-end: 22px; }
.header-1 .header-main .main-menu ul li a { font-size: 14.5px; font-weight: 500; }
@media (max-width: 1399px) {
  .header-main .logo img { height: 34px; }
  .header-1 .header-main .main-menu ul li { margin-inline-end: 14px; }
  .header-1 .header-main .main-menu ul li a { font-size: 13px; }
  .header-1 .header-right .theme-btn { padding: 0 24px; }
}
/* product strip – CSS marquee */
.tes-strip { overflow: hidden; }
.tes-strip-track { display: flex; width: max-content; animation: tesMarquee 38s linear infinite; }
.tes-strip:hover .tes-strip-track { animation-play-state: paused; }
.tes-strip-row { display: flex; }
.tes-strip-item { padding: 0 34px; display: inline-flex; align-items: center; }
@keyframes tesMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tes-strip-track { animation: none; } }
/* equal card images */
.advantage-wrapper .advantage-box-items .advantage-content .advantage-thumb { height: 200px; }
.project-wrapper-2 .project-thumb { height: 440px; border-radius: 30px; }
.project-wrapper-2 .project-thumb img { object-fit: cover; }
.work-process-box-items-2 .thumb { width: 200px; height: 200px; }
.work-process-box-items-2 .thumb img { object-fit: cover; }
.about-left-thumb-2 .thumb { height: 500px; }
/* enquiry images */
.contact-thumb { height: 660px; }
.contact-thumb .sm-thumb { top: auto; bottom: 40px; right: auto; left: -40px; border: 8px solid #fff; border-radius: 30px; box-shadow: 0 18px 40px rgba(7, 29, 68, .2); }
.contact-thumb .sm-thumb img { width: 190px; height: 250px; border-radius: 22px; }
@media (max-width: 1199px) { .contact-thumb .sm-thumb { left: 20px; } }
@media (max-width: 991px) { .contact-thumb { height: 480px; } }
/* body copy in sentence case (template capitalises every word) */
#smooth-content p, .offcanvas__content p { text-transform: none; }

/* ==========================================================
   Round 3 – header, core expertise, why-TES images, footer
   ========================================================== */

/* ---------- Three-tier header ---------- */
.tes-header { position: relative; z-index: 999; background: #fff; }
.tes-header .container { max-width: 1320px; }

/* top bar */
.tes-topbar { background: var(--tes-navy-deep); color: #fff; font-size: 14px; }
.tes-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 46px; }
.tes-topbar-info { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; padding: 0; list-style: none; }
.tes-topbar-info li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.tes-topbar-info li i { color: var(--theme); font-size: 13px; }
.tes-topbar-info a { color: #fff; }
.tes-topbar-info a:hover { color: #ffb3b5; }
.tes-topbar-btns { display: flex; gap: 10px; }
.tes-top-btn { font-size: 12.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 7px 2px; border-radius: 3px; line-height: 1.4; transition: all .3s; }
.tes-top-btn.outline { color: #fff; border: 1px solid rgba(255,255,255,.45); }
.tes-top-btn.outline:hover { background: #fff; color: var(--header); }
.tes-top-btn.fill { background: var(--theme); color: #fff; border: 1px solid var(--theme); }
.tes-top-btn.fill:hover { background: #fff; color: var(--theme); }

/* main bar – no longer floating over the banner */
.tes-mainbar-wrap { min-height: 86px; }
.header-1.header-one.tes-mainbar { position: relative; top: 0; background: #fff; box-shadow: 0 1px 0 #e6eaf1; }
.header-1.header-one.tes-mainbar .mega-menu-wrapper { border-radius: 0; padding: 0; background: transparent; }
.tes-mainbar .header-main { min-height: 86px; }
.tes-mainbar.sticky { position: fixed !important; box-shadow: 0 8px 24px rgba(7, 29, 68, .12); }
.tes-mainbar .header-main .logo img { height: 46px; width: auto; }
.tes-mainbar .header-main .main-menu ul li { margin-inline-end: 20px; }
.tes-mainbar .header-main .main-menu ul li:last-child { margin-inline-end: 0; }
.tes-mainbar .header-main .main-menu > nav > ul > li > a { font-size: 14px; font-weight: 600; padding: 31px 0; color: var(--header); }
.tes-mainbar .header-main .main-menu ul li .submenu li a { font-weight: 500; }
.tes-mainbar .header-right { align-self: stretch; gap: 14px; }
.tes-enquiry-btn { align-self: stretch; display: flex; align-items: center; gap: 10px; padding: 0 26px; background: var(--theme); color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .3px; white-space: nowrap; transition: background .3s; }
.tes-enquiry-btn:hover { background: var(--header); color: #fff; }
@media (max-width: 1399px) {
  .tes-header .container { max-width: 100%; padding-inline: 24px; }
  .tes-mainbar .header-main .logo img { height: 38px; }
  .tes-mainbar .header-main .main-menu ul li { margin-inline-end: 15px; }
  .tes-mainbar .header-main .main-menu > nav > ul > li > a { font-size: 13px; }
  .tes-enquiry-btn { padding: 0 18px; font-size: 13px; }
}

/* highlights bar */
.tes-infobar { background: var(--tes-blue); color: #fff; }
.tes-infobar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.tes-info-item { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 10px; font-size: 15px; border-right: 1px solid rgba(255,255,255,.18); white-space: nowrap; }
.tes-info-item:last-child { border-right: 0; }
.tes-info-item i { color: #ffc2c4; font-size: 15px; }
.tes-info-item strong { font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .3px; }
.tes-info-item span { font-weight: 500; opacity: .95; }

@media (max-width: 1199px) {
  .tes-mainbar-wrap, .tes-mainbar .header-main { min-height: 72px; }
  .tes-mainbar .header-right { align-self: center; }
  .tes-enquiry-btn { align-self: center; height: 46px; border-radius: 4px; }
  .tes-topbar-info li:first-child { display: none; }
}
@media (max-width: 991px) {
  .tes-infobar-inner { grid-template-columns: repeat(2, 1fr); }
  .tes-info-item { border-bottom: 1px solid rgba(255,255,255,.18); font-size: 14px; }
  .tes-info-item:nth-child(2) { border-right: 0; }
  .tes-topbar-btns { width: 100; padding: 7px 10px; }
}
@media (max-width: 767px) {
  .tes-topbar-info { justify-content: center; gap: 4px 18px; padding: 8px 0; font-size: 13px; }
  .tes-topbar-inner { justify-content: center; }
  .tes-enquiry-btn { display: none; }
  .tes-info-item { flex-direction: column; gap: 2px; text-align: center; white-space: normal; padding: 10px 6px; font-size: 13px; }
  .tes-info-item strong { font-size: 13px; }
}
@media (max-width: 575px) {
  .tes-topbar-info li:nth-child(2) { display: none; }
  .tes-mainbar .header-main .logo img { height: 32px; }
}

/* ---------- Core expertise – compact cards ---------- */
.service-section-2 .row > div { margin-bottom: 0; }
.service-box-items-2 { padding: 26px 24px 24px; border-radius: 20px; margin-top: 24px; display: flex; flex-direction: column; }
.service-box-items-2 .title { font-size: 15px; color: var(--theme); font-weight: 700; }
.service-box-items-2 .title-2 { font-size: 19px; line-height: 1.3; margin-top: 4px; min-height: 50px; }
.service-box-items-2 .icon { margin-top: 18px; max-width: 50px; height: 50px; line-height: 50px; border-radius: 10px; font-size: 22px; }
.service-box-items-2 p { margin-top: 16px; padding-bottom: 16px; font-size: 15px; line-height: 1.6; flex-grow: 1; }
.service-box-items-2 .link-btn { margin-top: 16px; }
.service-box-items-2 .link-btn i { width: 34px; height: 34px; line-height: 34px; }
.service-box-items-2:hover .title { color: #fff; }

/* ---------- Why TES image collage ---------- */
.choose-us-wrapper-2 .choose-image-wrap .image-1 { height: 270px; }
.choose-us-wrapper-2 .choose-image-wrap .choose-img.image-1 img { height: 100%; width: 100%; object-fit: cover; }
.choose-us-wrapper-2 .choose-image-wrap .image-3 { height: 300px; }
.choose-us-wrapper-2 .choose-image-wrap .image-3 img { object-position: center 35%; }
.choose-us-wrapper-2 .choose-image-wrap .choose-img { overflow: hidden; border-radius: 20px; }
.choose-us-wrapper-2 .choose-image-wrap .choose-circle-btn { top: 282px; left: 50%; transform: translate(-50%, -50%); }
.choose-us-wrapper-2 .choose-image-wrap .choose-circle-btn a { width: 120px; height: 120px; border: 6px solid var(--bg); box-sizing: content-box; }
@media (max-width: 991px) {
  .choose-us-wrapper-2 .choose-image-wrap .image-1 { height: 240px; }
  .choose-us-wrapper-2 .choose-image-wrap .choose-circle-btn { top: 252px; }
}
@media (max-width: 575px) {
  .choose-us-wrapper-2 .choose-image-wrap .image-1 { height: 180px; }
  .choose-us-wrapper-2 .choose-image-wrap .image-3 { height: 220px; }
  .choose-us-wrapper-2 .choose-image-wrap .choose-circle-btn { top: 192px; }
  .choose-us-wrapper-2 .choose-image-wrap .choose-circle-btn a { width: 96px; height: 96px; }
}

/* ---------- Footer ---------- */
.tes-footer-logo a { background: transparent; padding: 0; border-radius: 0; }
.tes-footer-logo img { height: auto; width: 100%; max-width: 330px; }
.tes-foot-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.tes-foot-contact li { display: flex; gap: 14px; align-items: flex-start; color: var(--body); font-size: 15px; line-height: 1.6; }
.tes-foot-contact li i { width: 36px; height: 36px; min-width: 36px; border-radius: 50%; background: rgba(227, 30, 36, .15); border: 1px solid rgba(227, 30, 36, .5); color: #ff4d52; display: grid; place-items: center; font-size: 14px; margin-top: 1px; }
.tes-foot-contact li a { color: var(--body); word-break: break-word; }
.tes-foot-contact li a:hover { color: #fff; }

/* ---------- Fixed header (works with ScrollSmoother) ---------- */
.tes-header { position: fixed; top: 0; left: 0; right: 0; transition: transform .35s ease, box-shadow .35s ease; }
#smooth-content { padding-top: var(--tes-header-h, 210px); }
.tes-infobar { max-height: 120px; overflow: hidden; transition: max-height .35s ease; }
.tes-header.is-scrolled { transform: translateY(calc(-1 * var(--tes-topbar-h, 46px))); box-shadow: 0 8px 24px rgba(7, 29, 68, .14); }
.tes-header.is-scrolled .tes-infobar { max-height: 0; }
.tes-mainbar-wrap { min-height: 0; }
.tes-header .header-1 .container,
.tes-header .header-1.header-one .container { max-width: 1320px; }
.tes-mainbar .header-main { padding: 0 !important; min-height: 86px; }
@media (max-width: 1399px) { .tes-header .header-1.header-one .container { max-width: 100%; padding-inline: 24px; } }
@media (max-width: 1199px) { .tes-mainbar .header-main { min-height: 72px; } }
@media (min-width: 1400px) {
  .tes-header .container, .tes-header .header-1.header-one .container { max-width: 1440px; padding-inline: 24px; }
  .tes-mainbar .header-main .logo img { height: 42px; }
  .tes-mainbar .header-main .main-menu ul li { margin-inline-end: 18px; }
}
@media (min-width: 992px) { .choose-us-wrapper-2 .choose-image-wrap .image-3 { height: 400px; } }
@media (max-width: 767px) { .tes-infobar { display: none; } }
@media (min-width: 768px) and (max-width: 991px) { .tes-infobar { max-height: 200px; } }

/* ==========================================================
   Round 4b – screenshot-friendly header, spacing, image sizes
   ========================================================== */

/* Header: top bar scrolls away, menu bar sticks (pure CSS, no smooth-scroll) */
.tes-header { position: relative; transform: none !important; box-shadow: none; }
.tes-mainbar-wrap { position: sticky; top: 0; z-index: 999; background: #fff; box-shadow: 0 6px 18px rgba(7, 29, 68, .10); }
#page-content { padding-top: 0; }
#page-content p { text-transform: none; text-align: justify; }

/* Overview: tighter top / bottom spacing */
#overview.about-section-2 { padding: 70px 0; }
#overview .about-left-thumb-2 .thumb { height: 460px; }
#overview .about-left-thumb-2 .star-line { margin-top: 18px; }
#overview .about-right-content-2 .about-text { margin-top: 16px; }
#overview .about-conter-area { margin-top: 24px; padding-top: 24px; padding-bottom: 24px; }
#overview .about-btn-area { margin-top: 24px; }
@media (max-width: 991px) { #overview.about-section-2 { padding: 55px 0; } #overview .about-left-thumb-2 .thumb { height: 360px; } }

/* Why Choose TES: images fill the full column height */
@media (min-width: 992px) {
  .choose-us-wrapper-2 .choose-image-wrap { height: 100%; display: flex; flex-direction: column; }
  .choose-us-wrapper-2 .choose-image-wrap > .row { flex: 1; }
  .choose-us-wrapper-2 .choose-image-wrap > .row > .col-12 { flex: 1; display: flex; }
  .choose-us-wrapper-2 .choose-image-wrap .image-1 { height: 340px; }
  .choose-us-wrapper-2 .choose-image-wrap .image-3 { height: auto; min-height: 420px; flex: 1; width: 100%; }
  .choose-us-wrapper-2 .choose-image-wrap .choose-circle-btn { top: 352px; }
}
/* Why TES: grid so the bottom photo takes all remaining height (no gap between rows) */
@media (min-width: 992px) {
  .choose-us-wrapper-2 .choose-image-wrap > .row { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 340px 1fr; gap: 24px; margin: 0; height: 100%; }
  .choose-us-wrapper-2 .choose-image-wrap > .row > [class*="col-"] { width: auto; padding: 0; margin: 0; max-width: none; }
  .choose-us-wrapper-2 .choose-image-wrap > .row > .col-12 { grid-column: 1 / -1; display: block; }
  .choose-us-wrapper-2 .choose-image-wrap .image-1 { height: 100%; }
  .choose-us-wrapper-2 .choose-image-wrap .image-3 { height: 100%; min-height: 380px; }
  .choose-us-wrapper-2 .choose-image-wrap .choose-circle-btn { top: 352px; }
}
/* Overview: photo stretches to the height of the text – no empty band above/below */
@media (min-width: 992px) {
  #overview .row { align-items: stretch !important; }
  #overview .about-left-thumb-2 { height: 100%; display: flex; flex-direction: column; }
  #overview .about-left-thumb-2 .thumb { flex: 1; height: auto; min-height: 400px; }
}

/* ==========================================================
   Round 5 – preloader + larger header logo
   ========================================================== */

/* ---------- Preloader ---------- */
.tes-preloader { background: radial-gradient(circle at 50% 40%, #ffffff 0%, #F1F4FA 70%); }
.tes-pl-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 0 24px; animation: tesPlIn .6s ease-out both; }
.tes-pl-emblem { position: relative; width: 104px; height: 104px; display: grid; place-items: center; }
.tes-pl-emblem img { width: 58px; height: 58px; object-fit: contain; border-radius: 12px; position: relative; z-index: 1; animation: tesPlPulse 1.6s ease-in-out infinite; }
.tes-pl-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--theme); border-right-color: var(--theme); animation: tesPlSpin 1.1s linear infinite; }
.tes-pl-ring.r2 { inset: 10px; border-top-color: var(--tes-blue); border-right-color: transparent; border-left-color: var(--tes-blue); animation-duration: 1.6s; animation-direction: reverse; }
.tes-pl-logo { width: 320px; max-width: 80vw; height: auto; mix-blend-mode: multiply; }
/* finned tube: fins light up in a heat wave from red to blue */
.tes-pl-tube { position: relative; width: 260px; max-width: 70vw; height: 40px; display: flex; align-items: center; }
.tes-pl-fins { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 6px; }
.tes-pl-fins span { width: 6px; height: 40px; border-radius: 3px; background: #D5DCE8; animation: tesPlFin 1.4s ease-in-out infinite; animation-delay: calc(var(--i) * .09s); }
.tes-pl-fins span:nth-child(-n+6) { --hot: #E31E24; }
.tes-pl-fins span:nth-child(n+7) { --hot: #1450C8; }
.tes-pl-core { position: relative; width: 100%; height: 10px; border-radius: 6px; background: #0B2A5E; overflow: hidden; z-index: 1; box-shadow: 0 2px 6px rgba(11, 42, 94, .25); }
.tes-pl-core i { position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent); animation: tesPlFlow 1.4s ease-in-out infinite; }
.tes-pl-text { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--header); opacity: .75; text-align: center; }
@keyframes tesPlSpin { to { transform: rotate(360deg); } }
@keyframes tesPlPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.9); } }
@keyframes tesPlFin { 0%, 100% { transform: scaleY(.55); background: #D5DCE8; } 45% { transform: scaleY(1); background: var(--hot); } }
@keyframes tesPlFlow { from { left: -40%; } to { left: 100%; } }
@keyframes tesPlIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tes-pl-ring, .tes-pl-emblem img, .tes-pl-fins span, .tes-pl-core i { animation: none; } }
@media (max-width: 575px) { .tes-pl-emblem { width: 84px; height: 84px; } .tes-pl-emblem img { width: 46px; height: 46px; } .tes-pl-text { font-size: 11px; letter-spacing: 2px; } }

/* ---------- Header logo: larger at every breakpoint ---------- */
.tes-mainbar .header-main .logo { display: flex; align-items: center; flex-shrink: 0; }
.tes-mainbar .header-main .logo img { height: 62px; width: auto; max-width: none; }
.tes-mainbar .header-main { min-height: 92px; }
@media (max-width: 1399px) {
  .tes-mainbar .header-main .logo img { height: 54px; }
  .tes-mainbar .header-main .main-menu ul li { margin-inline-end: 13px; }
  .tes-mainbar .header-main .main-menu > nav > ul > li > a { font-size: 14px; }
}
@media (max-width: 1299px) {
  .tes-mainbar .header-main .logo img { height: 48px; }
  .tes-mainbar .header-main .main-menu ul li { margin-inline-end: 10px; }
  .tes-mainbar .header-main .main-menu > nav > ul > li > a { font-size: 12.5px; }
  .tes-enquiry-btn { padding: 0 14px; font-size: 12.5px; }
}
@media (max-width: 1199px) {
  .tes-mainbar .header-main { min-height: 84px; }
  .tes-mainbar .header-main .logo img { height: 58px; }
}
@media (max-width: 767px) {
  .tes-mainbar .header-main { min-height: 74px; }
  .tes-mainbar .header-main .logo img { height: 46px; }
}
@media (max-width: 420px) { .tes-mainbar .header-main .logo img { height: 42px; } }
@media (max-width: 360px) { .tes-mainbar .header-main .logo img { height: 36px; } }
.offcanvas__logo img { height: 44px; width: auto; }
.tes-pl-logo { mix-blend-mode: normal; }
.tes-mainbar .header-main .logo { margin-right: 18px; }
@media (min-width: 1200px) and (max-width: 1299px) { .tes-mainbar .header-main .logo img { height: 42px; } }
@media (min-width: 1400px) and (max-width: 1599px) {
  .tes-mainbar .header-main .logo img { height: 56px; }
  .tes-mainbar .header-main .main-menu ul li { margin-inline-end: 16px; }
}
.tes-pl-emblem img { border-radius: 0; width: 62px; height: 62px; }

/* ==========================================================
   Round 6 – responsive fixes
   ========================================================== */
/* Never let the page grow wider than the screen (animated heading letters start 100px
   to the right, which made phones scroll / zoom sideways). "clip" keeps the sticky menu working. */
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
#page-wrapper, #page-content { max-width: 100%; overflow-x: clip; }
.section-title, .tes-ov-content, .about-right-content-2, .counter-content-area, .choose-us-content, .cta-content { overflow-x: clip; }
/* Industries: intro no longer pulled up under the heading */
.tes-industries-intro { margin-top: 0; margin-bottom: 40px; }
@media (max-width: 575px) { .tes-industries-intro { margin-bottom: 28px; font-size: 15px; } }

/* Footer: each phone number on its own line */
.tes-foot-contact li span a { display: block; }
.tes-foot-contact li br { display: none; }

/* Manufacturing steps: same order on tablet/phone – image, number, text */
@media (max-width: 1199px) {
  .work-process-box-items-2 { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 36px; }
  .work-process-box-items-2 .thumb { order: 1; margin: 0 auto 18px; }
  .work-process-box-items-2 .number { order: 2; margin: 0 auto 14px; position: relative; top: auto; bottom: auto; }
  .work-process-box-items-2 .content { order: 3; margin: 0; }
  .work-process-wrapper-2::before, .work-process-wrapper-2 .row::before { display: none; }
}
@media (max-width: 575px) { .work-process-box-items-2 .thumb { width: 170px; height: 170px; } }

/* Small phones: tighter section spacing and headings */
@media (max-width: 575px) {
  .section-padding { padding-top: 60px; padding-bottom: 60px; }
  .section-title h2, .choose-us-content h2, .counter-content-area h2, .cta-content h2 { font-size: 28px; line-height: 1.25; }
  .tes-big-number { font-size: 56px; }
  .counter-section1 .counter-image { height: 300px; }
  .about-left-thumb-2 .thumb, #overview .about-left-thumb-2 .thumb { height: 300px; min-height: 0; }
}

/* ==========================================================
   OUR JOURNEY + COMPLETE RANGE (ported from the www.tes.com build)
   Every rule is scoped to .tes-journey / .tes-3d / .tes-cat,
   so no other section on the page is affected.
   ========================================================== */
:root { --tes-header-rgb: 11, 42, 94; --tes-theme-rgb: 227, 30, 36; }

/* ---------- Our Journey ---------- */
.tes-journey { position: relative; background: #fff; overflow: hidden; }
.tes-journey .container { position: relative; z-index: 2; }
.tes-journey__top { margin-bottom: 60px; }
.tes-journey__watermark { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 0; overflow: hidden; pointer-events: none; }
.tes-journey__wm-track { display: flex; gap: 80px; width: max-content; animation: tesJourneyTicker 50s linear infinite; }
.tes-journey__wm-track span {
  font-family: "Hanken Grotesk", sans-serif; font-weight: 800; font-size: 190px; line-height: 1; white-space: nowrap; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px rgba(var(--tes-header-rgb), .06);
}
@keyframes tesJourneyTicker { to { transform: translateX(-50%); } }
.tes-journey__quote { position: relative; margin: 30px 0 0; max-width: 620px; padding: 30px 32px 28px 34px; background: var(--header); border-radius: 8px; border-left: 4px solid var(--theme); }
.tes-journey__quote > i { position: absolute; right: 24px; top: 20px; font-size: 38px; color: rgba(var(--tes-theme-rgb), .45); }
.tes-journey__quote p { color: #fff; font-family: "Hanken Grotesk", sans-serif; font-size: 20px; line-height: 1.45; font-weight: 600; margin: 0 0 14px; padding-right: 48px; }
.tes-journey__quote cite { display: block; color: rgba(255,255,255,.7); font-style: normal; font-size: 14px; line-height: 1.5; }

.tes-journey__line { position: relative; height: 3px; background: rgba(var(--tes-header-rgb), .08); border-radius: 3px; margin: 0 0 -10px; overflow: hidden; }
.tes-journey__line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--theme), var(--tes-blue)); transform-origin: left; transform: scaleX(0); transition: transform .2s linear; }
.tes-journey__pulse { position: absolute; top: -3px; left: -10%; width: 80px; height: 9px; border-radius: 9px; background: radial-gradient(closest-side, rgba(255,255,255,.95), transparent); animation: tesJourneyPulse 4s ease-in-out infinite; }
@keyframes tesJourneyPulse { to { left: 105%; } }

.tes-journey__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; perspective: 1000px; }
.tes-journey__steps li { position: relative; padding-top: 44px; transform-style: preserve-3d; transition: transform .5s ease; }
.tes-journey__steps li::before {
  content: ""; position: absolute; left: -16px; right: -10px; top: 30px; bottom: -18px; z-index: -1; border-radius: 10px;
  background: #fff; box-shadow: 0 16px 40px rgba(var(--tes-header-rgb), 0); transition: box-shadow .5s ease;
}
.tes-journey__steps li:hover { transform: rotateX(8deg) rotateY(-8deg) translateY(-6px); }
.tes-journey__steps li:hover::before { box-shadow: 0 24px 50px rgba(var(--tes-header-rgb), .14); }
.tes-journey__dot { position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--theme); box-shadow: 0 0 0 6px rgba(var(--tes-theme-rgb), .12); transition: background .3s ease; }
.tes-journey__steps li:hover .tes-journey__dot { background: var(--theme); }
.tes-journey__when { margin: 0 0 6px; font-family: "Hanken Grotesk", sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--theme); }
.tes-journey__steps h3 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
.tes-journey__steps li > p:last-child { margin: 0; font-size: 15px; line-height: 1.7; }

.tes-journey__stats { list-style: none; margin: 70px 0 0; padding: 34px 0 0; border-top: 1px solid rgba(var(--tes-header-rgb), .1); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tes-journey__stats li { display: flex; align-items: center; gap: 14px; }
.tes-journey__stats h3 { margin: 0; font-size: 46px; line-height: 1; font-weight: 800; color: var(--header); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.tes-journey__stats li:nth-child(odd) h3 { color: var(--theme); }
.tes-journey__stats p { margin: 0; font-size: 14px; line-height: 1.35; font-weight: 600; color: var(--header); max-width: 140px; }

/* 3D finned tube */
.tes-3d { position: relative; height: 440px; perspective: 1100px; perspective-origin: 50% 40%; }
.tes-3d__scene { position: absolute; left: 50%; top: 40px; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-22deg) rotateZ(-10deg); animation: tesWobble 9s ease-in-out infinite; }
@keyframes tesWobble { 0%, 100% { transform: rotateX(-22deg) rotateZ(-10deg); } 50% { transform: rotateX(-12deg) rotateZ(-4deg); } }
.tes-3d__tube { position: absolute; left: 0; top: 0; transform-style: preserve-3d; animation: tesSpinY 12s linear infinite; }
@keyframes tesSpinY { to { transform: rotateY(360deg); } }
.tes-3d__fins, .tes-3d__core { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.tes-3d__core b {
  position: absolute; left: -6px; top: -30px; width: 12px; height: 400px; transform-style: preserve-3d;
  transform: rotateY(calc(var(--k) * 30deg)) translateZ(22px);
  background: linear-gradient(90deg, #6e3e1f, #d8a272 40%, #f3d2ae 50%, #a5653a 70%, #6e3e1f);
}
.tes-3d__fins i {
  position: absolute; left: -78px; top: calc(var(--n) * 13px); width: 156px; height: 156px; margin-top: -78px; border-radius: 50%;
  transform: rotateX(90deg);
  background: conic-gradient(from 0deg, #f4f6f8, #8f9aa8 25%, #e7ebef 45%, #7c8796 70%, #f4f6f8);
  -webkit-mask: radial-gradient(circle, transparent 21px, #000 22px); mask: radial-gradient(circle, transparent 21px, #000 22px);
  opacity: .92; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.tes-3d__fins i::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, #ffb36b 0%, #ff5a2a 55%, rgba(var(--tes-theme-rgb), .2) 100%); opacity: 0;
  animation: tesFinHeat 3s ease-in-out infinite; animation-delay: calc((25 - var(--n)) * 90ms);
}
@keyframes tesFinHeat { 0%, 100% { opacity: 0; } 18%, 24% { opacity: .7; } 40% { opacity: 0; } }
.tes-3d__floor { position: absolute; left: 50%; bottom: 20px; width: 260px; height: 60px; margin-left: -130px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--tes-header-rgb), .28), transparent); filter: blur(4px); }
.tes-3d__label {
  position: absolute; z-index: 3; padding: 7px 14px; border-radius: 30px; background: #fff; box-shadow: 0 8px 24px rgba(var(--tes-header-rgb), .12);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--header); line-height: 1.4; white-space: nowrap;
}
.tes-3d__label::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--theme); margin-right: 8px; animation: tesRingPhone 2s ease-in-out infinite; }
.tes-3d__label.l1 { right: 4%; top: 110px; }
.tes-3d__label.l2 { left: 6%; bottom: 120px; }
@keyframes tesRingPhone { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--tes-theme-rgb), .5); } 50% { box-shadow: 0 0 0 12px rgba(var(--tes-theme-rgb), 0); } }

/* ---------- Complete Range — catalogue bento ---------- */
.tes-cat { position: relative; background: var(--bg); overflow: hidden; }
.tes-cat .container { position: relative; z-index: 2; }
.tes-cat__grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(var(--tes-header-rgb), .05) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--tes-header-rgb), .05) 1px, transparent 1px);
  background-size: 48px 48px; animation: tesGridDrift 40s linear infinite;
}
@keyframes tesGridDrift { to { background-position: 48px 48px; } }
.tes-cat__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 50px; }
.tes-cat__head > p { margin: 0 0 6px; padding-left: 24px; border-left: 2px solid rgba(var(--tes-theme-rgb), .5); }
.tes-cat__bento { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px; }
.tes-cat__card { position: relative; border-radius: 14px; overflow: hidden; padding: 34px; transition: transform .5s ease, box-shadow .5s ease; }
.tes-cat__card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(var(--tes-header-rgb), .18); }
.tes-cat__card--dark { background: radial-gradient(90% 60% at 100% 0%, rgba(var(--tes-theme-rgb), .25), transparent 60%), linear-gradient(160deg, var(--header), #050f24); color: #fff; min-height: 640px; }
.tes-cat__card--light { background: #fff; box-shadow: 0 10px 40px rgba(var(--tes-header-rgb), .06); }
.tes-cat__card-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.tes-cat__letter { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: var(--theme); color: #fff; font-family: "Hanken Grotesk", sans-serif; font-weight: 800; font-size: 24px; }
.tes-cat__kicker { margin: 0; font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--theme); }
.tes-cat__card h3 { margin: 2px 0 0; font-size: 30px; line-height: 1.1; }
.tes-cat__card h3 a { color: inherit; }
.tes-cat__card h3 a:hover { color: var(--theme); }
.tes-cat__card--dark h3 { color: #fff; }
.tes-cat__count { margin-left: auto; font-family: "Hanken Grotesk", sans-serif; font-weight: 800; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(var(--tes-theme-rgb), .75); }
.tes-cat__visual { position: absolute; right: -10px; bottom: 0; top: 110px; width: 46%; z-index: 1; pointer-events: none; }
.tes-cat__halo { position: absolute; left: 50%; top: 45%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,90,50,.45), transparent); animation: tesCatPulse 4s ease-in-out infinite; }
@keyframes tesCatPulse { 50% { transform: scale(1.12); opacity: .7; } }
.tes-cat__tube { position: absolute; bottom: 10px; height: 88%; width: auto; max-width: none; filter: drop-shadow(0 25px 30px rgba(0,0,0,.6)); }
.tes-cat__tube.t1 { left: 18%; transform: rotate(-8deg); animation: tesCatFloat 7s ease-in-out infinite; }
.tes-cat__tube.t2 { left: 52%; height: 74%; transform: rotate(6deg); opacity: .9; animation: tesCatFloat2 8s ease-in-out infinite; }
@keyframes tesCatFloat { 50% { transform: rotate(-5deg) translateY(-16px); } }
@keyframes tesCatFloat2 { 50% { transform: rotate(3deg) translateY(-10px); } }
.tes-cat__list { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; }
.tes-cat__card--dark .tes-cat__list { width: 60%; }
.tes-cat__list li a {
  display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(var(--tes-header-rgb), .08);
  color: var(--header); font-weight: 600; font-size: 16px; line-height: 1.35; transition: padding .3s ease, color .3s ease;
}
.tes-cat__card--dark .tes-cat__list li a { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.1); }
.tes-cat__list li a em { font-style: normal; font-family: "Hanken Grotesk", sans-serif; font-weight: 700; font-size: 12px; color: var(--theme); min-width: 20px; }
.tes-cat__list li a i { margin-left: auto; font-size: 12px; color: var(--theme); opacity: 0; transform: translateX(-8px); transition: all .3s ease; }
.tes-cat__list li a:hover { padding-left: 8px; color: var(--theme); }
.tes-cat__card--dark .tes-cat__list li a:hover { color: #fff; }
.tes-cat__list li a:hover i { opacity: 1; transform: none; }
.tes-cat__list--2col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 34px; }
.tes-cat__photo { margin: -34px -34px 28px; height: 220px; overflow: hidden; }
.tes-cat__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: transform 6s ease; }
.tes-cat__card--light:hover .tes-cat__photo img { transform: scale(1.08); }

.tes-cat__media {
  margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; padding: 22px 30px; border-radius: 14px;
  background: #fff; box-shadow: 0 10px 40px rgba(var(--tes-header-rgb), .06);
}
.tes-cat__media-label { margin: 0; font-family: "Hanken Grotesk", sans-serif; font-weight: 700; color: var(--header); font-size: 17px; }
.tes-cat__media ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tes-cat__media li a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 30px; border: 1px solid rgba(var(--tes-header-rgb), .12); color: var(--header); font-weight: 600; font-size: 14px; line-height: 1.4; transition: all .3s ease; }
.tes-cat__media li a i { color: var(--theme); transition: color .3s ease; }
.tes-cat__media li a:hover { background: var(--header); color: #fff; border-color: var(--header); }
.tes-cat__media li a:hover i { color: #fff; }
.tes-cat__call { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; color: var(--header); font-family: "Hanken Grotesk", sans-serif; font-weight: 700; font-size: 18px; line-height: 1.2; }
.tes-cat__call:hover { color: var(--theme); }
.tes-cat__call-ic { width: 46px; height: 46px; min-width: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--theme); color: #fff; font-size: 17px; animation: tesRingPhone 2.4s ease-in-out infinite; }
.tes-cat__call-txt small { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 500; font-size: 13px; color: var(--text); margin-bottom: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .tes-journey__steps, .tes-journey__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tes-journey__steps { gap: 50px 40px; }
  .tes-journey__line { display: none; }
  .tes-cat__bento { grid-template-columns: minmax(0, 1fr); }
  .tes-cat__card--dark { min-height: 560px; }
  .tes-journey__wm-track span { font-size: 150px; }
}
@media (max-width: 991px) {
  .tes-journey__top { margin-bottom: 40px; }
  .tes-journey__quote { max-width: none; }
  .tes-3d { height: 380px; margin-top: 30px; }
  .tes-cat__head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 36px; }
  .tes-cat__call { margin-left: 0; }
}
@media (max-width: 767px) {
  .tes-journey__steps { grid-template-columns: minmax(0, 1fr); gap: 0; border-left: 2px solid rgba(var(--tes-theme-rgb), .35); margin-left: 8px; }
  .tes-journey__steps li { padding: 0 0 34px 30px; }
  .tes-journey__steps li:last-child { padding-bottom: 0; }
  .tes-journey__steps li::before { display: none; }
  .tes-journey__steps li:hover { transform: none; }
  .tes-journey__dot { left: -10px; }
  .tes-journey__stats { margin-top: 50px; }
  .tes-journey__stats h3 { font-size: 36px; }
  .tes-journey__wm-track span { font-size: 110px; }
  .tes-3d { transform: scale(.8); height: 340px; margin-top: 0; margin-bottom: -30px; }
  .tes-3d__label.l1 { right: 0; } .tes-3d__label.l2 { left: 0; }
  .tes-cat__card { padding: 24px; }
  .tes-cat__card:hover { transform: none; }
  .tes-cat__photo { margin: -24px -24px 22px; height: 170px; }
  .tes-cat__card--dark { min-height: 0; }
  .tes-cat__card--dark .tes-cat__list { width: 100%; }
  .tes-cat__visual { position: relative; top: auto; right: auto; width: 100%; height: 260px; margin-bottom: 10px; }
  .tes-cat__tube.t1 { left: 22%; } .tes-cat__tube.t2 { left: 54%; }
  .tes-cat__list--2col { grid-template-columns: minmax(0, 1fr); }
  .tes-cat__count { font-size: 46px; }
  .tes-cat__card h3 { font-size: 24px; }
  .tes-cat__head > p { padding-left: 16px; }
  .tes-cat__media { padding: 20px; }
}
@media (max-width: 575px) {
  .tes-journey__quote { padding: 24px 22px 22px 24px; }
  .tes-journey__quote p { font-size: 17px; padding-right: 36px; }
  .tes-journey__quote > i { font-size: 30px; right: 18px; top: 18px; }
  .tes-journey__stats { gap: 24px 14px; }
  .tes-journey__stats li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tes-journey__stats h3 { font-size: 32px; }
  .tes-3d { transform: scale(.7); height: 300px; margin: -10px 0 -40px; }
  .tes-cat__card-top { gap: 12px; }
  .tes-cat__letter { width: 44px; height: 44px; font-size: 20px; }
  .tes-cat__count { font-size: 38px; }
  .tes-cat__list li a { font-size: 15px; }
  .tes-cat__media ul { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .tes-journey__wm-track, .tes-journey__pulse, .tes-3d__scene, .tes-3d__tube, .tes-3d__fins i::after, .tes-3d__label::before,
  .tes-cat__grid-bg, .tes-cat__halo, .tes-cat__tube, .tes-cat__call-ic { animation: none !important; }
}
/* the page-wide "#page-content p { text-transform: none }" rule would otherwise flatten these labels */
#page-content .tes-journey__when, #page-content .tes-cat__kicker { text-transform: uppercase; }
/* 3D tube: scale from the top so the reserved height matches what is drawn (no overlap with the timeline) */
@media (max-width: 767px) {
  .tes-3d { transform: scale(.8); transform-origin: 50% 0; height: 370px; margin: 30px 0 0; }
}
@media (max-width: 575px) {
  .tes-3d { transform: scale(.72); transform-origin: 50% 0; height: 340px; margin: 24px 0 0; }
  .tes-3d__label { font-size: 13px; }
}

/* ---------- Scrollable long submenus (Heat Exchangers, Finned Tubes) ---------- */
.header-main .main-menu ul li .submenu li .submenu.tes-scroll-menu { max-height: min(360px, calc(100vh - 220px)); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--theme) #eef1f7; padding: 14px 0; }
.header-main .main-menu ul li .submenu li .submenu.tes-scroll-menu::-webkit-scrollbar { width: 6px; }
.header-main .main-menu ul li .submenu li .submenu.tes-scroll-menu::-webkit-scrollbar-track { background: #eef1f7; border-radius: 6px; }
.header-main .main-menu ul li .submenu li .submenu.tes-scroll-menu::-webkit-scrollbar-thumb { background: var(--theme); border-radius: 6px; }
.header-main .main-menu ul li .submenu li .submenu.tes-scroll-menu li a { line-height: 36px; }
.header-main .main-menu ul li .submenu li .submenu li.is-current > a { color: var(--theme) !important; }
.header-main .main-menu ul li .submenu li .submenu.tes-scroll-menu { min-width: 290px; }
.header-main .main-menu ul li .submenu li .submenu.tes-scroll-menu li a { white-space: nowrap; }

/* ---------- Enquiry strip (full-width, sits on the footer) ---------- */
.tes-cta-strip { background: var(--theme); padding: 23px 0; position: relative; overflow: hidden; }
.tes-cta-strip::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 26px); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); pointer-events: none; }
.tes-cta-strip__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.tes-cta-strip h2 { color: #fff; font-size: 30px; line-height: 1.2; font-weight: 800; margin: 0 0 8px; }
.tes-cta-strip p { color: rgba(255, 255, 255, .92); font-size: 16px; font-weight: 500; margin: 0; }
.tes-cta-strip__btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; background: var(--header); color: #fff; font-family: "Hanken Grotesk", sans-serif; font-weight: 700; font-size: 16px; padding: 16px 26px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .25); box-shadow: 0 10px 24px rgba(7, 29, 68, .3); transition: background .3s, transform .3s; }
.tes-cta-strip__btn:hover { background: var(--tes-navy-deep); color: #fff; transform: translateY(-3px); }
.tes-cta-strip__btn i { transition: transform .3s; }
.tes-cta-strip__btn:hover i { transform: translateX(4px); }
@media (max-width: 991px) { .tes-cta-strip__inner { flex-direction: column; align-items: flex-start; } .tes-cta-strip h2 { font-size: 28px; } }

/* ---------- Footer bottom: centred copyright + developer credit ---------- */
.footer-bottom .tes-footer-bottom { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 40px; text-align: center; }
.footer-bottom .tes-footer-bottom p { margin: 0; }
.footer-bottom .tes-dev { display: inline-flex; align-items: center; gap: 12px; }
.footer-bottom .tes-dev img { height: 40px; width: auto; display: block; }


/* ---------- Framed photo (About › Company Profile + Home › Overview) ---------- */
.tes-profile__media { position: relative; padding: 0 30px 30px 0; isolation: isolate; }
.tes-profile__media::before { content: ""; position: absolute; z-index: -1; left: 46px; top: 46px; right: 0; bottom: 0; border-radius: 24px; background: linear-gradient(135deg, var(--header) 0%, var(--tes-blue) 100%); }
.tes-profile__media::after { content: ""; position: absolute; z-index: -1; right: -14px; top: -22px; width: 130px; height: 130px; background-image: radial-gradient(var(--theme) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .55; }
.tes-profile__media .m1 { position: relative; border-radius: 20px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 30px 60px rgba(7, 29, 68, .25); }
.tes-profile__media .m1 img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform 1.2s; }
.tes-profile__media:hover .m1 img { transform: scale(1.05); }
.tes-profile__media .tes-ring { position: absolute; z-index: -1; left: -26px; bottom: -6px; width: 96px; height: 96px; border-radius: 50%; border: 2px dashed rgba(227, 30, 36, .5); animation: tesSpin 24s linear infinite; }
.tes-profile__media .m2 { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: 16px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 20px 40px rgba(7, 29, 68, .2); }
.tes-profile__media .m2 img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.tes-profile__badge { position: absolute; z-index: 2; left: -24px; top: 34px; background: var(--theme); color: #fff; border-radius: 14px; padding: 18px 22px; box-shadow: 0 16px 30px rgba(227, 30, 36, .35); animation: tesFloat 5s ease-in-out infinite; }
.tes-profile__badge strong { display: block; font-family: "Hanken Grotesk", sans-serif; font-size: 40px; line-height: 1; font-weight: 800; }
.tes-profile__badge span { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; opacity: .9; }
.tes-profile__chip { position: absolute; z-index: 2; right: 48px; bottom: 6px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--header); font-weight: 700; font-size: 14px; padding: 11px 16px; border-radius: 12px; box-shadow: 0 14px 30px rgba(7, 29, 68, .2); }
.tes-profile__chip i { color: var(--theme); }
@keyframes tesFloat { 50% { transform: translateY(-10px); } }
@keyframes tesSpin { to { transform: rotate(360deg); } }
@media (max-width: 991px) { .tes-profile__media { margin-bottom: 20px; } }
@media (max-width: 767px) {
  .tes-profile__media { padding: 0 16px 18px 0; }
  .tes-profile__media::before { left: 26px; top: 26px; border-radius: 18px; }
  .tes-profile__media::after { width: 80px; height: 80px; right: -6px; top: -14px; }
  .tes-profile__media .m1 { border-width: 5px; border-radius: 16px; }
  .tes-profile__badge { left: 10px; top: 14px; padding: 12px 16px; }
  .tes-profile__badge strong { font-size: 28px; }
  .tes-profile__chip { right: 26px; bottom: 0; font-size: 12.5px; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { .tes-profile__badge, .tes-profile__media .tes-ring { animation: none; } }
/* Overview: centre the framed photo against the text */
@media (min-width: 992px) {
  #overview .row { align-items: center !important; }
  #overview .tes-ov-media { margin-right: 10px; }
}

/* ==========================================================
   Client corrections – Nov 2026
   ========================================================== */

/* ---------- Grouped industries (Industries page + homepage) ---------- */
.tes-ind-group + .tes-ind-group { margin-top: 50px; }
.tes-ind-group__title { display: flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 800; color: var(--header); margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid #e3e8f1; scroll-margin-top: 140px; }
.tes-ind-group__title i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--theme); color: #fff; font-size: 19px; flex-shrink: 0; }
.tes-ind-group__title em { margin-left: auto; font-style: normal; font-size: 14px; font-weight: 700; color: var(--theme); letter-spacing: 1px; }
.tes-industry-grid--g { grid-template-columns: repeat(5, 1fr); }
.tes-ind-cta { margin-top: 50px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 30px; border-radius: 18px; background: var(--header); color: rgba(255,255,255,.85); }
.tes-ind-cta p { margin: 0; color: inherit; font-size: 16px; }
.tes-ind-cta b { color: #fff; }
@media (max-width: 1199px) { .tes-industry-grid--g { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991px) { .tes-industry-grid--g { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .tes-industry-grid--g { grid-template-columns: repeat(2, 1fr); } .tes-ind-group__title { font-size: 18px; } }

/* ---------- Side nav group labels (industry pages) ---------- */
.tes-side__nav li.tes-side__grp { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--theme); padding: 16px 4px 4px; }
.tes-side__nav li.tes-side__grp:first-child { padding-top: 0; }

/* ---------- Three highlights band (every page, above footer) ---------- */
.tes-pillars { background: var(--tes-navy-deep); padding: 20px 0px 5px; position: relative; }
.tes-pillars::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--theme); }
.tes-pillars__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tes-pillars__list a { display: flex; align-items: center; gap: 16px; height: 100%; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; transition: background .3s, transform .3s; }
.tes-pillars__list a:hover { background: var(--theme); transform: translateY(-4px); }
.tes-pillars__list .ic { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--theme); font-size: 22px; transition: background .3s; }
.tes-pillars__list a:hover .ic { background: rgba(255,255,255,.18); }
.tes-pillars__list .tx { display: flex; flex-direction: column; gap: 3px; }
.tes-pillars__list b { font-family: "Hanken Grotesk", sans-serif; font-size: 17px; line-height: 1.3; }
.tes-pillars__list small { font-size: 13.5px; color: rgba(255,255,255,.7); line-height: 1.4; }
.tes-pillars__list a:hover small { color: rgba(255,255,255,.9); }
.tes-pillars__list .go { margin-left: auto; font-size: 13px; opacity: .6; }
@media (max-width: 991px) { .tes-pillars__list { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Homepage short Vision & Mission ---------- */
.tes-vmh { padding: 70px 0 0; }
.tes-vmh__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tes-vmh__card { display: flex; gap: 20px; align-items: flex-start; padding: 30px; border-radius: 18px; background: #fff; border: 1px solid #e3e8f1; border-left: 4px solid var(--tes-blue); box-shadow: 0 14px 34px rgba(7,29,68,.06); }
.tes-vmh__card--m { border-left-color: var(--theme); }
.tes-vmh__card .ic { width: 58px; height: 58px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; font-size: 24px; color: #fff; background: var(--tes-blue); }
.tes-vmh__card--m .ic { background: var(--theme); }
.tes-vmh__card h3 { font-size: 22px; color: var(--header); margin: 0 0 8px; }
.tes-vmh__card p { margin: 0; font-size: 16px; line-height: 1.7; }
@media (max-width: 767px) { .tes-vmh { padding-top: 60px; } .tes-vmh__grid { grid-template-columns: 1fr; } .tes-vmh__card { padding: 24px 20px; } }

/* ---------- About page additions ---------- */
.tes-sub-h { font-size: 18px; color: var(--header); margin: 28px 0 0; }
.tes-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tes-tags li { font-size: 14px; font-weight: 600; color: var(--header); padding: 7px 14px; border-radius: 30px; background: #fff; border: 1px solid #e3e8f1; }
.tes-box .tes-tags li { background: var(--bg, #f3f6fb); }
.tes-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--theme); }
.tes-link:hover { color: var(--header); }
.tes-vm2__lead { font-weight: 700; color: var(--header); }
.tes-mission { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.tes-mission li { position: relative; padding: 12px 14px 12px 16px; border-radius: 10px; background: var(--bg, #f3f6fb); font-size: 14.5px; line-height: 1.6; }
.tes-mission li b { display: block; color: var(--header); font-size: 15px; margin-bottom: 2px; }
.tes-commit { max-width: 900px; margin: 0 auto; text-align: center; }
.tes-commit .tes-eyebrow { justify-content: center; }
.tes-commit .tes-prose p { text-align: center; }

/* ---------- Manufacturing capability CTA tile ---------- */
.tes-steps .tes-step--cta { display: block; background: var(--header); border-color: var(--header); counter-increment: none; }
.tes-steps .tes-step--cta::after { content: none; }
.tes-steps .tes-step--cta i { background: var(--theme); }
.tes-steps .tes-step--cta h3, .tes-steps .tes-step--cta p { color: #fff; text-align: left !important; }
.tes-steps .tes-step--cta p span { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; color: #ff8a8e; }
.tes-steps .tes-step--cta p span i { width: auto; height: auto; background: none; font-size: 12px; margin: 0; display: inline; color: inherit; }

/* ==========================================================
   Home hero – fixed text on the left, sliding images on the right
   ========================================================== */
.tes-hero { --hero-navy: #0D2A5E; --hero-accent: #F7941D; position: relative; background: var(--hero-navy); color: #fff; overflow: hidden; isolation: isolate; }
.tes-hero::before { content: ""; position: absolute; left: 0; top: 46px; width: min(260px, 22vw); height: 2px; background: rgba(255,255,255,.35); z-index: 3; }
.tes-hero::after { content: ""; position: absolute; left: 0; top: 64px; width: min(200px, 16vw); height: 3px; background: var(--hero-accent); z-index: 3; }
.tes-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; z-index: 1; }
.tes-hero__media::before { content: ""; position: absolute; inset: 0 auto 0 -14px; width: 120px; background: var(--hero-accent); clip-path: polygon(70px 0, 100% 0, 50px 50%, 100% 100%, 70px 100%, 20px 50%); z-index: 2; }
.tes-hero-swiper { position: absolute; inset: 0; clip-path: polygon(70px 0, 100% 0, 100% 100%, 70px 100%, 20px 50%); }
.tes-hero-swiper .swiper-slide { overflow: hidden; }
.tes-hero-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Slides that must show the whole photo (portrait shots): image fits inside, blurred copy fills the sides */
.tes-hero-swiper .tes-slide--full { position: relative; background: #1b2a44; }
.tes-hero-swiper .tes-slide--full img { position: relative; z-index: 1; object-fit: contain; padding: 0 0 40px 40px; }
.tes-hero-swiper .tes-slide--full img.tes-slide__bg { position: absolute; inset: 0; z-index: 0; object-fit: cover; padding: 0; filter: blur(22px) brightness(.55); transform: scale(1.15); }
@media (max-width: 991px) { .tes-hero-swiper .tes-slide--full img { padding: 0 0 34px; } }
.tes-hero__dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 4; display: flex; justify-content: center; gap: 8px; }
.tes-hero__dots .swiper-pagination-bullet { width: 10px; height: 10px; margin: 0 !important; background: #fff; opacity: .55; transition: all .3s; }
.tes-hero__dots .swiper-pagination-bullet-active { opacity: 1; width: 26px; border-radius: 6px; background: var(--hero-accent); }
.tes-hero .container { position: relative; z-index: 3; }
.tes-hero__content { width: 48%; min-height: clamp(500px, 66vh, 640px); display: flex; flex-direction: column; justify-content: center; padding: 90px 30px 70px 0; }
.tes-hero__eyebrow { display: block; font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.tes-hero__eyebrow i { font-style: normal; opacity: .6; margin: 0 6px; }
.tes-hero__eyebrow::after { content: ""; display: block; width: 86px; height: 4px; border-radius: 2px; background: var(--hero-accent); margin-top: 18px; }
.tes-hero__title { color: #fff; font-size: clamp(36px, 4.4vw, 66px); line-height: 1.08; font-weight: 800; margin: 0 0 22px; }
.tes-hero__title span { display: block; color: var(--hero-accent); }
.tes-hero__text { color: rgba(255,255,255,.88); font-size: 18px; line-height: 1.65; max-width: 520px; margin: 0 0 30px; }
.tes-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.tes-hero__btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 8px; background: var(--theme); color: #fff; font-weight: 700; font-size: 16px; border: 2px solid var(--theme); transition: all .3s; }
.tes-hero__btn:hover { background: #fff; color: var(--theme); border-color: #fff; }
.tes-hero__btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); }
.tes-hero__btn--ghost:hover { background: var(--hero-accent); border-color: var(--hero-accent); color: #fff; }
.tes-hero__tags { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.tes-hero__tags a { position: relative; color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding-bottom: 6px; }
.tes-hero__tags a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--hero-accent); transition: width .3s; }
.tes-hero__tags a:hover { color: var(--hero-accent); }
.tes-hero__tags a:hover::after { width: 100%; }

@media (max-width: 1199px) {
  .tes-hero__media { width: 50%; }
  .tes-hero__content { width: 52%; min-height: 500px; padding: 70px 24px 60px 0; }
  .tes-hero__text { font-size: 16px; }
}
@media (max-width: 991px) {
  .tes-hero { display: flex; flex-direction: column; }
  .tes-hero::before, .tes-hero::after { display: none; }
  .tes-hero__media { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 440px; order: 1; }
  .tes-hero__media::before { display: none; }
  .tes-hero-swiper { clip-path: none; }
  .tes-hero__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 6px; background: var(--hero-accent); z-index: 3; }
  .tes-hero__dots { bottom: 16px; }
  .tes-hero .container { order: 2; }
  .tes-hero__content { width: 100%; min-height: 0; padding: 40px 0 46px; }
  .tes-hero__text { max-width: none; }
}
@media (max-width: 575px) {
  .tes-hero__media { aspect-ratio: 4 / 3; }
  .tes-hero__eyebrow { font-size: 11px; letter-spacing: 1px; }
  .tes-hero__eyebrow i { margin: 0 3px; }
  .tes-hero__eyebrow::after { width: 64px; margin-top: 14px; }
  .tes-hero__title { font-size: 34px; }
  .tes-hero__text { font-size: 15.5px; margin-bottom: 24px; }
  .tes-hero__btns { flex-direction: column; }
  .tes-hero__btn { justify-content: center; width: 100%; }
  .tes-hero__tags { gap: 10px 16px; }
  .tes-hero__tags a { font-size: 12.5px; }
}

/* ==========================================================
   Pillars band – highlighted, between "How We Manufacture" and "Why Choose TES"
   ========================================================== */
.tes-pillars--feature { padding: 56px 0; background: radial-gradient(70% 140% at 100% 0%, rgba(20,80,200,.45), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(227,30,36,.28), transparent 60%), var(--tes-navy-deep); overflow: hidden; }
.tes-pillars--feature::before { height: 4px; background: linear-gradient(90deg, var(--theme), var(--tes-blue)); }
.tes-pillars--feature::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--tes-blue), var(--theme)); }
.tes-pillars--feature .tes-pillars__list { gap: 24px; }
.tes-pillars--feature .tes-pillars__list a { padding: 26px 24px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.tes-pillars--feature .tes-pillars__list .ic { width: 60px; height: 60px; font-size: 25px; box-shadow: 0 0 0 6px rgba(227,30,36,.18); }
.tes-pillars--feature .tes-pillars__list a:hover .ic { box-shadow: 0 0 0 6px rgba(255,255,255,.15); }
.tes-pillars--feature .tes-pillars__list b { font-size: 18px; }
.tes-pillars--feature .tes-pillars__list .go { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); opacity: 1; transition: transform .3s, background .3s; }
.tes-pillars--feature .tes-pillars__list a:hover .go { background: #fff; color: var(--theme); transform: translateX(4px); }
@media (max-width: 1199px) and (min-width: 992px) { .tes-pillars--feature .tes-pillars__list a { padding: 22px 18px; gap: 12px; } .tes-pillars--feature .tes-pillars__list b { font-size: 16px; } .tes-pillars--feature .tes-pillars__list .go { display: none; } }
@media (max-width: 991px) { .tes-pillars--feature { padding: 44px 0; } .tes-pillars--feature .tes-pillars__list { gap: 14px; } }
@media (max-width: 575px) { .tes-pillars--feature .tes-pillars__list a { padding: 18px 16px; gap: 14px; } .tes-pillars--feature .tes-pillars__list .ic { width: 50px; height: 50px; font-size: 21px; } .tes-pillars--feature .tes-pillars__list b { font-size: 16px; } }

/* ==========================================================
   Footer – white background, text in the logo colours (all pages)
   ========================================================== */
.footer-section { background: #fff !important; background-image: none !important; border-top: 1px solid #e3e8f1; }
.footer-section::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: auto; height: 4px; background: linear-gradient(90deg, var(--theme) 0%, var(--theme) 35%, var(--tes-blue) 35%, var(--tes-blue) 100%); opacity: 1; z-index: 1; }
.footer-section .footer-widgets-wrapper { padding-top: 30px; }
.footer-widgets-wrapper .footer-widget-items .widget-head h4 { color: var(--bs-primary-text-emphasis); }
.footer-widgets-wrapper .footer-widget-items .widget-head { border-image: linear-gradient(90deg, var(--theme) 4.85%, rgba(227,30,36,0) 96.39%); border-image-slice: 2; }
.footer-widgets-wrapper .footer-widget-items .widget-content p,
.footer-section .widget-content p.text-white { color: var(--header) !important; }
/* .footer-widgets-wrapper .footer-widget-items .widget-content .border-text { -webkit-text-stroke: 1px var(--theme); color: transparent; } */
.footer-widgets-wrapper .footer-widget-items .widget-content .border-text {  color: red; font-weight: bold; }
.footer-widgets-wrapper .footer-widget-items .widget-content .list-area li a { color: var(--header); font-weight: 500; }
.footer-widgets-wrapper .footer-widget-items .widget-content .list-area li a i { color: var(--theme); }
.footer-widgets-wrapper .footer-widget-items .widget-content .list-area li:hover a { color: var(--theme); }
.footer-section .tes-foot-contact li { color: var(--header); }
.footer-section .tes-foot-contact li i { background: rgba(227,30,36,.08); border-color: rgba(227,30,36,.35); color: var(--theme); }
.footer-section .tes-foot-contact li a { color: var(--header); }
.footer-section .tes-foot-contact li a:hover { color: var(--theme); }
.footer-section .tes-footer-logo img { max-width: 320px; }
.footer-section .footer-bottom { background-color: #f3f6fb !important; border-top: 1px solid #e3e8f1; }
.footer-section .footer-bottom .footer-wrapper p { color: var(--header); }
.footer-section .footer-bottom .footer-wrapper p a { color: var(--theme); font-weight: 600; }
.footer-section .footer-bottom .footer-wrapper p a:hover { color: var(--tes-blue); }
@media (max-width: 991px) { .footer-section .footer-widgets-wrapper { padding-top: 30px; padding-bottom: 40px; } }
@media (max-width: 575px) { .footer-section .tes-footer-logo img { max-width: 260px; } }
#page-content .tes-hero__text { text-align: left; }
@media (max-width: 1399px) { .tes-hero::before, .tes-hero::after { display: none; } }
@media (max-width: 1199px) { .tes-hero__eyebrow { font-size: 12.5px; letter-spacing: 1.2px; } }
.footer-section .footer-bottom .footer-wrapper p { text-align: center; }
@media (max-width: 575px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
#page-content .footer-bottom .footer-wrapper p { text-align: center; }

/* ==========================================================
   Round – drone video, client marquee, light grey footer
   ========================================================== */
/* Overview drone video (replaces team photo) */
.tes-profile__media .m1.tes-ov-video video { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: #0b1f44; }

/* Client logos marquee – home page, above footer */
.tes-clients { padding: 70px 0 60px; background: #fff; }
.tes-clients__marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.tes-clients__track { display: flex; width: max-content; animation: tesClientsScroll 40s linear infinite; }
.tes-clients__marquee:hover .tes-clients__track { animation-play-state: paused; }
.tes-clients__list { display: flex; align-items: center; gap: 24px; margin: 0; padding: 10px 12px; list-style: none; }
.tes-clients__item { flex: 0 0 auto; width: 190px; height: 110px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #e3e8f1; border-radius: 14px; padding: 14px 18px; box-shadow: 0 8px 20px rgba(7, 29, 68, .06); transition: transform .3s, box-shadow .3s, border-color .3s; }
.tes-clients__item:hover { transform: translateY(-4px); border-color: rgba(227, 30, 36, .4); box-shadow: 0 14px 28px rgba(7, 29, 68, .12); }
.tes-clients__item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
@keyframes tesClientsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 575px) {
  .tes-clients { padding: 50px 0 40px; }
  .tes-clients__item { width: 140px; height: 86px; padding: 10px 12px; }
  .tes-clients__list { gap: 14px; padding: 8px 7px; }
}
@media (prefers-reduced-motion: reduce) { .tes-clients__track { animation-duration: 120s; } }

/* Light grey footer */
.footer-section { background: #eef0f3 !important; background-image: none !important; border-top: 1px solid #dde1e7; }
.footer-section .footer-bottom { background-color: #e2e5ea !important; border-top: 1px solid #d3d8df; }
.footer-section .tes-foot-contact li i { background: #fff; }

/* Exports page – export countries map (full-width, edge to edge, never cropped) */
.tes-export-map { padding: 0; margin: 0; width: 100%; overflow: hidden; line-height: 0; }
.tes-export-map__link { display: block; cursor: zoom-in; }
.tes-export-map__link img { display: block; width: 100%; height: auto; max-width: none; }

.tes-footer-duns {
  margin-top: 12px;
  color: #002b5c;
  font-size: 15px;
  line-height: 1.5;
}
.tes-footer-duns img {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  margin-bottom: 4px;
}
.tes-footer-duns strong {
  white-space: nowrap;
}
