/* SGA International Group of Companies — shared stylesheet */

:root {
  --navy: #0b1f33;
  --navy-2: #13304d;
  --navy-3: #1d4468;
  --green: #2f8f5b;
  --green-2: #3fae74;
  --green-soft: #e6f3ec;
  --gold: #c9a24a;
  --ink: #1c2630;
  --muted: #5a6674;
  --paper: #f6f4ef;
  --white: #ffffff;
  --line: #e2dfd6;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 51, .06);
  --shadow-md: 0 14px 36px rgba(11, 31, 51, .12);
  --shadow-lg: 0 28px 60px rgba(11, 31, 51, .22);
  --header-h: 96px;
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: "Montserrat", "Open Sans", sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #d9e2ec; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a:not(.btn) { color: var(--green-2); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Montserrat", sans-serif; font-size: .75rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold); }
.section-head .eyebrow::before { display: none; }
.section--navy .eyebrow { color: var(--green-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .92rem;
  letter-spacing: .02em; padding: 15px 30px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(47, 143, 91, .32); }
.btn--primary:hover { background: var(--green-2); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-3); color: #fff; }
.btn--sm { padding: 11px 22px; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.link-arrow { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .0);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 6px 24px rgba(11, 31, 51, .10);
}
.site-header.is-scrolled { height: 82px; }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand img { width: 172px; height: auto; transition: width .4s var(--ease); }
.site-header.is-scrolled .brand img { width: 160px; }
.site-header .logo-on-dark { display: none; }
.site-header:not(.is-scrolled):not(.is-solid) .logo-on-dark { display: block; }
.site-header:not(.is-scrolled):not(.is-solid) .logo-on-light { display: none; }
.brand-text { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .78rem; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.brand-text small { display: block; font-weight: 600; color: var(--muted); letter-spacing: .08em; font-size: .66rem; }
.site-header:not(.is-scrolled):not(.is-solid) .brand-text, .site-header:not(.is-scrolled):not(.is-solid) .nav a { color: #fff; }
.site-header:not(.is-scrolled):not(.is-solid) .brand-text small { color: rgba(255,255,255,.75); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: "Montserrat", sans-serif; font-size: .82rem; font-weight: 600; color: var(--navy);
  padding: 10px 14px; border-radius: 999px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--green); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--green); }
.nav .btn { margin-left: 10px; padding: 11px 20px; }
.nav a.btn, .nav a.btn:hover, .site-header:not(.is-scrolled):not(.is-solid) .nav a.btn { color: #fff; }
.nav a.btn::after { display: none; }
.site-header:not(.is-scrolled):not(.is-solid) .nav a[aria-current="page"] { color: var(--green-2); }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; cursor: pointer;
  background: transparent; position: relative;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--navy);
  transition: transform .35s var(--ease), opacity .3s;
}
.site-header:not(.is-scrolled):not(.is-solid) .menu-toggle span { background: #fff; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-open .menu-toggle span { background: var(--navy); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--navy); color: #fff; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s linear; }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11,31,51,.94) 0%, rgba(11,31,51,.78) 45%, rgba(11,31,51,.35) 100%),
    linear-gradient(0deg, rgba(11,31,51,.85) 0%, transparent 35%);
}
.hero-content { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 150px; max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.2rem); margin-bottom: .35em; }
.hero h1 span { color: var(--green-2); }
.hero .lead { font-size: 1.12rem; color: rgba(255,255,255,.86); max-width: 620px; }
.hero-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 42px; display: flex; justify-content: center; gap: 10px; }
.hero-dot {
  width: 34px; height: 4px; border-radius: 4px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.35); transition: background .3s, width .4s var(--ease);
}
.hero-dot[aria-selected="true"] { background: var(--gold); width: 56px; }
.hero-scroll {
  position: absolute; z-index: 3; right: 40px; bottom: 36px; color: rgba(255,255,255,.7);
  font-family: "Montserrat", sans-serif; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 80px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(63,174,116,.28), transparent 60%),
    radial-gradient(700px 360px at -10% 120%, rgba(201,162,74,.18), transparent 60%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .06;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 680px; margin: 0; }
.page-hero .eyebrow { color: var(--green-2); }
.crumbs { font-size: .8rem; color: rgba(255,255,255,.65); margin-bottom: 18px; font-family: "Montserrat", sans-serif; letter-spacing: .04em; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { margin: 0 8px; }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.prose p { color: #3c4856; font-size: 1.04rem; }
.prose p:last-child { margin-bottom: 0; }
.img-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.img-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.badge-float {
  position: absolute; left: -22px; bottom: 28px; background: var(--white); border-radius: 14px;
  padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; gap: 14px; align-items: center; max-width: 260px;
  border-left: 4px solid var(--gold);
}
.badge-float strong { display: block; font-family: "Montserrat", sans-serif; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.badge-float span { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.badge-float .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 6px rgba(63,174,116,.2); flex: 0 0 auto; }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; color: #2f3a47; font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f8f5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 36px 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--green), var(--gold));
  transition: width .6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { width: 100%; }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--green-soft), #fff); color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(47,143,91,.15);
}
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card .num {
  position: absolute; right: 24px; top: 20px; font-family: "Montserrat", sans-serif; font-weight: 800;
  font-size: 2.6rem; color: rgba(11,31,51,.05); line-height: 1;
}
.card--dark { background: var(--navy-2); border-color: transparent; }
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(255,255,255,.78); }
.card--dark .icon { background: rgba(63,174,116,.14); box-shadow: none; }
.card--dark .icon svg { stroke: var(--green-2); }

/* Values band */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.value {
  padding: 52px 36px; position: relative; color: #fff;
  background: var(--navy-2);
}
.value:nth-child(2) { background: var(--navy-3); }
.value:nth-child(3) { background: var(--green); }
.value .big { font-family: "Montserrat", sans-serif; font-size: 3rem; font-weight: 800; color: rgba(255,255,255,.14); line-height: 1; margin-bottom: 14px; }
.value h3 { color: #fff; font-size: 1.3rem; }
.value p { color: rgba(255,255,255,.85); margin: 0; }

/* ---------- Services ---------- */
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spec {
  display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
}
.spec .n { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); font-family: "Montserrat", sans-serif; font-weight: 800; display: grid; place-items: center; }
.spec h3 { font-size: 1.05rem; margin-bottom: 6px; }
.spec p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- CEO message ---------- */
.ceo { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.ceo-photo { position: sticky; top: 110px; }
.ceo-photo img { border-radius: 18px; box-shadow: var(--shadow-lg); background: var(--navy); aspect-ratio: 376 / 484; object-fit: cover; width: 100%; }
.ceo-photo .sig { margin-top: 18px; }
.ceo-photo .sig strong { display: block; font-family: "Montserrat", sans-serif; color: var(--navy); }
.ceo-photo .sig span { color: var(--muted); font-size: .92rem; }
.quote-mark { font-family: Georgia, serif; font-size: 5rem; line-height: .6; color: var(--gold); height: 40px; display: block; }
.ceo-body p { font-size: 1.06rem; color: #34404e; }
.ceo-body .warm { margin-top: 28px; font-weight: 600; color: var(--navy); }

/* ---------- Team ---------- */
.team-card {
  display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 0; background: var(--white);
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.team-card .portrait { background: linear-gradient(160deg, var(--navy-2), var(--navy)); display: grid; place-items: end center; position: relative; min-height: 360px; }
.team-card .portrait img { width: min(100%, 300px); height: auto; object-fit: contain; }
.team-card .info { padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.team-card .role { font-family: "Montserrat", sans-serif; color: var(--green); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 8px; }
.team-card h2 { margin-bottom: 14px; }
.team-card p { color: var(--muted); }
.team-note { margin-top: 24px; padding: 18px 22px; border-radius: 12px; background: var(--paper); font-size: .95rem; color: #3c4856; border-left: 4px solid var(--gold); }

.pillars { margin-top: 56px; }
.tgrid { --cols: 4; --gap: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.tgrid > .tm { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
#engr-hannan .tm-photo img { object-position: 92% 35%; }
.tm { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.tm:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tm-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .8s var(--ease); }
.tm:hover .tm-photo img { transform: scale(1.05); }
.tm-photo--cutout { background: linear-gradient(160deg, var(--navy-3), var(--navy)); display: flex; align-items: flex-end; justify-content: center; }
.tm-photo--cutout img { object-fit: contain; object-position: center bottom; height: 92%; }
.tm-body { padding: 18px 20px 20px; }
.tm-role { display: block; font-family: "Montserrat", sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.tm h3 { font-size: 1.02rem; margin: 0; }
.tm--lead { border-top: 4px solid var(--gold); }
.tm--lead h3 { font-size: 1.12rem; }
.tm-link { margin-top: 10px; font-size: .82rem; }


/* ---------- Projects ---------- */
.table-wrap { overflow-x: auto; border-radius: 18px; box-shadow: var(--shadow-md); border: 1px solid var(--line); background: #fff; }
table.projects { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .95rem; }
table.projects caption { caption-side: top; text-align: left; padding: 22px 26px; font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--navy); background: var(--paper); font-size: 1rem; }
table.projects th {
  text-align: left; font-family: "Montserrat", sans-serif; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding: 16px 26px; border-bottom: 2px solid var(--navy); background: #fff;
}
table.projects td { padding: 20px 26px; border-bottom: 1px solid var(--line); vertical-align: top; color: #2f3a47; }
table.projects tr:last-child td { border-bottom: 0; }
table.projects tbody tr { transition: background .25s; }
table.projects tbody tr:hover { background: var(--green-soft); }
table.projects td:first-child { font-weight: 700; color: var(--navy); width: 36%; }
table.projects .idx { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--navy); color: var(--gold); font-size: .75rem; font-family: "Montserrat", sans-serif; font-weight: 800; margin-right: 12px; vertical-align: middle; }
table.projects .pill { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 700; font-size: .78rem; letter-spacing: .04em; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 16px; }
.gallery button {
  border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; position: relative; background: var(--navy); display: block;
}
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery button.wide { grid-column: span 2; }
.gallery button:first-child img { object-position: left center; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gallery button:hover img { transform: scale(1.06); filter: brightness(.85); }
.gallery button::after {
  content: "+"; position: absolute; right: 16px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; font-size: 1.4rem; font-weight: 700;
  opacity: 0; transform: translateY(8px); transition: .35s var(--ease);
}
.gallery button:hover::after { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,16,27,.94); display: none; align-items: center; justify-content: center; padding: 40px 20px; }
.lightbox.is-open { display: flex; animation: fade .3s var(--ease); }
.lightbox img { max-width: min(1100px, 100%); max-height: 84vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox button {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: #fff; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center;
}
.lightbox button:hover { background: var(--green); border-color: var(--green); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Tabs ---------- */
.tablist { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 40px; padding: 6px; background: var(--paper); border-radius: 999px; width: fit-content; max-width: 100%; }
.tablist [role="tab"] {
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .88rem; color: var(--navy);
  background: transparent; border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; transition: background .3s var(--ease), color .3s var(--ease);
}
.tablist [role="tab"]:hover { background: rgba(11,31,51,.06); }
.tablist [role="tab"][aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.tab-n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: .74rem; }
.js .tabpanel[hidden] { display: none; }
.tabpanel { animation: fade .4s var(--ease); }
.no-js .tabpanel + .tabpanel { margin-top: 48px; }
.tab-intro { text-align: center; color: var(--muted); margin-bottom: 28px; }

/* ---------- Project cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pc-media { position: relative; aspect-ratio: 4 / 3; background: var(--navy); overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pc-media img { transform: scale(1.05); }
.pc-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px; color: #fff;
  background:
    radial-gradient(420px 220px at 110% -20%, rgba(63,174,116,.35), transparent 60%),
    linear-gradient(160deg, var(--navy-3), var(--navy));
}
.pc-ph::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 28px 28px; }
.pc-ph-num { position: absolute; right: 18px; top: 8px; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 4.2rem; line-height: 1; color: rgba(255,255,255,.1); }
.pc-ph svg { width: 26px; height: 26px; stroke: var(--gold); position: relative; }
.pc-ph-loc { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.05rem; position: relative; }
.pc-ph-note { position: relative; font-size: .8rem; color: rgba(255,255,255,.65); }
.pc-status, .pc-count {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-family: "Montserrat", sans-serif;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: #fff; color: var(--green); box-shadow: var(--shadow-sm);
}
.pc-count { left: auto; right: 14px; background: rgba(11,31,51,.75); color: #fff; }
.pc-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pc-idx { font-family: "Montserrat", sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.pc-body h3 { font-size: 1.12rem; margin-bottom: 16px; }
.pc-meta { margin: 0; display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.pc-meta div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; }
.pc-meta dt { font-family: "Montserrat", sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.pc-meta dd { margin: 0; font-weight: 600; color: var(--ink); font-size: .94rem; }
.pc-scope { margin: 16px 0 0; color: var(--muted); font-size: .93rem; }
.pc-src { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; border-radius: 26px;
  padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(63,174,116,.14); }
.cta::after { content: ""; position: absolute; left: 40%; bottom: -160px; width: 300px; height: 300px; border-radius: 50%; border: 40px solid rgba(201,162,74,.12); }
.cta h2 { color: #fff; margin: 0 0 .3em; }
.cta p { color: rgba(255,255,255,.82); margin: 0; }
.cta .btn-row { justify-content: flex-end; margin: 0; position: relative; z-index: 1; }
.cta > div:first-child { position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: stretch; }
.contact-card { background: var(--navy); color: #d9e2ec; border-radius: 20px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.contact-card h2, .contact-card h3 { color: #fff; }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-item:last-of-type { border-bottom: 0; }
.contact-item .ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: rgba(63,174,116,.16); display: grid; place-items: center; }
.contact-item .ico svg { width: 22px; height: 22px; stroke: var(--green-2); }
.contact-item .label { font-family: "Montserrat", sans-serif; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.contact-item a, .contact-item div.val { color: #fff; font-weight: 600; font-size: 1.02rem; }
.contact-item a:hover { color: var(--gold); }
.map-frame { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); min-height: 420px; background: var(--paper); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.85); }
.social { display: flex; gap: 12px; margin-top: 28px; }
.social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff;
  transition: background .3s, transform .3s var(--ease);
}
.social a:hover { background: var(--green); color: #fff; transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.hours-note { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: 24px; }

.legal { max-width: 860px; margin-inline: auto; }
.legal h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: .2em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6em; color: var(--navy); }
.legal p, .legal li { color: #3c4856; font-size: .98rem; }
.legal ul { padding-left: 1.2em; }
.legal a { overflow-wrap: anywhere; }
.legal .address-card { background: var(--paper); border-radius: 14px; padding: 26px 28px; border-left: 4px solid var(--green); margin: 22px 0 30px; }
.legal .address-card p { margin: 0 0 4px; }
.legal .toc { background: var(--paper); border-radius: 14px; padding: 22px 28px; margin: 0 0 40px; }
.legal .toc ol { margin: 0; padding-left: 1.2em; }
.legal .toc a { color: var(--navy); font-weight: 600; }
.legal .toc li { margin: 4px 0; }
.legal .notice { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 48px; padding-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: #081725; color: rgba(255,255,255,.72); padding: 80px 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 100% 0%, rgba(63,174,116,.10), transparent 70%); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.1fr; gap: 48px; position: relative; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand-text small { color: rgba(255,255,255,.6); }
.site-footer .brand img { width: 200px; height: auto; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--gold); }
.footer-about p { margin: 18px 0 0; font-size: .94rem; max-width: 340px; }
.footer-bottom { margin-top: 64px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; font-size: .86rem; position: relative; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav a { padding: 10px 10px; }
  .nav .btn { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 84px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 20px 28px; box-shadow: 0 20px 40px rgba(11,31,51,.14);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), opacity .3s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .menu-open .site-header { background: #fff; box-shadow: 0 6px 24px rgba(11, 31, 51, .10); }
  .menu-open .site-header .brand-text { color: var(--navy) !important; }
  .menu-open .site-header .brand-text small { color: var(--muted) !important; }
  .menu-open .site-header .menu-toggle span { background: var(--navy) !important; }
  .menu-open .site-header .logo-on-dark { display: none !important; }
  .menu-open .site-header .logo-on-light { display: block !important; }
  .nav a { color: var(--navy) !important; padding: 16px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: .95rem; }
  .nav a::after { left: 6px; right: auto; width: 40px; bottom: 10px; }
  .nav .btn { display: inline-flex; margin: 18px 0 0; color: #fff !important; }
  .site-header .brand img { width: 160px; }
  .site-header.is-scrolled { height: var(--header-h); }
  .site-header.is-scrolled .brand img { width: 160px; }
  .split, .ceo, .contact-grid, .cta, .team-card { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .ceo-photo { position: static; max-width: 340px; }
  .team-card .portrait { min-height: 300px; }
  .cta .btn-row { justify-content: flex-start; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .tgrid { --cols: 3; }
  .badge-float { left: 12px; }
  .hero-scroll { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { width: calc(100% - 32px); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .tgrid { --cols: 2; --gap: 14px; }
  .tm-body { padding: 14px 14px 16px; }
  .tm h3, .tm--lead h3 { font-size: .92rem; }
  .tm-role { font-size: .62rem; letter-spacing: .1em; }
  .tablist { border-radius: 18px; width: 100%; }
  .tablist { flex-wrap: nowrap; gap: 4px; }
  .tablist [role="tab"] { flex: 1 1 auto; justify-content: center; padding: 10px 10px; font-size: .78rem; white-space: nowrap; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery button:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery button.wide { grid-column: span 1; }
  .gallery button.wide:last-child { grid-column: span 2; }
  .hero-content { padding-top: 96px; padding-bottom: 130px; }
  .btn-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
  .brand-text { font-size: .7rem; }
  .brand img { width: 160px; }
  .lightbox button { width: 44px; height: 44px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .page-hero { padding-bottom: 64px; }
  .card { padding: 30px 24px; }
  table.projects { min-width: 0; }
  table.projects thead { position: absolute; left: -9999px; }
  table.projects, table.projects tbody, table.projects tr, table.projects td { display: block; width: 100%; }
  table.projects tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  table.projects tr:last-child { border-bottom: 0; }
  table.projects td { border: 0; padding: 4px 0; width: 100% !important; }
  table.projects td::before { content: attr(data-label); display: block; font-family: "Montserrat", sans-serif; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  table.projects td:first-child { padding-bottom: 10px; }
  table.projects td:first-child::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-slide img { transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}
