/* ============================================================
   BJ Mold Industry Limited — Website Styles
   Design language inspired by jmtmould.com:
   condensed headline typography, industrial blue/white palette,
   card-based sections and generous whitespace.
   ============================================================ */

:root {
  --blue: #1683d8;
  --blue-dark: #0d63ab;
  --navy: #182550;
  --navy-dark: #111a3c;
  --orange: #ff9f2e;
  --orange-dark: #f08812;
  --ink: #22304a;
  --muted: #65718a;
  --line: #e3e9f3;
  --soft: #f3f7fc;
  --soft-blue: #e8f2fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(24, 37, 80, .10);
  --shadow-sm: 0 8px 24px rgba(24, 37, 80, .08);
  --max: 1240px;
  --radius: 6px;
  --font-head: 'Fira Sans Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Fira Sans', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.section { padding: 96px 0; }
.section-sm { padding: 68px 0; }
.section-soft { background: var(--soft); }
.section-blue { background: var(--navy); color: #fff; }

/* ---------------- Typography ---------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.14;
  color: var(--navy);
  letter-spacing: .2px;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.35rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--orange);
}
.eyebrow.light { color: #8ec8f5; }

.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section-blue .section-head h2,
.section-blue h2, .section-blue h3 { color: #fff; }
.section-blue .section-head p { color: #c2cee7; }

.lead { font-size: 1.12rem; color: var(--muted); max-width: 720px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .6px;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(22,131,216,.25); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-orange { background: var(--orange); color: var(--navy-dark); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-outline { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn svg { width: 17px; height: 17px; }

/* ---------------- Announcement bar ---------------- */
.topbar {
  background: var(--navy-dark);
  color: #c7d4ee;
  font-size: .84rem;
  letter-spacing: .3px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 20px;
}
.topbar a:hover { color: #fff; }
.topbar-list { display: flex; gap: 26px; align-items: center; }
.topbar-list span, .topbar-list a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; color: var(--orange); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.98);
  box-shadow: 0 2px 20px rgba(24,37,80,.07);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 26px rgba(24,37,80,.14); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark {
  width: 46px; height: 46px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -.5px;
  box-shadow: 0 6px 16px rgba(22,131,216,.28);
}
.logo-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.42rem;
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: .4px;
}
.logo-text small {
  display: block;
  font-size: .62rem;
  letter-spacing: 2.4px;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; }
.nav > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 15px;
  font-family: var(--font-head);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s ease;
  white-space: nowrap;
}
.nav > li > a:hover, .nav > li.active > a { color: var(--blue); }
.nav > li > a::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 6px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav > li.active > a::after, .nav > li > a:hover::after { transform: scaleX(1); }
.nav .caret { width: 10px; height: 10px; }

.dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 238px;
  background: #fff;
  border-radius: 5px;
  box-shadow: var(--shadow);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .25s ease;
  border-top: 3px solid var(--blue);
}
.nav li:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: .95rem;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.dropdown a:hover { background: var(--soft-blue); color: var(--blue-dark); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { min-height: 44px; padding: 8px 20px; font-size: .95rem; }
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 3px 0; transition: .3s; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--navy-dark);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(12,26,58,.96) 0%, rgba(14,35,76,.90) 42%, rgba(13,35,79,.45) 100%), url('../images/injection-machines.jpg');
  background-size: cover;
  background-position: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 130px;
  background: linear-gradient(transparent, rgba(17,26,60,.45));
}
.hero .container { position: relative; z-index: 2; padding: 90px 0 112px; }
.hero-content { max-width: 760px; }
.hero .eyebrow { color: #9cd1fb; font-size: 1.05rem; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 1.14rem; color: #d8e3f6; max-width: 660px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  position: relative;
  z-index: 3;
  margin-top: -58px;
  margin-bottom: 58px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat-item {
  padding: 30px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 3px;
  background: var(--orange);
  opacity: 0;
  transition: .3s;
}
.stat-item:hover::before { opacity: 1; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.65rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  display: block;
}
.stat-num small { font-size: 1.4rem; color: var(--orange); }
.stat-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.04rem;
  line-height: 1.35;
}
.stat-desc { display: block; font-size: .83rem; color: var(--muted); margin-top: 4px; }

/* ---------------- Feature cards (home highlights) ---------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: left;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card .icon {
  width: 58px; height: 58px;
  border-radius: 8px;
  background: var(--soft-blue);
  display: grid; place-items: center;
  color: var(--blue);
  margin-bottom: 20px;
  transition: background .3s, color .3s;
}
.feature-card:hover .icon { background: var(--blue); color: #fff; }
.feature-card svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature-card p { font-size: .93rem; color: var(--muted); }
.feature-card .num {
  position: absolute;
  right: 14px; top: 6px;
  font-family: var(--font-head);
  font-size: 3.6rem;
  font-weight: 700;
  color: #f3f6fb;
  z-index: 0;
  line-height: 1;
}
.feature-card > *:not(.num) { position: relative; z-index: 1; }

/* ---------------- Product categories ---------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-img {
  height: 230px;
  overflow: hidden;
  position: relative;
  background: var(--navy);
}
.category-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card:hover .category-img img { transform: scale(1.08); }
.category-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(transparent 55%, rgba(17,26,60,.55));
}
.category-body { padding: 24px 26px 28px; }
.category-body h3 { margin-bottom: 8px; font-size: 1.4rem; }
.category-body p { color: var(--muted); font-size: .94rem; margin-bottom: 12px; }
.category-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
}
.category-link svg { width: 15px; transition: transform .25s; }
.category-card:hover .category-link svg { transform: translateX(5px); }

/* ---------------- Split content ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 440px; }
.split-media .badge {
  position: absolute;
  bottom: 0; right: 0;
  background: var(--orange);
  color: var(--navy-dark);
  padding: 18px 26px;
  font-family: var(--font-head);
  font-weight: 700;
  text-align: center;
}
.split-media .badge strong { display: block; font-size: 2rem; line-height: 1; }
.split-media .badge span { font-size: .9rem; }
.check-list { margin: 24px 0 30px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--soft-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231683d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ---------------- Process steps ---------------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 24px 28px;
  position: relative;
  transition: .3s;
}
.process-card:hover { border-color: var(--blue); transform: translateY(-5px); }
.process-card::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: #e6eef8;
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.process-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.process-card p { font-size: .92rem; color: var(--muted); }

/* ---------------- Video feature ---------------- */
.video-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-wrap video { width: 100%; display: block; max-height: 560px; object-fit: cover; }
.video-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(11,24,53,.35);
  cursor: pointer;
  transition: background .3s;
}
.video-overlay:hover { background: rgba(11,24,53,.5); }
.video-overlay:hover .play-btn { transform: scale(1.1); }
.play-btn {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--orange);
  display: grid; place-items: center;
  box-shadow: 0 0 0 12px rgba(255,159,46,.25);
  transition: transform .3s;
}
.play-btn svg { width: 30px; height: 30px; color: var(--navy-dark); margin-left: 4px; }
.video-caption { text-align: center; margin-top: 22px; color: #c2cee7; font-size: .95rem; }

/* ---------------- Gallery ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #dfe7f2;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 18px 14px;
  background: linear-gradient(transparent, rgba(12,25,55,.88));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  transform: translateY(12px);
  opacity: 0;
  transition: .3s;
}
.gallery-item:hover::after { transform: translateY(0); opacity: 1; }
.gallery-item .zoom {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: grid; place-items: center;
  color: var(--navy);
  opacity: 0;
  transform: scale(.8);
  transition: .3s;
}
.gallery-item:hover .zoom { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8,16,38,.94);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 85vh; border-radius: 6px; box-shadow: 0 20px 80px rgba(0,0,0,.5); }
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.7rem;
  cursor: pointer;
  transition: background .2s;
}
.lightbox button:hover { background: var(--blue); }
.lb-close { top: 26px; right: 30px; }
.lb-prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 30px; top: 50%; transform: translateY(-50%); }

/* ---------------- Accordion / tabs ---------------- */
.accordion-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.accordion-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy);
}
.accordion-head span { display: flex; align-items: center; gap: 14px; }
.accordion-head .num { color: var(--blue); }
.accordion-head i {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  display: grid; place-items: center;
  font-style: normal;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform .3s, background .3s, color .3s;
  flex-shrink: 0;
}
.accordion-item.open .accordion-head i { transform: rotate(45deg); background: var(--blue); color: #fff; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.accordion-item.open .accordion-body { max-height: 900px; }
.accordion-body-inner { padding: 0 24px 24px 62px; color: var(--muted); }
.accordion-body-inner ul { margin-top: 10px; }
.accordion-body-inner li { padding-left: 20px; position: relative; margin-bottom: 7px; }
.accordion-body-inner li::before { content: '•'; color: var(--orange); position: absolute; left: 4px; font-size: 1.2rem; line-height: 1.2; }

/* ---------------- Insights ---------------- */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.insight-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.insight-card .thumb { height: 190px; overflow: hidden; }
.insight-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.insight-card:hover .thumb img { transform: scale(1.07); }
.insight-body { padding: 24px; }
.insight-meta { font-size: .82rem; color: var(--blue); font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.insight-body h3 { font-size: 1.28rem; margin: 8px 0 12px; }
.insight-body h3 a:hover { color: var(--blue); }
.insight-body p { font-size: .93rem; color: var(--muted); }

/* ---------------- CTA band ---------------- */
.cta-band {
  background: linear-gradient(115deg, var(--blue-dark) 0%, var(--blue) 55%, #37a4ef 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 54px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -60px; top: -90px;
  width: 320px; height: 320px;
  border: 45px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: 8px; }
.cta-band p { color: #dceeff; max-width: 610px; }
.cta-band .btn { flex-shrink: 0; position: relative; z-index: 2; }

/* ---------------- Page banner (interior) ---------------- */
.page-banner {
  position: relative;
  background: linear-gradient(90deg, rgba(15,29,65,.95), rgba(18,45,91,.76)), url('../images/cnc-machines.jpg') center/cover;
  color: #fff;
  padding: 84px 0 80px;
}
.page-banner .eyebrow { color: #96c9f5; }
.page-banner h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 10px; }
.page-banner p { color: #d1dff4; max-width: 640px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .9rem; margin-top: 18px; color: #b8cbea; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* ---------------- Content blocks (interior) ---------------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: .3s;
}
.info-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.info-card .icon-box {
  width: 52px; height: 52px;
  border-radius: 7px;
  background: var(--soft-blue);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.info-card svg { width: 26px; height: 26px; }
.info-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.info-card p { font-size: .94rem; color: var(--muted); }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 7px 17px;
  font-size: .9rem;
  color: var(--navy);
  background: #fff;
  transition: .25s;
}
.tag:hover { border-color: var(--blue); background: var(--soft-blue); }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact-grid-single { grid-template-columns: 1fr; max-width: 820px; }
.contact-block { margin-bottom: 30px; }
.contact-block h3 { font-size: 1.3rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.contact-block h3 svg { width: 22px; color: var(--blue); }
.contact-block p, .contact-block a { color: var(--muted); }
.contact-block a:hover { color: var(--blue); }
.contact-line { display: flex; gap: 12px; margin-bottom: 9px; }
.contact-line b { color: var(--navy); min-width: 78px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  font-size: 1.02rem;
}
.form-group label span { color: var(--orange); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--ink);
  background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22,131,216,.12);
  background: #fff;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .86rem; color: var(--muted); }
.form-success {
  display: none;
  background: #eaf7ef;
  border: 1px solid #b9e3c8;
  color: #1b7a42;
  padding: 14px 18px;
  border-radius: 5px;
  margin-bottom: 18px;
}
.form-success.show { display: block; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-dark); color: #b7c6e2; padding: 76px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-about .logo-mark { background: var(--blue); }
.footer-about .logo-text strong { color: #fff; }
.footer-about .logo-text small { color: var(--orange); }
.footer-about p { margin-top: 20px; font-size: .94rem; max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: 1.24rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--orange); }
.footer-col li { margin-bottom: 11px; font-size: .93rem; }
.footer-col a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; line-height: 1.55; }
.footer-contact svg { width: 16px; color: var(--orange); flex-shrink: 0; margin-top: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px;
  font-size: .86rem;
  color: #8fa1c4;
}
.footer-bottom a:hover { color: var(--orange); }

/* Back to top */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(22,131,216,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .nav > li > a { padding: 12px 10px; font-size: .98rem; }
  .header-cta .btn { display: none; }
  .feature-grid, .stat-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split { gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 900px) {
  .topbar-list span:first-child { display: none; }
  .menu-toggle { display: flex; flex-direction: column; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav.open { max-height: 620px; overflow-y: auto; }
  .nav > li > a { padding: 12px 0; justify-content: space-between; }
  .nav > li > a::after { display: none; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .nav li:hover > .dropdown { display: block; }
  .hero { min-height: 540px; }
  .category-grid, .gallery-grid, .insight-grid, .info-cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media img { min-height: 320px; max-height: 420px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--max)); }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .topbar { display: none; }
  .header-inner { min-height: 68px; }
  .logo-mark { width: 40px; height: 40px; font-size: 1rem; }
  .logo-text strong { font-size: 1.22rem; }
  .hero { min-height: 500px; }
  .hero .container { padding: 70px 0 105px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { margin-top: -50px; margin-bottom: 20px; }
  .stat-grid, .feature-grid, .process-grid, .category-grid, .gallery-grid, .insight-grid, .info-cards, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-item:last-child { border-bottom: none; }
  .form-row { gap: 0; }
  .form-card { padding: 24px; }
  .cta-band { padding: 30px 24px; }
  .page-banner { padding: 62px 0 58px; }
  .footer-bottom { flex-direction: column; }
  .accordion-body-inner { padding-left: 24px; }
  .lightbox { padding: 16px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .video-overlay .play-btn { width: 64px; height: 64px; }
}
