/* Innovative GlobeTek — site styles. Tokens first; brand colours can be overridden from Admin → Settings. */
:root {
  --navy: #151B40;
  --orange: #F7931A;
  --orange-soft: #FDE6D3;
  --warm: #F5F2EC;
  --card: #F9F9F9;
  --card-warm: #F6F4EE;
  --ink: #151B40;
  --text: #2B2F45;
  --muted: #6B6F80;
  --line: #E6E4DE;
  --white: #fff;
  --r-sm: 4px; --r: 8px; --r-lg: 12px;
  --shadow: 0 2px 8px rgba(21, 27, 64, .08);
  --shadow-lg: 0 18px 40px rgba(21, 27, 64, .14);
  --wrap: 1900px;
  --gut: clamp(16px, 2.6vw, 44px);
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); font-size: 15px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.band-warm { background: var(--warm); }

/* Image slot shown until the administrator assigns a photograph */
.img-slot { display: grid; place-items: center; background: repeating-linear-gradient(45deg, #eceae4 0 12px, #f3f1ec 12px 24px); color: #8a8d99; font-size: 12px; text-align: center; padding: 8px; width: 100%; height: 100%; min-height: 60px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 44px; padding: 0 26px; border-radius: var(--r-sm); font-weight: 500; font-size: 15px; border: 1.5px solid transparent; transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn-sm { min-height: 40px; padding: 0 22px; font-size: 14px; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #e7820b; box-shadow: 0 6px 16px rgba(247, 147, 26, .3); }
.btn-ghost { border-color: var(--orange); color: #fff; background: rgba(0, 0, 0, .15); }
.btn-ghost:hover { background: var(--orange); }
.btn-block { width: 100%; }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

/* ---------- Loader (only when JS runs; never blocks without JS) ---------- */
.loader { display: none; }
.js .loader { display: grid; place-items: center; position: fixed; inset: 0; background: #fff; z-index: 999; transition: opacity .45s var(--ease), visibility .45s; animation: loader-failsafe .1s 4s forwards; }
.loader-inner { display: grid; justify-items: center; gap: 18px; animation: loader-in .5s var(--ease) both; }
.loader-logo { max-width: 200px; max-height: 80px; width: auto; }
.loader-word { font-weight: 800; font-size: 22px; color: var(--navy); letter-spacing: .02em; }
.loader-line { width: 160px; height: 3px; background: #f0eee9; border-radius: 3px; overflow: hidden; }
.loader-line span { display: block; height: 100%; width: 40%; background: var(--orange); border-radius: 3px; animation: loader-run 1s ease-in-out infinite; }
.is-loaded .loader { opacity: 0; visibility: hidden; }
@keyframes loader-run { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes loader-in { from { opacity: 0; transform: scale(.96); } }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 14px; }
.topbar-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 46px; padding: 6px var(--gut); max-width: 1900px; margin: 0 auto; }
.topbar-social { display: flex; gap: 10px; }
.soc { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; transition: transform .2s var(--ease); }
.soc .ico { width: 15px; height: 15px; }
.soc:hover { transform: translateY(-2px); }
.tagline { background: var(--orange); color: #fff; font-weight: 700; padding: 4px 12px; border-radius: 999px; font-size: 15px; letter-spacing: .01em; white-space: nowrap; }
.topbar-gst { justify-self: end; letter-spacing: .02em; }

/* ---------- Header / two-row desktop navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid #eee; }
.header-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 1.6vw, 32px); max-width: 1900px; margin: 0 auto; padding: 8px var(--gut); min-height: 96px; }
.logo { display: flex; align-items: center; }
.logo img { max-height: 70px; width: auto; max-width: 210px; }
.logo-fallback { display: grid; line-height: 1.1; }
.logo-fallback strong { color: var(--navy); font-size: 20px; font-weight: 800; }
.logo-fallback small { color: var(--muted); font-size: 10px; }
.dnav { display: grid; gap: 4px; align-self: stretch; align-content: center; }
.dnav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: clamp(8px, 1.3vw, 28px); row-gap: 2px; }
.brk { flex-basis: 100%; height: 0; }
/* Rows as assigned in Admin → Navigation; when row 1 no longer fits (narrower screens or a wider logo),
   site.js adds .nav-balanced and the items are split evenly over two rows instead. */
.brk-bal:not(.brk-db) { display: none; }
.nav-balanced .brk-bal { display: block; }
.nav-balanced .brk-db:not(.brk-bal) { display: none; }
@media (max-width: 1799px) { .no-js .brk-bal { display: block; } .no-js .brk-db:not(.brk-bal) { display: none; } }
.dnav-item { position: static; }
.dnav-link { display: inline-block; padding: 9px 4px 7px; font-size: clamp(13px, .8vw, 15px); color: #1f2333; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.dnav-link:hover, .dnav-item.is-open > .dnav-link, .dnav-link.is-current { color: var(--orange); border-bottom-color: var(--orange); }
.header-cta { align-self: center; }

/* Mega menu panel */
.mega { position: absolute; left: var(--gut); right: var(--gut); top: calc(100% - 1px); background: #fff; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-8px); transition: opacity .22s var(--ease), transform .22s var(--ease); pointer-events: none; }
.mega[hidden] { display: block; visibility: hidden; }
.dnav-item.is-open .mega { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.mega-in { display: grid; gap: 20px 28px; padding: 20px; }
.mega-l-feature { grid-template-columns: minmax(280px, 32%) 1fr; align-items: start; }
.mega-l-tabs { grid-template-columns: minmax(320px, 40%) 1fr; align-items: start; }
.mega-feature { display: block; border: 10px solid var(--orange); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: #eee; }
.mega-feature img, .mega-feature .img-slot { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega-feature:hover img { transform: scale(1.03); }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-content: start; padding-top: 8px; }
.mcard { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 20px; min-height: 60px; color: var(--ink); font-weight: 700; font-size: clamp(14px, .9vw, 17px); transition: box-shadow .2s, transform .2s var(--ease), color .2s; }
.mcard:hover { color: var(--orange); box-shadow: 0 8px 18px rgba(21, 27, 64, .12); transform: translateY(-2px); }
.mcard-thumb { width: 90px; height: 90px; flex: none; border-radius: 4px; overflow: hidden; background: #fff; }
.mcard-thumb img, .mcard-thumb .img-slot { width: 100%; height: 100%; object-fit: cover; }
.mcard-thumb { padding: 4px; }
.mcard-thumb .img-slot { min-height: 0; }
.mcard-thumb + span { font-size: clamp(16px, 1.15vw, 21px); }
.mcard--text-center { justify-content: center; text-align: center; background: var(--card-warm); }
.mega-all { grid-column: 1 / -1; justify-self: start; display: inline-flex; gap: 6px; align-items: center; color: var(--orange); font-weight: 600; font-size: 14px; margin-top: 2px; }
/* Metal Doors tab cards */
.mega-tabs { display: grid; gap: 10px; }
.mega-tab { display: flex; gap: 20px; align-items: center; width: 100%; text-align: left; border: 0; border-radius: var(--r); background: var(--orange-soft); color: var(--ink); padding: 10px 20px; min-height: 130px; transition: background .25s var(--ease), color .25s; }
.mega-tab-img { width: 100px; height: 100px; flex: none; border-radius: 6px; overflow: hidden; background: #fff; }
.mega-tab-img img, .mega-tab-img .img-slot { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.mega-tab-txt { display: grid; gap: 4px; }
.mega-tab-txt strong { font-size: 19px; font-weight: 700; }
.mega-tab-txt span { font-size: 15px; color: var(--muted); line-height: 1.25; }
.mega-tab.is-active { background: var(--orange); color: #fff; }
.mega-tab.is-active .mega-tab-txt span { color: #fff; }
.mega-panels { padding: 22px 0 0; }
.mega-panels .mega-grid { padding: 0 0 0 30px; }
.mega-panels .mega-grid[hidden] { display: none; }
.dnav-item.is-open .mcard { animation: mcard-in .32s var(--ease) both; }
.dnav-item.is-open .mcard:nth-child(2) { animation-delay: .03s; } .dnav-item.is-open .mcard:nth-child(3) { animation-delay: .06s; }
.dnav-item.is-open .mcard:nth-child(4) { animation-delay: .09s; } .dnav-item.is-open .mcard:nth-child(5) { animation-delay: .12s; }
.dnav-item.is-open .mcard:nth-child(6) { animation-delay: .15s; } .dnav-item.is-open .mcard:nth-child(n+7) { animation-delay: .18s; }
@keyframes mcard-in { from { opacity: 0; transform: translateY(6px); } }

.mnav-open { display: none; background: none; border: 0; color: var(--navy); width: 44px; height: 44px; place-items: center; }
.mnav-open .ico { width: 28px; height: 28px; }

/* ---------- Mobile drawer ---------- */
.mnav[hidden] { display: none; }
.mnav { position: fixed; inset: 0; z-index: 200; }
.mnav-backdrop { position: absolute; inset: 0; background: rgba(21, 27, 64, .5); opacity: 0; transition: opacity .25s; }
.mnav-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
.mnav.is-open .mnav-backdrop { opacity: 1; }
.mnav.is-open .mnav-drawer { transform: none; }
.mnav-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #eee; }
.mnav-head .logo img { max-height: 48px; }
.mnav-x { width: 44px; height: 44px; border: 0; background: var(--warm); border-radius: 50%; display: grid; place-items: center; color: var(--navy); }
.mnav-panels { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.mpanel { padding: 8px 0; animation: mpanel-in .25s var(--ease); }
@keyframes mpanel-in { from { opacity: 0; transform: translateX(16px); } }
.mpanel ul { list-style: none; margin: 0; padding: 0; }
.mlink { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 8px 18px; background: none; border: 0; border-bottom: 1px solid #f1efea; text-align: left; color: var(--ink); font-size: 16px; font-weight: 600; }
.mlink > span:not(.mlink-img) { flex: 1; }
.mlink .ico { color: var(--orange); }
.mlink-img { width: 48px; height: 48px; border-radius: 6px; overflow: hidden; flex: none; background: var(--warm); }
.mlink-img img { width: 100%; height: 100%; object-fit: cover; }
.mpanel-back { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; background: none; border: 0; color: var(--orange); font-weight: 600; }
.mpanel-title { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 18px 12px; font-size: 20px; font-weight: 800; color: var(--navy); border-bottom: 2px solid var(--orange); }
.mpanel-title small { font-size: 13px; font-weight: 600; color: var(--orange); }
.mnav-foot { padding: 14px 16px; border-top: 1px solid #eee; }
.mnav-gst { margin: 8px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
body.mnav-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: var(--hero-h, 88vh); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero-media, .hero-media picture { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--overlay, .55)); }
.hero-zoom .hero-img { animation: hero-zoom 14s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.06); } }
.hero-content { position: relative; z-index: 1; width: 100%; padding-top: 40px; padding-bottom: 40px; }
.hero h1 { color: #fff; font-size: clamp(28px, 3.1vw, 54px); font-weight: 700; max-width: 22em; margin-bottom: .35em; letter-spacing: -.005em; }
.hero p { max-width: 70em; font-size: clamp(14px, .95vw, 17px); opacity: .95; }
.hero-center .hero-content { text-align: center; } .hero-center h1, .hero-center p { margin-left: auto; margin-right: auto; } .hero-center .hero-ctas { justify-content: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.js .anim-hero { opacity: 0; transform: translateY(14px); }
.is-loaded .anim-hero { animation: rise .7s var(--ease) forwards; }
.is-loaded .anim-hero:nth-child(2) { animation-delay: .12s; } .is-loaded .anim-hero:nth-child(3) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Section scaffolding ---------- */
section.about, section.services, section.why, section.industries, section.testi, section.faq { padding: clamp(48px, 5.5vw, 96px) 0; }
.h2 { font-size: clamp(24px, 2.05vw, 38px); font-weight: 700; color: var(--navy); }
.h3 { font-size: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: 5px 10px; border-radius: var(--r-sm); margin-bottom: 14px; }
.eyebrow .ico { color: var(--orange); }
.sec-head { margin-bottom: clamp(24px, 2.5vw, 40px); }
.sec-head-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; }
.sec-head-side { justify-self: end; text-align: right; display: grid; justify-items: end; gap: 10px; max-width: 44em; }
.sec-head-side p { margin: 0; }
.sec-head-c { text-align: center; max-width: 1240px; margin-left: auto; margin-right: auto; }
.circle-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 4px rgba(247, 147, 26, .2); }
.circle-ico .ico { width: 22px; height: 22px; }

/* Advantages strip */
.adv { border-bottom: 1px solid var(--line); background: #fff; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1900px; margin: 0 auto; }
.adv-item { display: flex; gap: 14px; padding: 30px clamp(18px, 2.4vw, 50px); border-right: 1px solid var(--line); }
.adv-item:last-child { border-right: 0; }
.adv-ico { color: var(--orange); padding-top: 4px; } .adv-ico .ico { width: 28px; height: 28px; }
.adv-item strong { display: block; color: var(--navy); font-size: 17px; font-weight: 700; }
.adv-item span span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3vw, 56px); align-items: center; }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-tall, .about-small { background: #fff; overflow: hidden; }
.about-tall { aspect-ratio: 3 / 4.2; } .about-small { aspect-ratio: 4 / 3.3; }
.about-tall img, .about-small img, .about-tall .img-slot, .about-small .img-slot { width: 100%; height: 100%; object-fit: cover; }
.about-stack { display: grid; gap: 18px; align-content: start; }
.about-card { background: #fff; padding: 22px; display: grid; gap: 4px; justify-items: start; }
.about-card .circle-ico { margin-bottom: 12px; }
.about-card strong { color: var(--navy); font-size: 18px; }
.about-card span { color: var(--muted); font-size: 14px; }
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; }
.checks .ico { color: #fff; background: var(--orange); border-radius: 50%; padding: 2px; width: 18px; height: 18px; margin-top: 2px; }
.checks-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.about-copy .muted { font-size: 14.5px; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0 clamp(12px, 2vw, 40px); max-width: 1900px; margin: 0 auto; }
.svc-card { background: var(--warm); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-img { position: relative; aspect-ratio: 16 / 11; }
.svc-img img, .svc-img .img-slot { width: 100%; height: 100%; object-fit: cover; }
.svc-img .circle-ico { position: absolute; left: 20px; bottom: -24px; }
.svc-body { padding: 36px 20px 22px; }
.svc-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.svc-body p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.link-more { display: inline-flex; gap: 6px; align-items: center; color: var(--orange); font-weight: 600; font-size: 14px; }

/* Why choose us */
.why-grid { display: grid; grid-template-columns: 1fr minmax(260px, 30%) 1fr; gap: clamp(24px, 3vw, 56px); align-items: center; }
.why-col { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.why-item { display: flex; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.why-item:last-child { border-bottom: 0; }
.why-ico { color: var(--orange); } .why-ico .ico { width: 30px; height: 30px; }
.why-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.5; }
.why-img { aspect-ratio: 3 / 4; }
.why-img img, .why-img .img-slot { width: 100%; height: 100%; object-fit: contain; }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ind-card { background: #fff; border: 1px solid var(--line); padding: 0 0 18px; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s var(--ease); }
a.ind-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ind-img { aspect-ratio: 16 / 10.5; overflow: hidden; margin-bottom: 18px; }
.ind-img img, .ind-img .img-slot { width: 100%; height: 100%; object-fit: cover; }
.ind-card h3 { font-size: 18px; font-weight: 700; padding: 0 18px; margin-bottom: 8px; }
.ind-card p { color: var(--muted); font-size: 14px; padding: 0 18px; margin: 0; line-height: 1.5; }
.ind-promo { position: relative; overflow: hidden; min-height: 380px; display: flex; align-items: center; background: var(--navy); }
.ind-promo-bg, .ind-promo > .img-slot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind-promo::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.ind-promo-in { position: relative; z-index: 1; padding: 22px; color: #fff; }
.ind-promo h3 { color: #fff; font-size: clamp(22px, 1.6vw, 28px); font-weight: 700; }
.ind-promo p { font-size: 14px; }

/* Stats */
.stats { background: linear-gradient(#fff 50%, var(--warm) 50%); padding: 20px 0 50px; }
.stats-card { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: #fff; border: 1px solid var(--line); padding: 34px clamp(18px, 2.5vw, 50px); max-width: 1500px; margin: 0 auto; box-shadow: var(--shadow); }
.stat { display: flex; align-items: center; gap: 16px; }
.stat-val { display: block; color: var(--orange); font-size: clamp(26px, 2vw, 36px); font-weight: 700; line-height: 1.1; }
.stat span { color: var(--navy); font-weight: 500; font-size: 14px; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { margin: 0; background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 3px; color: var(--orange); } .stars .ico { width: 16px; height: 16px; }
.testi-card blockquote { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; flex: 1; }
.testi-card figcaption { display: flex; align-items: center; gap: 14px; }
.testi-photo { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; flex: none; background: var(--warm); display: grid; place-items: center; }
.testi-photo img { width: 100%; height: 100%; object-fit: cover; }
.testi-initial { font-weight: 800; font-size: 26px; color: var(--orange); }
.testi-card strong { display: block; color: var(--navy); font-size: 18px; }
.testi-card small { color: var(--muted); font-size: 13px; }
.testi-q { margin-left: auto; color: #f4c99a; } .testi-q .ico { width: 44px; height: 44px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 2.5vw, 44px); align-items: center; }
.faq-img { border-top-right-radius: 45% 30%; overflow: hidden; aspect-ratio: 1 / .82; }
.faq-img img, .faq-img .img-slot { width: 100%; height: 100%; object-fit: cover; }
.accordion { display: grid; gap: 0; }
.acc-item { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.acc-item h3 { margin: 0; }
.acc-btn { width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; background: var(--navy); color: #fff; border: 0; padding: 22px 22px; font-size: 15px; font-weight: 600; min-height: 64px; }
.acc-btn:hover { background: #1d2553; }
.acc-ico { width: 18px; height: 18px; color: #c9cbd8; transition: transform .3s var(--ease); }
.acc-item.is-open .acc-ico { transform: rotate(180deg); }
.acc-panel { background: #fff; border: 1px solid var(--line); border-top: 0; }
.acc-pad { padding: 22px; color: var(--muted); font-size: 14.5px; }
.js .acc-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; border-width: 0; transition: grid-template-rows .3s var(--ease), visibility .3s; }
.js .acc-body { overflow: hidden; min-height: 0; }
.js .acc-item.is-open .acc-panel { grid-template-rows: 1fr; visibility: visible; border-width: 0 1px 1px; }

/* Footer */
.site-footer { background: var(--navy); color: #d6d8e3; padding-top: 52px; font-size: 14px; }
.footer-top { padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .15); margin-bottom: 30px; }
.footer-top .logo img { max-height: 76px; filter: none; }
.footer-top .logo-fallback strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.25fr; gap: 28px; }
.flinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; align-content: start; }
.flinks a::before { content: "| "; color: rgba(255, 255, 255, .5); }
.flinks a:hover, .fcontact a:hover, .flegal a:hover { color: var(--orange); }
.fcontact h2 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.fcontact p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.fcontact .ico { color: var(--orange); margin-top: 3px; }
.footer-social { display: flex; gap: 10px; padding: 24px 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 14px 0; font-size: 12.5px; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-bottom p { margin: 0; }
.wa { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 80; display: flex; flex-direction: column; gap: 12px; }
.wa-right { right: 18px; align-items: flex-end; } .wa-left { left: 18px; align-items: flex-start; }
.wa-float { display: flex; align-items: center; gap: 8px; }
.wa-left .wa-float { flex-direction: row-reverse; }
.wa-chip { background: #fff; color: var(--navy); font-size: 13px; padding: 6px 12px; border-radius: 6px; box-shadow: var(--shadow); }
.wa-btn { width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); position: relative; }
.wa-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: wa-pulse 2.6s infinite; }
@keyframes wa-pulse { 70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.wa-float:hover .wa-btn { transform: scale(1.06); }
.wa-btn .ico { width: 30px; height: 30px; }
.wa-card { width: min(340px, calc(100vw - 36px)); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); animation: wa-in .22s var(--ease); }
@keyframes wa-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.wa-card-head { display: flex; align-items: center; gap: 12px; background: #075E54; color: #fff; padding: 14px 14px 14px 16px; }
.wa-card-head strong { display: block; font-size: 16px; } .wa-card-head small { display: block; opacity: .85; font-size: 12.5px; }
.wa-card-head > span:nth-child(2) { flex: 1; }
.wa-avatar { width: 46px; height: 46px; border-radius: 50%; background: #fff; overflow: hidden; display: grid; place-items: center; color: #25D366; flex: none; }
.wa-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 4px; } .wa-avatar .ico { width: 26px; height: 26px; }
.wa-x { background: rgba(255, 255, 255, .15); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.wa-card-body { background: #ECE5DD; padding: 18px 16px; }
.wa-bubble { background: #fff; border-radius: 0 10px 10px 10px; padding: 10px 14px; margin: 0; font-size: 14.5px; color: #1f2333; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); max-width: 90%; }
.wa-start { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #fff; font-weight: 700; padding: 14px; font-size: 15px; }
.wa-start:hover { background: #1ebe5b; } .wa-start .ico { width: 20px; height: 20px; }
@media (max-width: 767px) { .wa-no-mobile { display: none; } .wa-chip { display: none; } }
@media (min-width: 768px) { .wa-no-desktop { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-btn::after { animation: none; } }

/* ---------- Category / product pages ---------- */
.phero { position: relative; background: linear-gradient(120deg, #151B40, #26306a); color: #fff; min-height: clamp(220px, 18.5vw, 360px); display: flex; align-items: center; text-align: center; overflow: hidden; padding: 40px 0; }
.phero-media { position: absolute; inset: 0; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.phero-media::after { content: ""; position: absolute; inset: 0; background: rgba(8, 10, 24, .58); }
.phero-in { position: relative; z-index: 1; width: 100%; display: grid; justify-items: center; gap: 12px; }
.phero h1 { color: #fff; font-size: clamp(30px, 2.6vw, 50px); font-weight: 700; margin: 0; }
.phero .crumbs ol { justify-content: center; margin: 0; font-size: 15px; opacity: 1; }
.phero .crumbs li + li::before { content: ">"; margin: 0 8px 0 2px; opacity: .9; }
.phero-sub { max-width: 46em; margin: 4px 0 0; opacity: .9; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; font-size: 13px; opacity: .85; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a:hover { color: var(--orange); }
.page-body { padding-top: 48px; padding-bottom: 72px; display: grid; gap: 48px; }
.pblock .h3 { margin-bottom: 18px; }
.child-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.child-card { background: var(--warm); border-radius: var(--r); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.child-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.child-img { aspect-ratio: 4 / 3; } .child-img img, .child-img .img-slot { width: 100%; height: 100%; object-fit: cover; }
.child-card h3 { font-size: 17px; padding: 14px 16px 0; }
.child-card p { font-size: 14px; color: var(--muted); padding: 0 16px 12px; margin: 0; }
.table-wrap { overflow-x: auto; }
.specs { width: 100%; border-collapse: collapse; max-width: 900px; }
.specs th, .specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--navy); background: var(--warm); font-weight: 600; }
.specs small { display: block; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gal-item { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); } .gal-item img { width: 100%; height: 100%; object-fit: cover; }
.eform { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; }
.eform label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--navy); }
.eform input, .eform textarea { font: inherit; padding: 12px 14px; border: 1px solid #d5d3cc; border-radius: var(--r-sm); min-height: 46px; }
.eform input:focus, .eform textarea:focus { border-color: var(--orange); outline: 2px solid rgba(247, 147, 26, .25); }
.eform .span2, .eform .btn, .eform .offline-msg { grid-column: 1 / -1; }
.eform .btn, .eform .offline-msg { justify-self: start; }
.notice { padding: 14px 18px; border-radius: var(--r); max-width: 860px; }
.notice-ok { background: #e8f6ec; color: #1e6b37; } .notice-err { background: #fdecea; color: #a12a1b; }
.offline-msg { color: #a12a1b; margin: 0; }
.empty-page { padding: 100px var(--gut); text-align: center; }



/* ---------- Standard menu / sub-menu page template ---------- */
.pintro { padding: clamp(40px, 3.2vw, 64px) 0; }
.pintro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.2vw, 84px); align-items: center; }
.pintro-noimg { grid-template-columns: minmax(0, 960px); justify-content: center; }
.pintro-img { border-radius: 16px; overflow: hidden; aspect-ratio: 5 / 3; background: var(--warm); }
.pintro-img img, .pintro-img .img-slot { width: 100%; height: 100%; object-fit: cover; }
.pintro-copy .h2 { margin-bottom: 18px; }
.pintro-text { color: var(--muted); font-size: 15px; line-height: 1.65; text-align: justify; hyphens: auto; }
.pintro-text p { margin-bottom: .9em; }
.highlights { list-style: none; margin: 22px 0 0; padding: 14px 16px; background: var(--orange); color: #fff; border-radius: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; box-shadow: 0 10px 24px rgba(247, 147, 26, .25); }
.highlights li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.highlights .ico { width: 15px; height: 15px; margin-top: 2px; background: var(--navy); color: #fff; border-radius: 50%; padding: 2px; flex: none; }
.highlights .ico circle { display: none; }

.prows { padding: 0 0 clamp(40px, 3vw, 60px); }
.phero + .prows { padding-top: clamp(36px, 3vw, 56px); }
.prows-title { text-align: center; font-size: clamp(22px, 1.75vw, 34px); font-weight: 700; margin: 0 auto clamp(18px, 1.6vw, 30px); }
.prows-list { display: grid; gap: 18px; padding: 0 clamp(8px, .7vw, 14px); }
.prow { display: grid; grid-template-columns: minmax(280px, 38%) 1fr; gap: clamp(18px, 2vw, 40px); align-items: center; background: var(--warm); border-radius: 14px; padding: clamp(12px, 1vw, 20px); box-shadow: 0 2px 10px rgba(21, 27, 64, .06); }
.prow-img { background: #fff; border-radius: 12px; padding: clamp(10px, .9vw, 18px); box-shadow: 0 4px 16px rgba(21, 27, 64, .08); aspect-ratio: 4 / 3; display: grid; }
.prow-img a { display: grid; }
.prow-img img, .prow-img .img-slot { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.prow-copy { padding: 10px clamp(0px, 1.5vw, 24px) 10px 0; }
.prow-copy h3 { font-size: clamp(22px, 1.7vw, 32px); font-weight: 700; margin: 0 0 12px; }
.prow-copy h3 a:hover { color: #c46a00; }
.prow-text { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.prow-text p { margin-bottom: .8em; }
.prow-copy .eyebrow { background: #fff; }

.ctaband { background: var(--warm); padding: clamp(36px, 3vw, 60px) 0; }
.ctaband-grid { display: grid; grid-template-columns: minmax(0, 44%) 1fr; gap: clamp(28px, 4vw, 80px); align-items: center; }
.ctaband-media { background: var(--orange); border-radius: 8px; padding: clamp(10px, 1vw, 20px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1vw, 20px); box-shadow: 0 14px 30px rgba(247, 147, 26, .25); }
.ctaband-img { border-radius: 12px; overflow: hidden; aspect-ratio: 1.07 / 1; background: #fff; }
.ctaband-img img, .ctaband-img .img-slot { width: 100%; height: 100%; object-fit: cover; }
.ctaband-copy { text-align: center; display: grid; justify-items: center; gap: 18px; }
.ctaband-copy h2 { font-size: clamp(28px, 2.6vw, 48px); font-weight: 700; margin: 0; }
.ctaband-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: auto auto; gap: 8px 32px; text-align: left; }
.ctaband-points li { display: flex; gap: 10px; align-items: center; font-size: 16px; color: var(--navy); }
.ctaband-points li::before { content: ""; width: 9px; height: 9px; background: var(--orange); border-radius: 2px; box-shadow: 2px 2px 0 rgba(247, 147, 26, .35); flex: none; }
.ctaband-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; margin: 6px 0 0; }
.ctaband-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.ctaband-stats dd { margin: 0; font-size: clamp(20px, 1.4vw, 26px); font-weight: 700; color: var(--navy); }
.ctaband-stats dt { color: var(--muted); font-size: 14px; }

.partners { padding: clamp(40px, 3.2vw, 64px) 0; overflow: hidden; }
.logos { display: flex; overflow: hidden; }
.logos-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(24px, 4vw, 80px); width: 100%; padding: 0 var(--gut); }
.logos-scroll { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos-scroll .logos-track { flex: none; flex-wrap: nowrap; width: max-content; min-width: 100%; justify-content: space-around; padding: 0; gap: 0; animation: logos-rtl var(--logo-speed, 35s) linear infinite; }
.logos-scroll .logos-track li { padding: 0 clamp(20px, 2.6vw, 48px); }
.logos-ltr .logos-track { animation-name: logos-ltr; }
@keyframes logos-ltr { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes logos-rtl { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.logos-scroll:hover .logos-track, .logos-scroll:focus-within .logos-track { animation-play-state: paused; }
.logos li { flex: none; display: grid; place-items: center; height: 90px; }
.logos a { display: grid; place-items: center; height: 100%; }
.logo-img { max-height: 80px; max-width: 200px; width: auto; height: auto; object-fit: contain; filter: grayscale(.15); transition: filter .2s, transform .2s; }
.logos a:hover .logo-img { filter: none; transform: scale(1.04); }
.logo-name { display: block; max-width: 220px; font-weight: 800; font-size: 18px; line-height: 1.2; text-align: center; color: var(--navy); letter-spacing: .01em; opacity: .75; }


/* ---------- Page sections (blocks) ---------- */
.pintro-flip .pintro-img { order: 2; }
.pfeature + .pfeature { padding-top: 0; }
.prose-inline a { color: #c8102e; text-decoration: underline; text-underline-offset: 2px; }
.ptags { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ptags li { background: var(--orange); color: #fff; font-size: 14.5px; padding: 6px 12px; border-radius: 8px; line-height: 1.35; box-shadow: 0 4px 10px rgba(247, 147, 26, .2); }
.pfeature-btn { margin-top: 22px; }
.pwhy { padding: clamp(40px, 3.2vw, 64px) 0; }
.pwhy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.5vw, 90px); align-items: center; }
.pwhy-noimg { grid-template-columns: minmax(0, 960px); justify-content: center; }
.pwhy-img { border-radius: 14px; overflow: hidden; box-shadow: 0 14px 34px rgba(21, 27, 64, .14); aspect-ratio: 2.1 / 1; background: var(--warm); }
.pwhy-img img, .pwhy-img .img-slot { width: 100%; height: 100%; object-fit: cover; }
.pwhy-copy .h2 { margin-bottom: 16px; }
.pwhy-text { color: var(--muted); font-size: 15.5px; }
.pwhy-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.pwhy-points li { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 16px; font-weight: 500; }
.tick { width: 16px; height: 16px; border-radius: 3px; background: var(--orange); position: relative; flex: none; box-shadow: 2px 2px 0 rgba(247, 147, 26, .3); }
.tick::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pwhy-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; }
.pwhy-stats div { display: flex; flex-direction: column-reverse; }
.pwhy-stats dd { margin: 0; font-size: clamp(20px, 1.4vw, 24px); font-weight: 700; color: var(--navy); }
.pwhy-stats dt { color: var(--muted); font-size: 15px; }
.pvariants { padding: clamp(44px, 3.6vw, 72px) 0; }
.pvar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pvar-n1 { grid-template-columns: minmax(0, 420px); justify-content: center; } .pvar-n2 { grid-template-columns: repeat(2, minmax(0, 520px)); justify-content: center; } .pvar-n4 { grid-template-columns: repeat(4, 1fr); }
.pvar-card { background: #fff; border-radius: 18px; padding: 20px 20px 26px; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
a.pvar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pvar-img { aspect-ratio: 1.6 / 1; border-radius: 10px; overflow: hidden; background: var(--warm); margin-bottom: 18px; }
.pvar-img img, .pvar-img .img-slot { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
a.pvar-card:hover .pvar-img img { transform: scale(1.04); }
.pvar-card h3 { font-size: clamp(19px, 1.25vw, 23px); font-weight: 700; margin: 0 0 8px; }
.pvar-card p { color: var(--muted); font-size: 15px; margin: 0; }
.pfaq-img { border-radius: 26px; aspect-ratio: 1.3 / 1; }
.pfaq-noimg { grid-template-columns: minmax(0, 960px); justify-content: center; }
.pfaq .acc-pad p:last-child { margin-bottom: 0; }
.ptext { padding: clamp(36px, 3vw, 60px) 0; }
.ptext-in { max-width: 960px; margin: 0 auto; }
.pblock-wrap { padding-top: 24px; padding-bottom: 24px; }

/* ---------- Rich text (Markdown output) ---------- */
.prose { max-width: 75ch; font-size: 16px; line-height: 1.7; }
.prose h2 { font-size: 26px; margin: 1.4em 0 .5em; } .prose h3 { font-size: 20px; margin: 1.3em 0 .4em; } .prose h4 { font-size: 17px; margin: 1.2em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; } .prose li { margin-bottom: .35em; }
.prose ul li::marker { color: var(--orange); }
.prose a { color: #c46a00; text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--orange); color: var(--navy); font-size: 18px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.md-fig { margin: 1.5em 0; } .md-fig img { border-radius: var(--r); } .md-fig figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
.page-body-intro { padding-bottom: 0; }
.empty-note { padding: 40px; background: var(--warm); border-radius: var(--r); text-align: center; color: var(--muted); }
.empty-note a { color: #c46a00; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(28px, 4vw, 64px); padding-top: 56px; padding-bottom: 56px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 16px; align-items: flex-start; background: var(--warm); padding: 20px; border-radius: var(--r); }
.ccard h2 { font-size: 17px; margin: 0 0 4px; } .ccard p { margin: 0; overflow-wrap: anywhere; } .ccard a { color: var(--navy); font-weight: 600; }
.ccard-wa .circle-ico { background: #25D366; box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); }
.contact-grid .enquiry { margin-top: 0; } .contact-grid .eform { max-width: none; }
.map-wrap { height: clamp(280px, 40vw, 460px); background: var(--warm); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Projects ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--navy); transition: background .2s, border-color .2s; }
.chips a:hover { border-color: var(--orange); }
.chips a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips span { font-weight: 500; opacity: .7; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.proj-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.proj-img { aspect-ratio: 16 / 10; overflow: hidden; } .proj-img img, .proj-img .img-slot { width: 100%; height: 100%; object-fit: cover; }
.proj-body { padding: 16px 18px 20px; }
.proj-tag { display: inline-block; font-size: 12px; font-weight: 600; color: #b25f00; background: var(--orange-soft); padding: 2px 9px; border-radius: 999px; margin-bottom: 8px; }
.proj-body h3 { font-size: 18px; margin-bottom: 4px; }
.proj-loc { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; margin: 0; } .proj-loc .ico { color: var(--orange); }
.proj-detail { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: clamp(28px, 4vw, 60px); align-items: start; }
.proj-facts { position: sticky; top: 130px; background: var(--warm); padding: 22px; border-radius: var(--r); display: grid; gap: 18px; }
.proj-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; }
.proj-facts dt { color: var(--muted); font-size: 14px; } .proj-facts dd { margin: 0; color: var(--navy); font-weight: 600; }
.proj-facts dd a { color: #c46a00; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.post-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; } .post-img img, .post-img .img-slot { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.03); }
.post-body { padding: 18px 20px 22px; }
.post-body time { color: var(--orange); font-size: 13px; font-weight: 600; }
.post-body h3 { font-size: 19px; margin: 6px 0 8px; } .post-body h3 a:hover { color: #c46a00; }
.post-body p { color: var(--muted); font-size: 14.5px; margin: 0; }
.post-head { padding-top: 48px; max-width: calc(760px + 2 * var(--gut)); }
.post-head h1 { font-size: clamp(28px, 3.2vw, 46px); }
.crumbs-dark ol { opacity: 1; color: var(--muted); }
.post-meta { color: var(--muted); }
.post-cover { max-width: 1100px; margin-top: 10px; } .post-cover img { width: 100%; border-radius: var(--r); }
.post-body-text { margin: 36px auto 0; max-width: 760px; }
.post-cover { max-width: calc(1000px + 2 * var(--gut)); }

/* Public pager */
.page-body .pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-body .pager a { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-weight: 600; color: var(--navy); }
.page-body .pager a[aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Gallery lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 13, 32, .92); }
.lightbox-in { width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 64px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 112px); object-fit: contain; border-radius: 4px; }
.lb-btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; }
.lb-btn:hover { background: var(--orange); } .lb-btn .ico { width: 24px; height: 24px; }
.lb-close { top: 14px; right: 14px; } .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); } .lb-next { right: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lb-count { position: fixed; bottom: 14px; left: 0; right: 0; text-align: center; color: #cfd2e2; font-size: 14px; }

/* Scroll reveal (subtle, once) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .mcard-thumb { width: 74px; height: 74px; }
  .logo img { max-width: 170px; }
  .header-in { gap: 16px; }
  .header-cta { padding: 0 18px; }
}
@media (max-width: 1279px) {
  .dnav { display: none; }
  .mnav-open { display: grid; }
  .header-in { grid-template-columns: auto 1fr auto auto; min-height: 76px; }
  .header-cta { justify-self: end; }
  .logo img { max-height: 56px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-img { grid-column: 1 / -1; grid-row: 1; max-width: 360px; justify-self: center; }
}
@media (max-width: 1023px) {
  .topbar-in { grid-template-columns: auto 1fr; }
  .topbar-gst { display: none; }
  .tagline { justify-self: end; font-size: 13px; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .adv-item:nth-child(2) { border-right: 0; }
  .adv-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .sec-head-split { grid-template-columns: 1fr; }
  .sec-head-side { justify-self: start; text-align: left; justify-items: start; }
  .ind-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proj-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .proj-detail { grid-template-columns: 1fr; }
  .proj-facts { position: static; }
  .pintro-grid, .ctaband-grid, .pwhy-grid { grid-template-columns: 1fr; }
  .pintro-flip .pintro-img { order: 0; }
  .pvar-grid, .pvar-n4 { grid-template-columns: 1fr 1fr; }
  .prow { grid-template-columns: minmax(220px, 42%) 1fr; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  .header-cta { display: none; }
  .header-in { grid-template-columns: auto 1fr auto; min-height: 66px; }
  .mnav-open { justify-self: end; }
  .logo img { max-height: 46px; }
  .topbar-in { min-height: 40px; }
  .soc { width: 28px; height: 28px; }
  .hero { min-height: min(var(--hero-h, 88vh), 640px); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px var(--gut); }
  .about-media { gap: 12px; }
  .svc-grid, .ind-grid, .testi-grid { grid-template-columns: 1fr; padding-left: var(--gut); padding-right: var(--gut); }
  .ind-grid, .testi-grid { padding: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-card { grid-template-columns: 1fr 1fr; padding: 24px 18px; gap: 22px 14px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fcontact { grid-column: 1 / -1; }
  .eform { grid-template-columns: 1fr; }
  .proj-grid, .post-grid { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .pvar-grid, .pvar-n2, .pvar-n4 { grid-template-columns: 1fr; }
  .pwhy-stats { gap: 8px; } .pwhy-stats dt { font-size: 13px; }
  .logos:not(.logos-scroll) li { width: calc(50% - 10px); height: 70px; }
  .logos:not(.logos-scroll) .logo-name { font-size: 15px; }
  .logo-img { max-width: 150px; max-height: 60px; }
  .prow { grid-template-columns: 1fr; }
  .prow-copy { padding: 4px 6px 10px; }
  .ctaband-points { grid-template-columns: 1fr; }
  .ctaband-stats { gap: 8px; }
  .pintro-text { text-align: left; }
  .lightbox-in { padding: 56px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } .lb-next { transform: rotate(180deg); }
  .acc-btn { padding: 18px 16px; }
}
@media (max-width: 400px) {
  .soc { width: 24px; height: 24px; }
  .soc .ico { width: 13px; height: 13px; }
  .topbar-in { gap: 8px; }
  .tagline { font-size: 12px; padding: 3px 10px; }
  .topbar-social { gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Reduced motion: everything stays usable, nothing moves */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .anim-hero { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .logos-scroll { mask-image: none; }
  .logos-scroll .logos-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .logos-scroll .logos-track[aria-hidden], .logos-scroll .rep { display: none; }
}

/* Contact form captcha */
.captcha { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: var(--warm); border-radius: var(--r); padding: 12px 16px; }
.eform .captcha label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); font-size: 15px; }
.cap-q { display: inline-block; background: var(--navy); color: #fff; border-radius: 4px; padding: 3px 10px; font-size: 17px; letter-spacing: .06em; white-space: nowrap; }
.captcha input { width: 80px; font: inherit; font-size: 17px; text-align: center; padding: 8px; border: 1px solid #d5d3cc; border-radius: var(--r-sm); min-height: 44px; }
.captcha input:focus { border-color: var(--orange); outline: 2px solid rgba(247, 147, 26, .25); }
.captcha small { color: var(--muted); flex-basis: 100%; }

/* Available variants — photo beside text, 2 per row */
.pvs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 1.8vw, 36px); }
.pvs-card { background: #fff; border-radius: 22px; padding: clamp(16px, 1.4vw, 28px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(16px, 1.4vw, 28px); align-items: center; box-shadow: 0 2px 10px rgba(21, 27, 64, .04); transition: transform .25s var(--ease), box-shadow .25s; }
a.pvs-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pvs-img { aspect-ratio: 2.17 / 1; border-radius: 14px; overflow: hidden; background: var(--warm); }
.pvs-img img, .pvs-img .img-slot { width: 100%; height: 100%; object-fit: cover; }
.pvs-card h3 { font-size: clamp(20px, 1.55vw, 30px); font-weight: 700; margin: 0 0 10px; line-height: 1.15; }
.pvs-text { color: var(--muted); font-size: clamp(14.5px, .95vw, 17px); line-height: 1.6; text-align: justify; hyphens: auto; }
.pvs-text p { margin: 0 0 .6em; } .pvs-text p:last-child { margin-bottom: 0; }
.pvar-card .pvs-text { text-align: left; font-size: 15px; }
.pvs-note { text-align: center; margin: clamp(22px, 2vw, 40px) auto 0; max-width: 1100px; color: var(--muted); font-size: clamp(14.5px, 1vw, 18px); }
.pvs-note strong { color: var(--navy); }
.prelated { background: #fff; }
.prelated .pvar-card { background: var(--warm); }
@media (max-width: 1023px) { .pvs-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pvs-card { grid-template-columns: 1fr; } .pvs-text { text-align: left; } }
