/* =====================================================================
   ACE Malaysia (ACE Mechanical Technology Malaysia)
   Corporate manufacturing site — navy + white + steel-blue.
   Fonts: Manrope (display) + Inter (body).
   ===================================================================== */

:root {
  --navy:      #1c2b3c;   /* header / footer / dark bands */
  --navy-2:    #24374d;
  --slate:     #37495d;   /* stat band */

  --ink:       #1b2a3a;   /* headings */
  --body:      #55636f;   /* body text */
  --muted:     #8795a3;

  --accent:      #2f6fb5; /* steel blue */
  --accent-deep: #245a94;
  --tint:        #e9f0f8; /* icon tiles / soft fills */

  --bg:        #ffffff;
  --surface:   #f5f7fa;   /* light sections */
  --line:      #e5e9ee;
  --line-2:    #d8dee5;

  --on-dark:      #eef3f8; /* text on navy */
  --on-dark-dim:  #a9b8c6;

  --head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

body {
  font-family: var(--body-font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--surface { background: var(--surface); }

/* ---------- shared heading block ---------- */
.eyebrow { font-family: var(--body-font); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.head-center { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: clamp(36px, 5vw, 60px); }
.head-center h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; margin-top: 12px; }
.head-center p { margin-top: 16px; color: var(--body); font-size: 1.05rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--head); font-weight: 700; font-size: 0.92rem;
  padding: 13px 24px; border-radius: 8px; border: 1.5px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn .arw { transition: transform 0.22s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(47,111,181,0.24); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--white { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--white:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }
.btn--ghost { color: var(--accent); padding: 0; font-weight: 700; }
.btn--ghost:hover { color: var(--accent-deep); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 60; background: var(--navy); }
.site-head__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo {
  width: 210px;
  height: 44px;
  object-fit: contain;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; font-family: var(--head); font-weight: 600; font-size: 0.92rem; color: var(--on-dark-dim); padding: 8px 16px; border-radius: 6px; white-space: nowrap; transition: color 0.18s var(--ease); }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }

.head-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.head-cta .btn { padding: 10px 18px; font-size: 0.86rem; white-space: nowrap; }

/* language switch */
.lang { display: inline-flex; align-items: center; flex: none; border: 1px solid rgba(255,255,255,0.24); border-radius: 999px; overflow: hidden; }
.lang a { font-family: var(--head); font-weight: 700; font-size: 0.78rem; line-height: 1; padding: 7px 12px; color: var(--on-dark-dim); white-space: nowrap; transition: color 0.18s var(--ease), background 0.18s var(--ease); }
.lang a[aria-current="true"] { background: var(--accent); color: #fff; }
.lang a:not([aria-current="true"]):hover { color: #fff; }

.nav-toggle { display: none; }
@media (max-width: 520px) {
  .site-head__bar { gap: 12px; }
  .brand__logo { width: 164px; height: 34px; }
}
@media (max-width: 1100px) {
  .nav, .head-cta .btn--primary { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 8px; }
  .nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav { position: fixed; inset: 74px 0 0; z-index: 55; background: var(--navy); padding: 24px var(--gutter); display: flex; flex-direction: column; gap: 4px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s; }
  body.nav-open .mobile-nav { opacity: 1; transform: none; visibility: visible; }
  .mobile-nav a { font-family: var(--head); font-weight: 700; font-size: 1.4rem; color: #fff; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .mobile-nav .btn { margin-top: 22px; justify-content: center; }
}
@media (min-width: 1101px) and (max-width: 1280px) {
  .site-head__bar { gap: 14px; }
  .brand__logo { width: 182px; height: 40px; }
  .nav a { padding-inline: 10px; font-size: 0.86rem; }
  .head-cta { gap: 8px; }
  .head-cta .btn { padding-inline: 14px; }
  .lang a { padding-inline: 9px; }
}
@media (min-width: 1101px) { .mobile-nav { display: none; } }

/* ---------- hero (full-bleed photo) ---------- */
.hero { position: relative; min-height: clamp(520px, 76vh, 720px); display: grid; align-items: center; color: #fff; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--navy) center/cover no-repeat; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,31,44,0.92) 0%, rgba(20,31,44,0.74) 42%, rgba(20,31,44,0.5) 100%);
}
.hero__inner { padding-block: clamp(60px, 10vw, 120px); max-width: 760px; }
.hero .eyebrow { color: #8fc0ff; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 800; margin-top: 18px; letter-spacing: -0.03em; }
.hero p { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: #d6e0ea; max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- capability cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px 30px 32px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(28,43,60,0.1); border-color: transparent; }
.icon-tile { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--accent); margin-bottom: 22px; }
.icon-tile svg { width: 26px; height: 26px; }
.card__media { margin: -34px -30px 24px; border-radius: 13px 13px 0 0; overflow: hidden; aspect-ratio: 4 / 3; background: #26333f; }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card h3 { font-size: 1.3rem; font-weight: 800; }
.card p { margin-top: 12px; color: var(--body); font-size: 0.98rem; }
.card .btn--ghost { margin-top: 18px; font-size: 0.85rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---------- stat band ---------- */
.stats { background: var(--slate); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-block: clamp(44px, 6vw, 68px); }
.stat { text-align: center; }
.stat svg { width: 30px; height: 30px; color: #9fc4ee; margin: 0 auto 14px; }
.stat b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; letter-spacing: -0.01em; }
.stat span { display: block; margin-top: 6px; font-size: 0.86rem; color: #c4d2df; }
@media (max-width: 760px) { .stats__grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; } }

/* ---------- industries row ---------- */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.seg { text-align: center; padding: 30px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.seg:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,43,60,0.09); }
.seg svg { width: 30px; height: 30px; color: var(--accent); margin: 0 auto 14px; }
.seg b { display: block; font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.seg span { display: block; margin-top: 6px; font-size: 0.86rem; color: var(--body); }
@media (max-width: 760px) { .segments { grid-template-columns: 1fr 1fr; } }

/* ---------- product gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gtile { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); position: relative; }
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gtile:hover img { transform: scale(1.06); }
.gtile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; font-family: var(--head); font-weight: 700; font-size: 0.82rem; color: #fff; background: linear-gradient(transparent, rgba(16,24,34,0.72)); }
.gallery--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .gallery, .gallery--two { grid-template-columns: 1fr; } }

/* ---------- video ---------- */
.videobox { max-width: 980px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #0a0f16; box-shadow: 0 30px 70px rgba(16,24,34,0.28); aspect-ratio: 16 / 9; position: relative; }
.videobox video, .videobox iframe { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.video-note { text-align: center; margin-top: 22px; color: var(--body); }
.video-note a { color: var(--accent); font-weight: 700; }
.plain { list-style: none; margin-top: 14px; }
.plain li { position: relative; padding-left: 16px; color: var(--body); font-size: 0.92rem; margin-bottom: 7px; }
.plain li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cat + .cat { margin-top: clamp(44px, 6vw, 72px); }
.cat > h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 20px; display: flex; align-items: baseline; gap: 12px; }
.cat > h3 .idx { font-family: var(--head); font-size: 0.8rem; color: var(--accent); }

/* ---------- process flow ---------- */
.flow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.step { text-align: center; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--accent); font-family: var(--head); font-weight: 800; font-size: 1rem; display: grid; place-items: center; margin: 0 auto 14px; }
.step b { display: block; font-family: var(--head); font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.step span { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 760px) { .flow { grid-template-columns: repeat(4, 1fr); gap: 22px 12px; } }
@media (max-width: 460px) { .flow { grid-template-columns: repeat(2, 1fr); } }

/* ---------- feature (text + photo) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature__media { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 24px 54px rgba(28,43,60,0.14); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; margin-top: 12px; }
.feature p { margin-top: 18px; color: var(--body); }
.feature p + p { margin-top: 14px; }
.feature .btn--ghost { margin-top: 22px; }
.feature--reverse .feature__media { order: -1; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature--reverse .feature__media { order: 0; }
}

/* ---------- future factory ---------- */
.factory-future { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr); gap: clamp(36px, 6vw, 76px); align-items: center; }
.factory-future__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; box-shadow: 0 24px 54px rgba(28,43,60,0.16); }
.factory-future__media img { width: 100%; height: 100%; object-fit: cover; }
.factory-future__media figcaption { position: absolute; right: 14px; bottom: 14px; padding: 7px 11px; border-radius: 6px; color: #fff; background: rgba(28,43,60,0.8); font-size: 0.72rem; backdrop-filter: blur(6px); }
.factory-future__copy h2 { margin-top: 12px; font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; }
.factory-future__copy > p:not(.eyebrow) { margin-top: 18px; }
.factory-future__copy .btn { margin-top: 22px; }
.factory-future__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.factory-future__facts div { padding: 18px 20px; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; background: #fff; box-shadow: 0 10px 28px rgba(28,43,60,0.08); }
.factory-future__facts b { display: block; color: var(--ink); font-family: var(--head); font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.2; }
.factory-future__facts span { display: block; margin-top: 6px; color: var(--body); font-size: 0.82rem; }
@media (max-width: 900px) { .factory-future { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .factory-future__facts { grid-template-columns: 1fr; }
  .factory-future__media { aspect-ratio: auto; }
  .factory-future__media img { height: auto; aspect-ratio: 16 / 9; }
  .factory-future__media figcaption { position: static; border-radius: 0; background: var(--navy); }
}

/* ---------- case studies ---------- */
.case-band { padding-block: clamp(52px, 7vw, 86px); }
.case-band__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap: clamp(36px, 6vw, 76px); align-items: center; }
.case-band h1 { font-size: clamp(2rem, 4vw, 3.25rem); max-width: 22ch; }
.case-band__media { overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; box-shadow: 0 24px 54px rgba(0,0,0,0.28); }
.case-band__media img { width: 100%; height: 100%; object-fit: cover; }
.case-status { display: inline-flex; margin-top: 26px; padding: 8px 13px; border: 1px solid rgba(143,192,255,0.4); border-radius: 999px; color: #dceaff; background: rgba(47,111,181,0.22); font-family: var(--head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; }
.case-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case-metrics div { padding: 24px; border-top: 3px solid var(--accent); border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 12px 30px rgba(28,43,60,0.08); }
.case-metrics b { display: block; color: var(--ink); font-family: var(--head); font-size: 1.18rem; line-height: 1.25; }
.case-metrics span { display: block; margin-top: 8px; color: var(--body); font-size: 0.84rem; line-height: 1.5; }
.case-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: start; }
.case-split h2, .case-panel h2 { margin-top: 12px; font-size: clamp(1.8rem, 3.3vw, 2.6rem); font-weight: 800; }
.case-split .prose { margin-top: 20px; }
.case-panel { padding: clamp(28px, 4vw, 44px); border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.case-list { margin-top: 22px; padding: 0; list-style: none; }
.case-list li { position: relative; padding-left: 25px; color: var(--body); }
.case-list li + li { margin-top: 14px; }
.case-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.case-flow .step .n { border: 1px solid #cbdced; background: #fff; }
@media (max-width: 900px) {
  .case-band__grid, .case-split { grid-template-columns: 1fr; }
  .case-band__media { max-width: 640px; }
  .case-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .case-metrics { grid-template-columns: 1fr; } }

/* ---------- case study library ---------- */
.case-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.case-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 16px 38px rgba(28,43,60,0.09); transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease); }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(28,43,60,0.14); }
.case-card > a { display: block; color: inherit; }
.case-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease); }
.case-card:hover .case-card__media img { transform: scale(1.025); }
.case-card__body { padding: clamp(24px, 4vw, 36px); }
.case-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--accent-deep); font-family: var(--head); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.case-card h2 { margin-top: 14px; color: var(--ink); font-size: clamp(1.45rem, 2.5vw, 2rem); }
.case-card p { margin-top: 14px; color: var(--body); }
.case-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--accent); font-family: var(--head); font-weight: 800; }
.case-proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.case-proof div { padding: 20px; border-left: 3px solid var(--accent); background: var(--surface); }
.case-proof b { display: block; color: var(--ink); font-family: var(--head); }
.case-proof span { display: block; margin-top: 6px; color: var(--body); font-size: 0.85rem; }
.case-flow--six { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 860px) { .case-library { grid-template-columns: 1fr; } .case-proof { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .case-flow--six { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .case-proof { grid-template-columns: 1fr; } .case-flow--six { grid-template-columns: repeat(2, 1fr); } }

/* ---------- service blocks ---------- */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.service + .service { margin-top: clamp(56px, 8vw, 104px); }
.service__media { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 24px 54px rgba(28,43,60,0.14); }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service--reverse .service__media { order: -1; }
.service h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.service > .service__body > p { margin-top: 16px; color: var(--body); }
.service__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 26px; }
.service__lists h4 { font-family: var(--body-font); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.service__lists li { list-style: none; padding-left: 22px; position: relative; color: var(--ink); font-weight: 500; font-size: 0.96rem; margin-bottom: 11px; }
.service__lists li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.service .btn { margin-top: 28px; }
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; gap: 28px; }
  .service--reverse .service__media { order: 0; }
}
@media (max-width: 440px) { .service__lists { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- page band (interior hero) ---------- */
.page-band { background: var(--navy); color: #fff; padding-block: clamp(56px, 8vw, 96px); }
.page-band .eyebrow { color: #8fc0ff; }
.page-band h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; margin-top: 14px; }
.page-band p { margin-top: 18px; color: #cdd8e3; max-width: 62ch; font-size: 1.08rem; }

/* ---------- values / info cards ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; }
.info .num { font-family: var(--head); font-weight: 800; color: var(--accent); font-size: 0.9rem; }
.info h3 { margin-top: 12px; font-size: 1.2rem; font-weight: 800; }
.info p { margin-top: 10px; color: var(--body); font-size: 0.96rem; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- dual-hub ---------- */
.hubs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hub { border: 1px solid var(--line); border-radius: 14px; padding: 32px; background: #fff; }
.hub__tag { font-family: var(--head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.hub h3 { font-size: 1.7rem; font-weight: 800; margin-top: 10px; }
.hub__role { margin-top: 6px; color: var(--body); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { font-family: var(--head); font-weight: 600; font-size: 0.76rem; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--accent); }
@media (max-width: 720px) { .hubs { grid-template-columns: 1fr; } }

.prose p { color: var(--body); max-width: 66ch; }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--ink); font-weight: 700; }
.note { margin-top: 22px; padding: 20px 22px; background: var(--surface); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; color: var(--body); font-size: 0.96rem; }
.note strong { color: var(--ink); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; background: #fff; }
.contact-card .icon-tile { margin-bottom: 18px; }
.contact-card h3 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-family: var(--body-font); }
.contact-card .big { margin-top: 10px; font-family: var(--head); font-weight: 800; font-size: 1.24rem; color: var(--ink); }
.contact-card .big a:hover { color: var(--accent); }
.contact-card p { margin-top: 8px; color: var(--body); font-size: 0.92rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* contact form */
.contact-2col { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
@media (max-width: 880px) { .contact-2col { grid-template-columns: 1fr; } }
.cform { display: grid; gap: 16px; }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .cform .row2 { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--head); font-weight: 700; font-size: 0.8rem; color: var(--ink); margin-bottom: 7px; }
.field label i { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 9px; font: inherit; color: var(--ink); background: #fff; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--tint); }
.field textarea { resize: vertical; min-height: 120px; }
.cform__note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; max-width: 44ch; }
.cform__status { min-height: 1.4em; margin-top: 8px; font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.cform__status--success { color: #197342; }
.cform__status--error { color: #a52a2a; }
.cform button:disabled { cursor: wait; opacity: 0.7; transform: none; }
.form-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.info-stack { display: grid; gap: 16px; }
.info-stack .contact-card { padding: 22px 24px; }
.info-stack .contact-card .icon-tile { width: 44px; height: 44px; margin-bottom: 14px; }
.info-stack .contact-card .icon-tile svg { width: 22px; height: 22px; }
.contact-card .text-link { color: var(--accent); font-weight: 600; }
.contact-card .text-link:hover { text-decoration: underline; }
.contact-map { margin-top: clamp(48px, 7vw, 84px); }
.contact-map__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.contact-map__head .h-2 { margin-top: 10px; }
.contact-map__frame { position: relative; overflow: hidden; min-height: 420px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 18px 50px rgba(28, 43, 60, 0.08); }
.contact-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 680px) {
  .contact-map__head { align-items: start; flex-direction: column; }
  .contact-map__frame { min-height: 340px; }
}

.checklist { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.checklist div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px 22px; }
.checklist div + div { border-top: 1px solid var(--line); }
.checklist dt { font-family: var(--head); font-weight: 700; color: var(--ink); }
.checklist dd { color: var(--body); }
@media (max-width: 560px) { .checklist div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- CTA band ---------- */
.cta { background: var(--navy); color: #fff; border-radius: 18px; padding: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.cta p { margin-top: 8px; color: #c4d2df; }
@media (max-width: 720px) { .cta { grid-template-columns: 1fr; text-align: left; } }

/* ---------- footer ---------- */
.site-foot { background: var(--navy); color: var(--on-dark-dim); padding-block: clamp(48px, 6vw, 72px) 30px; }
.foot-top { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr; gap: 40px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { color: var(--on-dark-dim); font-size: 0.92rem; max-width: 42ch; }
.foot-col h4 { color: #fff; font-family: var(--head); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col a, .foot-col p { display: block; color: var(--on-dark-dim); font-size: 0.94rem; padding: 5px 0; transition: color 0.18s var(--ease); }
.foot-col a:hover { color: #fff; }
.foot-certs { display: flex; align-items: center; gap: 14px; margin-top: clamp(28px, 4vw, 44px); }
.foot-certs img { width: 58px; height: 58px; }
.foot-bar { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; color: var(--on-dark-dim); }
.cert-row { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.cert-row img { width: 74px; height: 74px; flex: none; }
.cert-row span { color: var(--body); font-size: 0.94rem; max-width: 32ch; }
.foot-bar a:hover { color: #fff; }
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.mt-l { margin-top: clamp(40px, 6vw, 72px); }
