/* ═══════════════════════════════════════
   THERMAL SENSE — DESIGN TOKENS
   Adapted from the Magbish index.html token
   system. Same structure, retinted to
   Thermal Sense's blue/orange brand.
═══════════════════════════════════════ */
:root {
  /* ── Core palette (was navy/amber → now navy-blue/orange) ── */
  --navy:       #0b2440;   /* dark backgrounds, headings   (was #0d2137) */
  --blue:       #1c7fc4;   /* primary brand blue            (was #1455a4) */
  --steel:      #103356;
  --sky:        #1c7fc4;
  --amber:      #f2801e;   /* Thermal Sense orange          (was #e8980f) */
  --amber2:     #ff9d47;   /* lighter orange accent         (was #f5b731) */
  --green:      #1a8c5b;
  --ash:        #f2f6fa;
  --mid:        #d9e1ed;
  --light:      #f4f6fa;
  --border:     #dde3ed;
  --text:       #1c2b3a;
  --muted:      #6b7f96;
  --white:      #ffffff;

  /* ── Shape & shadow ── */
  --card-r:     14px;
  --radius:     10px;
  --radius-lg:  18px;
  --shadow:     0 4px 24px rgba(11,36,64,.10);
  --shadow-lg:  0 12px 48px rgba(11,36,64,.18);
  --shadow-sm:  0 2px 12px rgba(11,36,64,.08);
  --shadow-md:  0 8px 32px rgba(11,36,64,.13);

/* ── Typography ── */
  --ff-head:    'Space Grotesk', sans-serif; /* Industrial, blocky, precise */
  --ff-body:    'Inter', sans-serif;         /* Ultra-clean, technical readability */

}

@import url('https://googleapis.com');
@import url('https://googleapis.com');



/* ═══════════════════════════════════════
   BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--ff-body); color: var(--text); background: var(--white); overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
h1,h2,h3,h4,h5 { font-family: var(--ff-head); font-weight: 700; line-height: 1.15; }

/* ═══════════════════════════════════════
   UTILITIES
═══════════════════════════════════════ */
.text-sky    { color: var(--sky)   !important; }
.text-navy   { color: var(--navy)  !important; }
.text-amber  { color: var(--amber) !important; }
.text-amber2 { color: var(--amber2)!important; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.py-section { padding: 80px 0; }

.label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
}

.section-title {
  font-size: 2rem;
  color: var(--navy);
  font-family: var(--ff-head);
}

em.text-amber { font-style: normal; color: var(--amber); }

/* ═══════════════════════════════════════
   BOOTSTRAP OVERRIDES
═══════════════════════════════════════ */
.bg-light { background-color: var(--light) !important; }
.btn { font-family: var(--ff-body); font-weight: 600; }

/* ═══════════════════════════════════════
   CUSTOM BUTTONS
═══════════════════════════════════════ */
.btn-amber {
  background: var(--amber);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .65rem 1.4rem;
  font-size: .9rem;
  transition: all .2s;
}
.btn-amber:hover { background: #c4650f; color: #fff; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 8px;
  padding: .6rem 1.3rem;
  font-size: .9rem;
  transition: all .2s;
  cursor: pointer;
}
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 8px;
  padding: .65rem 1.4rem;
  font-size: .9rem;
  transition: all .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.25); color: #fff; }

.btn-navy {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .65rem 1.4rem;
  font-size: .9rem;
  transition: all .2s;
}
.btn-navy:hover { background: #c4650f; color: #fff; transform: translateY(-1px); }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  background: #ffffff !important;
  border-bottom: 1px solid var(--border);
  min-height: 68px;
  z-index: 999;
  text-transform: uppercase;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(11,36,64,.10); }

.ts-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  text-transform: none;
}
.ts-brand .flame { color: var(--amber); font-size: 1.2rem; }
.ts-brand .thermal { color: var(--navy); }
.ts-brand .sense   { color: var(--amber); }

@media (min-width: 992px) {
  .navbar .nav-link.active {
    color: #000 !important;
    font-weight: 700;
    border-bottom: 2.5px solid var(--amber) !important;
    padding-bottom: 3px;
  }
}

.offcanvas.text-bg-light { background: #ffffff !important; }
.offcanvas-header { background: transparent !important; }
.offcanvas .nav-link { color: var(--text); }
.offcanvas .nav-link:hover { color: var(--amber); }
.offcanvas .nav-link.active {
  color: #000 !important;
  font-weight: 700;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 4px;
}

/* Login button */
.madzi-login-btn {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--ff-body);
  cursor: pointer; transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .45rem .9rem;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.25);
  transition: all .2s;
  white-space: nowrap;
}
.madzi-login-btn:hover {
  background: var(--blue);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.madzi-login-btn i { font-size: .8rem; }

/* Hamburger — only shows below lg, Bootstrap handles this
   but we ensure it is never crowded */
.madzi-nav .navbar-toggler { padding: .35rem .5rem; }
.madzi-nav .navbar-toggler:focus { box-shadow: none; }


/* ═══════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════ */
.cta-banner {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 260px;
  color: #fff;
  background-image:
    linear-gradient(120deg, rgba(11,36,64,.64) 0%, rgba(11,36,64,.46) 45%, rgba(28,127,196,.35) 100%),
    url('../images/6.webp');
}

.cta-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,36,64,.35), rgba(28,127,196,.55));
}
.cta-banner-content {
  position: relative; z-index: 1;
  max-width: 640px;
  margin-right: auto;
  text-align: left;
}
.cta-banner-content h3 {
  font-size: 1.9rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.cta-banner-content p {
  opacity: .85;
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer { background: #ffffff; color: var(--muted); border-top: 1px solid var(--border); }
.footer-sub  { font-size: .88rem; line-height: 1.7; color: var(--muted); margin-top: 12px; }

.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--light);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .85rem;
  transition: all .2s;
}
.social-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.footer-heading {
  font-family: var(--ff-head);
  font-size: .95rem;
  color: var(--navy);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-links li  { margin-bottom: 8px; }
.footer-links a   { color: var(--muted); font-size: .87rem; transition: color .2s; }
.footer-links a:hover { color: var(--amber); }
.footer-icon { color: var(--amber); width: 18px; }
.footer-bottom { border-top: 1px solid var(--border); font-size: .82rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--amber); }

/* ═══════════════════════════════════════
   FLOATING BUTTONS
═══════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 90px; right: 24px;
  width: 44px; height: 44px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  font-size: .9rem;
  cursor: pointer;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover   { background: var(--blue); transform: translateY(-2px); }

.wa-float {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 52px; height: 52px;
  background: #25d366;
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 800;
  transition: all .3s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.5); color: #fff; }

/* ═══════════════════════════════════════
   TOAST
═══════════════════════════════════════ */
.toast-ts {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast-ts.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   RESPONSIVE (base)
═══════════════════════════════════════ */
@media (max-width: 991px) {
  .navbar .d-flex { gap: 8px; }
}
@media (max-width: 768px) {
  .py-section { padding: 56px 0; }
  .cta-banner { padding: 40px 24px; }
  .cta-banner-content { text-align: left; margin-left: 0; }
  .section-title { font-size: 1.6rem; }
}


/* ═══════════════════════════════════════════════════════════════════
   HOME / LANDING PAGE
═══════════════════════════════════════════════════════════════════ */

/* ── HERO ──
   No client photography supplied yet, so the
   hero uses a CSS gradient + diagonal accent
   instead of a background photo. Swap in a
   site/plant image via --hero-img when ready. */

  /* ── HERO ──
     No client photography supplied yet, so the
     hero uses a CSS gradient + diagonal accent
     instead of a background photo. Swap in a
     site/plant image via --hero-img when ready. */
  #hero {
    background-image:
      linear-gradient(120deg, rgba(11,36,64,.64) 0%, rgba(11,36,64,.46) 45%, rgba(28,127,196,.35) 100%),
      url('../images/3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  #hero::after {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
      -55deg, transparent, transparent 60px,
      rgba(255,255,255,.025) 60px, rgba(255,255,255,.025) 62px
    );
    pointer-events: none;
  }

  #hero .container { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,128,30,.14);
  border: 1px solid rgba(242,128,30,.4);
  color: var(--amber2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-weight: 800;
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.12;
}

.hero-text p {
  color: rgba(255,255,255,.78);
  max-width: 560px;
}

@media (min-width: 768px) {
  .hero-text {
    margin-top: 7.6rem;
  }
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about-visual {
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(120deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.46) 45%, rgba(28,127,196,.55) 100%),
    url('../images/11.webp');
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -55deg, transparent, transparent 50px,
    rgba(255,255,255,.02) 50px, rgba(255,255,255,.02) 52px
  );
}

.about-visual-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(242,128,30,.16);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber2);
  font-size: 1.6rem;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}

.about-visual h3 {
  color: #fff;
  font-size: 1.3rem;
  position: relative; z-index: 1;
  margin-bottom: 10px;
}
.about-visual p {
  color: rgba(255,255,255,.65);
  font-size: .92rem;
  line-height: 1.7;
  position: relative; z-index: 1;
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
}
.pill i { color: var(--sky); margin-right: 6px; }

/* ── Vision / Mission cards (built fresh for this page,
     using the same token system as the rest of the site) ── */
.vm-card {
  border-radius: var(--card-r);
  padding: 32px 30px;
  height: 100%;
}
.vm-card.vision {
  background: var(--navy);
  color: #fff;
}
.vm-card.mission {
  background: linear-gradient(135deg, var(--amber), var(--amber2));
  color: #fff;
}
.vm-card .vm-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 10px;
  display: block;
}
.vm-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 12px; }
.vm-card p  { opacity: .9; line-height: 1.75; font-size: .95rem; margin: 0; }

/* ═══════════════════════════════════════
   WHY CHOOSE US — pill strip
   (replaces the numeric stats-bar; Thermal
   Sense's profile gives qualitative
   differentiators, not figures to cite)
═══════════════════════════════════════ */
.why-strip { background: var(--navy); padding: 34px 0; }
.why-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
}
.why-chip i {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(242,128,30,.18);
  color: var(--amber2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   PRODUCT / SERVICE TABS — base rules
   (required — controls show/hide of the
   Industrial Supplies / Technical Services
   panels; do not remove when editing
   anything else in this section)
═══════════════════════════════════════ */
.tab-nav { }

.tab-btn {
  padding: .55rem 1.2rem;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--ff-body);
  border: 2px solid var(--border);
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  transition: all .2s;
}
.tab-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.tab-btn:hover:not(.active) { border-color: var(--blue); color: var(--blue); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ═══════════════════════════════════════
   PRODUCTS & SERVICES — CARD + MODAL
   (uses existing Thermal Sense tokens only)
═══════════════════════════════════════ */

/* ── Section header count pill ── */
.section-count-pill {
  display: inline-flex;
  align-items: center;
  background: var(--amber);
  color: #fff;
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-left: 10px;
  vertical-align: middle;
}

/* ── Card ── */
.ts-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--card-r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform .28s cubic-bezier(.2,.8,.4,1), box-shadow .28s;
}
.ts-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ts-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber2));
  opacity: 0; transition: opacity .25s;
}
.ts-card:hover::before { opacity: 1; }

.ts-card-visual {
  height: 190px;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ts-card-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.ts-card:hover .ts-card-visual img { transform: scale(1.06); }
.ts-card-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: rgba(255,255,255,.3);
  position: absolute; inset: 0;
}
.ts-card-placeholder i { font-size: 2.6rem; }

.ts-card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--amber); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.ts-card-body { padding: 20px 20px 14px; flex: 1; display: flex; flex-direction: column; }
.ts-card-body h3 {
  font-family: var(--ff-head); font-size: 1.05rem; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.ts-card-body p { font-size: .86rem; color: var(--muted); line-height: 1.6; flex: 1; margin: 0; }

.ts-card-footer { padding: 0 20px 20px; }
.ts-btn-see-more {
  width: 100%;
  background: var(--navy); color: #fff; border: none;
  border-radius: 8px; padding: 10px 16px;
  font-family: var(--ff-body); font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.ts-btn-see-more:hover { background: var(--blue); }

.ts-no-results { text-align: center; padding: 60px 20px; display: none; }
.ts-no-results i { font-size: 2.6rem; color: var(--mid); margin-bottom: 14px; display: block; }
.ts-no-results p { color: var(--muted); }

/* ── Modal ── */
.ts-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1200;
  background: rgba(11,36,64,.8); backdrop-filter: blur(6px);
  padding: 20px; overflow-y: auto;
}
.ts-modal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.ts-modal {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 860px; margin: auto; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.3);
  animation: tsModalIn .3s cubic-bezier(.2,.8,.4,1);
}
@keyframes tsModalIn {
  from { opacity: 0; transform: translateY(40px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

.ts-modal-gallery {
  position: relative; height: 300px;
  background: linear-gradient(135deg, var(--navy), var(--steel)); overflow: hidden;
}
.ts-modal-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
}
.ts-modal-gallery img.active { opacity: 1; }
.ts-modal-gallery-nav {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.ts-modal-gallery-nav button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5); background: transparent;
  cursor: pointer; padding: 0; transition: all .2s;
}
.ts-modal-gallery-nav button.active { background: #fff; border-color: #fff; }
.ts-modal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); color: #fff; border: none;
  width: 40px; height: 40px; border-radius: 50%;
  cursor: pointer; font-size: 1rem; z-index: 3;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.ts-modal-arrow:hover { background: rgba(255,255,255,.25); }
.ts-modal-arrow.prev { left: 14px; }
.ts-modal-arrow.next { right: 14px; }
.ts-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  background: rgba(255,255,255,.12); color: #fff; border: none;
  width: 38px; height: 38px; border-radius: 50%; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.ts-modal-close:hover { background: rgba(255,255,255,.25); }
.ts-modal-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: var(--amber); color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 5px;
}

.ts-modal-body { padding: 28px 32px 0; }
.ts-modal-body h2 {
  font-family: var(--ff-head); font-size: 1.7rem; font-weight: 800;
  color: var(--navy); margin-bottom: 4px;
}
.ts-modal-tagline { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }

.ts-modal-tabs { display: flex; border-bottom: 2px solid var(--mid); margin-bottom: 20px; }
.ts-modal-tab {
  padding: 10px 20px; font-family: var(--ff-body); font-size: .86rem; font-weight: 600;
  color: var(--muted); background: none; border: none;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  cursor: pointer; transition: all .2s;
}
.ts-modal-tab.active { color: var(--navy); border-bottom-color: var(--amber); }
.ts-modal-tab-panel { display: none; padding-bottom: 4px; }
.ts-modal-tab-panel.active { display: block; }
.ts-modal-tab-panel p { font-size: .92rem; color: var(--text); line-height: 1.75; margin-bottom: 12px; }

.ts-app-tag {
  display: inline-block;
  background: #eef6ff; color: var(--navy);
  border: 1px solid #c3d9f6;
  border-radius: 20px; padding: 4px 14px;
  font-size: .8rem; font-weight: 600; margin: 3px;
}

.ts-spec-table { width: 100%; border-collapse: collapse; }
.ts-spec-table tr { border-bottom: 1px solid var(--mid); }
.ts-spec-table tr:last-child { border-bottom: none; }
.ts-spec-table td { padding: 10px 0; font-size: .88rem; }
.ts-spec-table td:first-child { color: var(--muted); font-weight: 600; width: 40%; }
.ts-spec-table td:last-child  { color: var(--navy); font-weight: 500; }

.ts-modal-footer {
  padding: 20px 32px 28px; display: flex; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--mid); margin-top: 20px;
}
.ts-modal-btn-primary {
  flex: 1; min-width: 180px;
  background: var(--amber); color: #fff; border: none;
  border-radius: 8px; padding: 12px 24px;
  font-family: var(--ff-body); font-size: .92rem; font-weight: 700;
  cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
}
.ts-modal-btn-primary:hover { background: #c4650f; color: #fff; }
.ts-modal-btn-secondary {
  padding: 12px 24px; background: transparent; color: var(--navy);
  border: 1.5px solid var(--mid); border-radius: 8px;
  font-family: var(--ff-body); font-size: .92rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; gap: 8px; text-decoration: none;
}
.ts-modal-btn-secondary:hover { border-color: var(--navy); }

.productSwiper .swiper-wrapper {
  align-items: stretch;
}

.productSwiper .swiper-slide {
  height: auto;
  display: flex;
}

@media (max-width: 768px) {
  .ts-modal-body, .ts-modal-footer { padding-left: 20px; padding-right: 20px; }
}

/* ═══════════════════════════════════════
   INDUSTRIES SERVED — swiper
═══════════════════════════════════════ */
.industrySwiper { overflow: visible; padding-bottom: 4px; }

.industry-slide {
  position: relative;
  height: 380px;
  border-radius: var(--card-r);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--navy); /* fallback while image loads */
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
}
.industry-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,36,64,.05) 0%, rgba(11,36,64,.15) 50%, rgba(11,36,64,.85) 100%);
}

.industry-slide-icon {
  position: absolute;
  top: 20px; left: 20px;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(242,128,30,.16);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber2);
  font-size: 1.15rem;
  z-index: 2;
}

.industry-slide-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 20px;
}
.industry-slide-footer span {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.industry-slide-footer-cta {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.industry-slide-footer-cta .btn { font-size: .92rem; padding: .75rem 1.6rem; white-space: nowrap; }

/* Nav buttons (match tab-btn / btn-outline styling language) */
.industry-nav-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: .85rem;
  transition: all .2s;
  cursor: pointer;
}
.industry-nav-btn:hover { background: var(--amber); border-color: var(--amber); color: #fff; }
.industry-nav-btn.swiper-button-disabled { opacity: .35; cursor: default; }
.industry-nav-btn.swiper-button-disabled:hover { background: #fff; border-color: var(--border); color: var(--navy); }

@media (max-width: 768px) {
  .industry-slide { height: 300px; }
  .industry-slide-footer span { font-size: .95rem; }
}

/* ═══════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════ */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--card-r);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  height: 100%;
}
.contact-row {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-row i {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--light);
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .95rem;
}
.contact-row strong { display: block; color: var(--navy); font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.contact-row a, .contact-row span { color: var(--text); font-size: .92rem; }
.contact-row a:hover { color: var(--amber); }

.co-input {
  border: 1.5px solid var(--border) !important;
  border-radius: 10px !important;
  font-family: var(--ff-body) !important;
  font-size: .9rem !important;
  color: var(--text) !important;
  transition: border .2s !important;
}
.co-input:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(28,127,196,.1) !important;
  outline: 0;
}

/* ═══════════════════════════════════════
   RESPONSIVE (page-specific)
═══════════════════════════════════════ */
@media (max-width: 768px) {
  #hero { min-height: auto; padding: 150px 0 80px; }
  .contact-card { padding: 28px 22px; }
}

/* ═══════════════════════════════════════
   PROJECTS GALLERY
═══════════════════════════════════════ */
.gallery-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--card-r);
  overflow: hidden;
  transition: all .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 100px;
}
.gallery-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* Highlight state when a project is opened via a shared link */
.gallery-card.is-shared {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(242,128,30,.18), var(--shadow-lg);
}

.gallery-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--light);
}
.gallery-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-card:hover .gallery-img img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,36,64,0) 40%, rgba(11,36,64,.78) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  opacity: 0;
  transition: opacity .25s;
}
.gallery-card:hover .gallery-overlay,
.gallery-card:focus-within .gallery-overlay { opacity: 1; }

.gallery-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }

.gallery-title {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}

.gallery-location {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gallery-location i { color: var(--amber); }

.gallery-share {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 600;
  border-radius: 100px;
  padding: 6px 14px;
  transition: all .2s;
}
.gallery-share:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery-share i { color: var(--amber); transition: color .2s; }
.gallery-share:hover i { color: #fff; }

/* Project modal */
.project-modal-content {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-lg);
  padding: 8px;
}
.project-modal-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .gallery-body { padding: 16px; }
}

/* ---- ===================================================
 ABOUT PAGE
========================================================== ---- */
.about-page-header{
  padding:150px 0 56px;
  background:
  linear-gradient(105deg, rgba(13,33,55,.65) 0%, rgba(20,85,164,.65) 60%, rgba(46,125,225,.48) 100%),
  url('../images/13.webp');
  height: 60vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-page-header .label{ color:#f5b942; }
.about-page-header h1{
  font-family:'Syne',sans-serif;
  font-weight:800;
  color:#fff;
  font-size:clamp(2rem,4vw,3rem);
  margin:.4rem 0 .75rem;
}

.about-page-header p{
  color:rgba(255,255,255,.72);
  max-width:560px;
  font-family:'Outfit',sans-serif;
  margin-bottom:0;
}


/* ---- ===================================================
 PRODUCTS PAGE
========================================================== ---- */
.prod-page-header{
  padding:150px 0 56px;
  background:
  linear-gradient(105deg, rgba(13,33,55,.65) 0%, rgba(20,85,164,.65) 60%, rgba(46,125,225,.48) 100%),
  url('../images/13.webp');
  height: 60vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.prod-page-header .label{ color:#f5b942; }
.prod-page-header h1{
  font-family:'Syne',sans-serif;
  font-weight:800;
  color:#fff;
  font-size:clamp(2rem,4vw,3rem);
  margin:.4rem 0 .75rem;
}

.prod-page-header p{
  color:rgba(255,255,255,.72);
  max-width:560px;
  font-family:'Outfit',sans-serif;
  margin-bottom:0;
}


/* ---- ==============================================
  PROJECTS PAGE
===================================== ---- */
.proj-page-header{
  padding:150px 0 56px;
  background:
  linear-gradient(105deg, rgba(13,33,55,.65) 0%, rgba(20,85,164,.65) 60%, rgba(46,125,225,.48) 100%),
  url('../images/projects/1.webp');
  height: 60vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.proj-page-header .label{ color:#f5b942; }
.proj-page-header h1{
  font-family:'Syne',sans-serif;
  font-weight:800;
  color:#fff;
  font-size:clamp(2rem,4vw,3rem);
  margin:.4rem 0 .75rem;
}

.proj-page-header p{
  color:rgba(255,255,255,.72);
  max-width:560px;
  font-family:'Outfit',sans-serif;
  margin-bottom:0;
}

/* ---- ==============================================
  SERVICES PAGE
===================================== ---- */
.services-page-header{
  padding:150px 0 56px;
  background:
  linear-gradient(105deg, rgba(13,33,55,.65) 0%, rgba(20,85,164,.65) 60%, rgba(46,125,225,.48) 100%),
  url('../images/projects/1.webp');
  height: 60vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.services-page-header .label{ color:#f5b942; }
.services-page-header h1{
  font-family:'Syne',sans-serif;
  font-weight:800;
  color:#fff;
  font-size:clamp(2rem,4vw,3rem);
  margin:.4rem 0 .75rem;
}

.services-page-header p{
  color:rgba(255,255,255,.72);
  max-width:560px;
  font-family:'Outfit',sans-serif;
  margin-bottom:0;
}


/* ---- ==============================================
  CONTACT PAGE
===================================== ---- */
.contact-page-header{
  padding:150px 0 56px;
  background:
  linear-gradient(105deg, rgba(13,33,55,.65) 0%, rgba(20,85,164,.65) 60%, rgba(46,125,225,.48) 100%),
  url('../images/projects/1.webp');
  height: 60vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-page-header .label{ color:#f5b942; }
.contact-page-header h1{
  font-family:'Syne',sans-serif;
  font-weight:800;
  color:#fff;
  font-size:clamp(2rem,4vw,3rem);
  margin:.4rem 0 .75rem;
}

.contact-page-header p{
  color:rgba(255,255,255,.72);
  max-width:560px;
  font-family:'Outfit',sans-serif;
  margin-bottom:0;
}
