/* ══════════════════════════════
   VARIABLES
══════════════════════════════ */
:root {
  /* Exact palette sampled from the client's brand board (logo/business card kit) */
  --navy:        #094176;  /* medium brand blue — primary UI color */
  --navy-dark:   #03284d;  /* darkest brand navy — headers/footer/backgrounds */
  --navy-mid:    #145d9e;  /* derived mid-tone for hovers */
  --navy-pale:   #e9eff5;
  --gold:        #c99e38;  /* exact brand gold */
  --gold-dark:   #a67f26;
  --gold-light:  #ddb968;
  --brand-gray:  #e5e4e4;  /* neutral gray from brand palette swatch */
  --white:       #ffffff;
  --light:       #f5f7fa;
  --gray:        #64748b;
  --gray-dark:   #334155;
  --text:        #263548;
  --border:      #e2e8f0;
  --shadow:      0 4px 24px rgba(3,40,77,.08);
  --shadow-lg:   0 16px 48px rgba(3,40,77,.18);
  --r:           14px;
  --r-sm:        8px;
  --tr:          all .3s ease;
  --fh:          'Poppins', sans-serif;
  --fb:          'Inter', sans-serif;
}

/* ══════════════════════════════
   RESET
══════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); color: var(--text); direction: ltr; background: #fff; line-height: 1.7; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--tr); }
ul { list-style: none; }
button { font-family: inherit; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

.tm-ico { width: 26px; height: 26px; display: block; }
.tm-img-ph {
  background: var(--navy-pale); border-radius: var(--r);
  min-height: 260px; display: flex; align-items: center; justify-content: center;
  color: var(--navy-mid); font-family: var(--fh); text-align: center; padding: 20px;
}

/* ══════════════════════════════
   UTILITIES
══════════════════════════════ */
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-tag {
  display: inline-block; font-family: var(--fh); font-weight: 700; font-size: .82rem;
  letter-spacing: .09em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px;
}
.sec-title, .about-body h2, .projects-body h2 {
  font-family: var(--fh); font-weight: 800; color: var(--navy); line-height: 1.25;
}
.sec-title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.sec-head-light .sec-tag { color: var(--gold-light); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-sm);
  font-family: var(--fh); font-weight: 600; font-size: .93rem;
  cursor: pointer; transition: var(--tr); border: 2px solid transparent; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); font-weight: 700; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-quote { background: var(--navy); color: #fff; padding: 11px 22px; font-size: .87rem; }
.btn-quote:hover { background: var(--navy-dark); }

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
#tm-header {
  position: sticky; top: 0; z-index: 999;
  background: #fff; box-shadow: 0 2px 18px rgba(20,48,79,.08);
}
.hdr-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 28px; gap: 24px; }
.site-logo img { height: 86px; width: auto; }
.logo-fallback { font-family: var(--fh); font-size: 1.3rem; font-weight: 900; color: var(--navy); }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a {
  display: flex; align-items: center; gap: 5px;
  font-size: .89rem; font-weight: 600; letter-spacing: .01em;
  padding: 10px 14px; border-radius: var(--r-sm); color: var(--navy);
  text-transform: uppercase; font-family: var(--fh);
}
.main-nav a svg { width: 12px; height: 12px; }
.main-nav a:hover,
.main-nav .current-menu-item > a { color: var(--gold-dark); }
.main-nav .current-menu-item > a { border-bottom: 2px solid var(--gold); border-radius: 0; }

.main-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: var(--tr); z-index: 10;
}
.main-nav .has-dropdown:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { text-transform: none; color: var(--gray-dark); padding: 9px 12px; }
.main-nav .sub-menu a:hover { background: var(--navy-pale); color: var(--navy); }

.hdr-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--navy); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.tm-hero { position: relative; overflow: hidden; min-height: 640px; max-height: 800px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 38%; }
.hero-bg-fallback { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy), var(--navy-mid)); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3,20,38,.85) 0%, rgba(3,20,38,.62) 42%, rgba(3,20,38,.18) 75%, rgba(3,20,38,0) 100%);
}
.hero-mark {
  position: absolute; top: 50%; right: -60px; transform: translateY(-50%);
  width: 380px; opacity: .14; z-index: 1; pointer-events: none; filter: brightness(0) invert(1);
}
/* Hero content is pinned to the left edge with its own responsive gutter,
   instead of sitting inside the page's centered 1240px .container — this
   keeps it hugging the left side on ultra-wide screens instead of drifting
   toward the middle. */
.tm-hero .container {
  max-width: 100%; margin: 0;
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: 28px;
}
.hero-inner { position: relative; z-index: 2; max-width: 640px; padding-top: 40px; padding-bottom: 40px; }
.hero-tag {
  display: inline-block; font-family: var(--fh); font-weight: 700; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px;
}
.tm-hero h1 {
  font-family: var(--fh); font-weight: 800; color: #fff;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.22; margin-bottom: 20px;
}
.tm-hero p { color: rgba(255,255,255,.85); font-size: 1rem; max-width: 460px; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════
   TRUST STRIP
══════════════════════════════ */
.tm-trust { background: #fff; padding: 44px 0; border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; }
.trust-ico { flex-shrink: 0; color: var(--navy); }
.trust-ico svg { width: 30px; height: 30px; }
.trust-copy h4 { font-family: var(--fh); font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.trust-copy p { font-size: .85rem; color: var(--gray); }

/* ══════════════════════════════
   SERVICES
══════════════════════════════ */
.tm-services { padding: 84px 0; background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.service-card {
  text-align: center; padding: 40px 24px; border: 1px solid var(--border);
  border-radius: var(--r); transition: var(--tr); background: #fff;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-ico {
  width: 66px; height: 66px; border-radius: 50%; background: var(--navy-pale);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--navy);
}
.service-ico svg { width: 30px; height: 30px; }
.service-card h3 { font-family: var(--fh); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: .88rem; color: var(--gray); line-height: 1.7; margin-bottom: 18px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fh); font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); }
.service-link svg { width: 14px; height: 14px; transition: var(--tr); }
.service-card:hover .service-link { color: var(--gold-dark); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ══════════════════════════════
   ABOUT
══════════════════════════════ */
.tm-about { padding: 90px 0; background: var(--light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-body h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 10px 0 18px; }
.about-body > p { color: var(--gray); margin-bottom: 26px; max-width: 480px; }
.about-stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.about-stat-ico { color: var(--navy); margin-bottom: 8px; }
.about-stat-ico svg { width: 24px; height: 24px; }
.about-stat-num { font-family: var(--fh); font-weight: 800; font-size: 1.7rem; color: var(--navy); }
.about-stat-lbl { font-size: .82rem; color: var(--gray); }

.about-media { position: relative; }
.about-media > img { border-radius: var(--r); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 10/7; object-fit: cover; }

.why-card {
  position: absolute; bottom: -28px; right: -28px; max-width: 260px;
  background: var(--navy); color: #fff; border-radius: var(--r);
  padding: 24px 26px; box-shadow: var(--shadow-lg);
}
.why-tag { display: block; font-family: var(--fh); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.why-list li { display: flex; align-items: center; gap: 9px; font-size: .86rem; margin-bottom: 11px; }
.why-list li:last-child { margin-bottom: 0; }
.why-list svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }

/* ══════════════════════════════
   INDUSTRIES STRIP
══════════════════════════════ */
.tm-industries { position: relative; overflow: hidden; background: var(--navy-dark); padding: 56px 0; }
.industries-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.industries-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(3,20,38,.92), rgba(9,65,118,.88)); }
.tm-industries .container { position: relative; z-index: 2; }
.tm-industries .sec-head { margin-bottom: 30px; }
.industries-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; text-align: center; }
.industry-item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.industry-ico {
  width: 70px; height: 70px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; color: #fff; transition: var(--tr);
}
.industry-item:hover .industry-ico { border-color: var(--gold); background: rgba(217,154,43,.12); }
.industry-ico svg { width: 28px; height: 28px; }
.industry-item span { font-family: var(--fh); font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.9); }

/* ══════════════════════════════
   PROJECTS
══════════════════════════════ */
.tm-projects { padding: 90px 0; background: #fff; }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.projects-body h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 10px 0 26px; max-width: 460px; }
.proj-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-bottom: 30px; max-width: 460px; }
.proj-stat-ico { color: var(--navy); margin-bottom: 8px; }
.proj-stat-ico svg { width: 24px; height: 24px; }
.proj-stat-num { font-family: var(--fh); font-weight: 800; font-size: 1.5rem; color: var(--navy); }
.proj-stat-lbl { font-size: .8rem; color: var(--gray); }

.projects-media { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.projects-media .proj-thumb:first-child { grid-row: 1 / 3; }
.proj-thumb { border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow); }
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ══════════════════════════════
   CTA BANNER
══════════════════════════════ */
.tm-cta { background: var(--navy); padding: 48px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-copy h2 { font-family: var(--fh); font-weight: 800; color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.cta-copy p { color: rgba(255,255,255,.75); font-size: .93rem; max-width: 480px; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
#tm-footer { background: var(--navy-dark); color: #fff; padding-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.foot-logo-img { height: 48px; width: auto; margin-bottom: 16px; }
.foot-logo-txt { font-family: var(--fh); font-size: 1.2rem; font-weight: 900; color: #fff; display: block; margin-bottom: 16px; }
.foot-about-txt { font-size: .87rem; color: rgba(255,255,255,.65); line-height: 1.75; margin-bottom: 20px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; transition: var(--tr);
}
.socials a:hover { background: var(--gold); }
.socials svg { width: 16px; height: 16px; color: #fff; }

.foot-col h4 { font-family: var(--fh); font-size: .88rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.foot-links li { margin-bottom: 10px; }
.foot-links a { font-size: .88rem; color: rgba(255,255,255,.7); }
.foot-links a:hover { color: var(--gold-light); padding-left: 4px; }

.foot-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; font-size: .86rem; color: rgba(255,255,255,.75); }
.foot-contact svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold-light); margin-top: 2px; }
.newsletter-h { margin-top: 24px; }
.newsletter-txt { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.newsletter-form { display: flex; background: rgba(255,255,255,.08); border-radius: var(--r-sm); overflow: hidden; }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: 12px 14px; color: #fff; font-size: .85rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form button { background: var(--gold); border: none; padding: 0 16px; cursor: pointer; color: var(--navy-dark); display: flex; align-items: center; }
.newsletter-form button svg { width: 16px; height: 16px; }
.newsletter-form button:hover { background: var(--gold-dark); color: #fff; }

.foot-btm { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.foot-btm-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-btm span { font-size: .8rem; color: rgba(255,255,255,.5); }
.foot-btm-links { display: flex; gap: 20px; }
.foot-btm-links a { color: rgba(255,255,255,.5); }
.foot-btm-links a:hover { color: var(--gold-light); }

/* ══════════════════════════════
   BACK TO TOP
══════════════════════════════ */
#tm-btt {
  position: fixed; bottom: 28px; left: 28px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: var(--tr); opacity: 0; pointer-events: none; z-index: 998;
}
#tm-btt.show { opacity: 1; pointer-events: all; }
#tm-btt:hover { background: var(--gold); }
#tm-btt svg { width: 20px; height: 20px; color: #fff; }

/* ══════════════════════════════
   GENERIC PAGE / BLOG
══════════════════════════════ */
.mp-banner { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); padding: 64px 0; text-align: center; }
.mp-banner h1 { font-family: var(--fh); font-size: 2rem; font-weight: 800; color: #fff; }
.tm-generic-content { padding: 70px 0; }
.tm-page-content { max-width: 860px; margin: 0 auto; }
.tm-page-content p { margin-bottom: 1.2em; color: var(--text); }
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.post-card { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: var(--tr); }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-body { padding: 20px; }
.post-body h3 { font-family: var(--fh); font-size: 1.05rem; margin-bottom: 8px; color: var(--navy); }
.post-body p { font-size: .88rem; color: var(--gray); margin-bottom: 14px; }
.tm-pagination { text-align: center; margin-top: 40px; }

/* ══════════════════════════════
   SUB-HERO (inner page banner)
══════════════════════════════ */
.tm-subhero { position: relative; overflow: hidden; min-height: 420px; display: flex; align-items: center; }
.subhero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; }
.subhero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,20,38,.88) 0%, rgba(3,20,38,.72) 55%, rgba(3,20,38,.55) 100%); }
.subhero-inner { position: relative; z-index: 2; max-width: 100%; padding: 56px 0; }
.tm-subhero h1 { font-family: var(--fh); font-weight: 800; color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 10px 0 16px; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.9); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { margin: 0 8px; }

/* ══════════════════════════════
   MISSION & VISION
══════════════════════════════ */
.tm-mv { padding: 0 0 90px; background: #fff; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card { background: var(--light); border-radius: var(--r); padding: 40px; transition: var(--tr); }
.mv-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.mv-ico {
  width: 60px; height: 60px; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: #fff;
}
.mv-ico svg { width: 28px; height: 28px; }
.mv-card h3 { font-family: var(--fh); font-weight: 700; font-size: 1.2rem; color: var(--navy); margin-bottom: 12px; }
.mv-card p { color: var(--gray); font-size: .93rem; line-height: 1.75; }

/* ══════════════════════════════
   TEAM
══════════════════════════════ */
.tm-team { padding: 90px 0; background: var(--light); }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.team-card { text-align: center; }
.team-photo { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 16px; }
.team-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: var(--tr); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-card h4 { font-family: var(--fh); font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.team-card span { font-size: .82rem; color: var(--gold-dark); font-weight: 600; }

/* ══════════════════════════════
   RESPONSIVE — About Us page
══════════════════════════════ */
@media(max-width:900px){
  .mv-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:560px){
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .mv-card { padding: 28px 22px; }
}

/* ══════════════════════════════
   CONTACT US PAGE
══════════════════════════════ */
.tm-contact-info { padding: 70px 0 0; background: #fff; }
.contact-info-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.contact-card {
  text-align: center; padding: 32px 20px; border: 1px solid var(--border);
  border-radius: var(--r); transition: var(--tr);
}
.contact-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.contact-card-ico {
  width: 58px; height: 58px; border-radius: 50%; background: var(--navy-pale);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--navy);
}
.contact-card-ico svg { width: 26px; height: 26px; }
.contact-card h4 { font-family: var(--fh); font-weight: 700; font-size: .95rem; color: var(--navy); margin-bottom: 6px; }
.contact-card p { font-size: .87rem; color: var(--gray); }

.tm-contact-main { padding: 80px 0; background: #fff; }
.contact-main-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.contact-form-wrap h2 { font-family: var(--fh); font-weight: 800; color: var(--navy); font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 10px 0 12px; }
.contact-form-intro { color: var(--gray); margin-bottom: 26px; max-width: 480px; }

.form-notice { padding: 14px 18px; border-radius: var(--r-sm); font-size: .9rem; margin-bottom: 20px; }
.form-notice-success { background: #e7f6ec; color: #1e6b3a; border: 1px solid #b7e3c4; }
.form-notice-error { background: #fdecec; color: #a32424; border: 1px solid #f3bcbc; }

.tm-hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.tm-contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--fh); font-weight: 600; font-size: .85rem; color: var(--navy); margin-bottom: 7px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-family: var(--fb); font-size: .93rem; color: var(--text); transition: var(--tr); background: #fff;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(9,65,118,.1); }
.form-field textarea { resize: vertical; min-height: 110px; }
.tm-contact-form .btn { margin-top: 6px; border: none; cursor: pointer; }

.contact-map-wrap { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-map { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-map-ph {
  background: var(--navy-pale); min-height: 420px; border-radius: var(--r);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--navy-mid); text-align: center; padding: 30px;
}
.contact-map-ph svg { width: 40px; height: 40px; }
.contact-map-ph p { font-size: .85rem; max-width: 240px; }

@media(max-width:900px){
  .contact-info-grid { grid-template-columns: repeat(2,1fr); }
  .contact-main-grid { grid-template-columns: 1fr; }
}
@media(max-width:560px){
  .contact-info-grid { grid-template-columns: 1fr; }
  .tm-contact-form .form-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   BLOG LISTING + SIDEBAR
══════════════════════════════ */
.tm-subhero-sm { min-height: 360px; }
.tm-blog { padding: 80px 0; background: var(--light); }
.blog-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.blog-main .post-grid { grid-template-columns: repeat(2,1fr); }
.blog-empty { text-align: center; padding: 60px 20px; color: var(--gray); }
.blog-empty svg { width: 40px; height: 40px; color: var(--navy-pale); margin-bottom: 14px; }

.post-card { background: #fff; }
.post-thumb { position: relative; display: block; }
.post-cat-badge {
  position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--navy-dark);
  font-family: var(--fh); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 20px;
}
.post-meta { display: flex; gap: 14px; margin-bottom: 10px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--gray); }
.post-meta svg { width: 14px; height: 14px; }

.tm-pagination { margin-top: 44px; text-align: center; }
.tm-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; margin: 0 4px; padding: 0 10px;
  border-radius: var(--r-sm); background: #fff; border: 1px solid var(--border);
  color: var(--navy); font-family: var(--fh); font-weight: 600; font-size: .88rem;
}
.tm-pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.tm-pagination .page-numbers:hover:not(.current) { border-color: var(--navy); }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-box { background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.sidebar-box h4 { font-family: var(--fh); font-weight: 700; font-size: .95rem; color: var(--navy); margin-bottom: 16px; }
.sidebar-search { display: flex; border: 1.5px solid var(--border); border-radius: var(--r-sm); overflow: hidden; }
.sidebar-search input { flex: 1; border: none; padding: 11px 14px; font-size: .88rem; }
.sidebar-search input:focus { outline: none; }
.sidebar-search button { background: var(--navy); border: none; padding: 0 14px; color: #fff; cursor: pointer; display: flex; align-items: center; }
.sidebar-search button svg { width: 15px; height: 15px; }

.sidebar-cats li { margin-bottom: 4px; }
.sidebar-cats a { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: var(--r-sm); font-size: .88rem; color: var(--gray-dark); }
.sidebar-cats a:hover { background: var(--navy-pale); color: var(--navy); }
.cat-count { color: var(--gray); font-size: .78rem; }

.sidebar-recent li { display: flex; gap: 12px; margin-bottom: 16px; }
.sidebar-recent li:last-child { margin-bottom: 0; }
.sidebar-recent-thumb { flex-shrink: 0; width: 64px; height: 64px; border-radius: var(--r-sm); overflow: hidden; display: block; }
.sidebar-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-recent-ph { width: 100%; height: 100%; background: var(--navy-pale); display: flex; align-items: center; justify-content: center; color: var(--navy-mid); }
.sidebar-recent-ph svg { width: 20px; height: 20px; }
.sidebar-recent-title { display: block; font-family: var(--fh); font-weight: 600; font-size: .85rem; color: var(--navy); line-height: 1.4; margin-bottom: 4px; }
.sidebar-recent-date { font-size: .76rem; color: var(--gray); }

.sidebar-cta { background: var(--navy); }
.sidebar-cta h4 { color: #fff; }
.sidebar-cta p { font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 16px; line-height: 1.6; }
.sidebar-cta .btn { width: 100%; justify-content: center; }

/* ══════════════════════════════
   SINGLE POST
══════════════════════════════ */
.tm-post-hero { min-height: 440px; }
.post-content-wrap { background: #fff; border-radius: var(--r); padding: 40px; box-shadow: var(--shadow); }
.post-meta-single { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.post-content { color: var(--text); font-size: 1rem; line-height: 1.85; }
.post-content p { margin-bottom: 1.3em; }
.post-content h2 { font-family: var(--fh); font-weight: 700; color: var(--navy); font-size: 1.4rem; margin: 1.6em 0 .6em; }
.post-content h3 { font-family: var(--fh); font-weight: 700; color: var(--navy); font-size: 1.2rem; margin: 1.4em 0 .6em; }
.post-content img { border-radius: var(--r); margin: 1.4em 0; }
.post-content ul, .post-content ol { margin: 0 0 1.3em 1.4em; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content blockquote {
  border-left: 3px solid var(--gold); background: var(--navy-pale); padding: 18px 22px;
  margin: 1.6em 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-style: italic; color: var(--navy-mid);
}
.post-content a { color: var(--navy); font-weight: 600; text-decoration: underline; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.post-tags a { background: var(--navy-pale); color: var(--navy); font-size: .8rem; font-weight: 600; padding: 6px 14px; border-radius: 20px; }
.post-tags a:hover { background: var(--navy); color: #fff; }

.post-author-box { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.post-author-box img { border-radius: 50%; }
.post-author-label { font-size: .78rem; color: var(--gray); }
.post-author-box h4 { font-family: var(--fh); font-weight: 700; color: var(--navy); font-size: 1rem; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.post-nav-link { border: 1px solid var(--border); border-radius: var(--r-sm); padding: 16px 18px; transition: var(--tr); }
.post-nav-link:hover { border-color: var(--navy); background: var(--navy-pale); }
.post-nav-dir { display: block; font-size: .76rem; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.post-nav-title { display: block; font-family: var(--fh); font-weight: 600; font-size: .88rem; color: var(--navy); }
.post-nav-next { text-align: right; }

.related-posts { margin-top: 60px; padding-top: 50px; border-top: 1px solid var(--border); }
.related-posts h3 { font-family: var(--fh); font-weight: 800; color: var(--navy); font-size: 1.4rem; margin-bottom: 24px; text-align: center; }
.related-posts .post-grid { grid-template-columns: repeat(3,1fr); }

@media(max-width:1024px){
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { order: 2; flex-direction: row; flex-wrap: wrap; }
  .sidebar-box { flex: 1 1 260px; }
}
@media(max-width:768px){
  .blog-main .post-grid { grid-template-columns: 1fr; }
  .related-posts .post-grid { grid-template-columns: 1fr; }
  .post-content-wrap { padding: 26px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }
}

/* ══════════════════════════════
   SERVICES PAGE — DETAIL SECTIONS
══════════════════════════════ */
.tm-service-detail:nth-of-type(even) { background: #fff; }
.tm-service-detail-alt .about-media { order: 2; }
.tm-service-detail-alt .about-body { order: 1; }

.service-checklist { margin: 22px 0 30px; }
.service-checklist li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; font-size: .93rem; color: var(--gray-dark); }
.service-checklist li:last-child { margin-bottom: 0; }
.service-checklist svg { width: 19px; height: 19px; color: var(--gold-dark); flex-shrink: 0; margin-top: 1px; }

/* ══════════════════════════════
   PROCESS STEPS
══════════════════════════════ */
.tm-process { padding: 90px 0; background: var(--light); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; position: relative; }
.process-step { text-align: center; padding: 0 10px; position: relative; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  font-family: var(--fh); font-weight: 800; font-size: 1.15rem;
}
.process-step h4 { font-family: var(--fh); font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.process-step p { font-size: .87rem; color: var(--gray); line-height: 1.7; }

@media(max-width:900px){
  .tm-service-detail-alt .about-media, .tm-service-detail-alt .about-body { order: initial; }
  .process-grid { grid-template-columns: repeat(2,1fr); gap: 40px 24px; }
}
@media(max-width:560px){
  .process-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   BRANCHES
══════════════════════════════ */
.tm-branches { padding: 0 0 90px; background: #fff; }
.branches-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.branches-grid-single { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
.branch-card { background: var(--light); border-radius: var(--r); padding: 30px 32px; transition: var(--tr); }
.branch-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.branch-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.branch-card-head svg { width: 22px; height: 22px; color: var(--gold-dark); flex-shrink: 0; }
.branch-card-head h3 { font-family: var(--fh); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.branch-details li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .88rem; color: var(--gray-dark); }
.branch-details li:last-child { margin-bottom: 0; }
.branch-details svg { width: 16px; height: 16px; color: var(--navy); flex-shrink: 0; margin-top: 2px; }

@media(max-width:768px){
  .branches-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media(max-width:1100px){
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .industries-grid { grid-template-columns: repeat(3,1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .why-card { position: static; margin-top: -40px; max-width: 100%; }
}
@media(max-width:900px){
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; background: #fff; border-top: 1px solid var(--border); box-shadow: var(--shadow); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px; gap: 0; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding-left: 14px; }
  .main-nav .has-dropdown.open .sub-menu { display: block; }
  .nav-toggle { display: flex; }
  .about-grid, .projects-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { order: 1; }
  .about-body { order: 2; }
  .post-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:768px){
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; align-items: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .proj-stats { grid-template-columns: 1fr 1fr; }
}
@media(max-width:560px){
  .hero-mark { display: none; }
  .hero-overlay { background: linear-gradient(180deg, rgba(3,20,38,.55) 0%, rgba(3,20,38,.88) 100%); }
  .foot-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .projects-media { grid-template-columns: 1fr; grid-template-rows: auto; }
  .projects-media .proj-thumb:first-child { grid-row: auto; }
  .proj-thumb img { aspect-ratio: 16/10; }
}
