/* ================================================================
   CHINMIN COMPUTING — 诚铭算能
   B2B Server Components Supplier — V7
   Design system closely modelled on telecompolska.com
   ================================================================ */

/* ============================================
   1. DESIGN TOKENS (measured from telecompolska.com)
   ============================================ */
:root {
  /* Brand colors */
  --navy: #1E2B4D;        /* hero + cards bg (rgb 30,43,77) */
  --navy-deep: #1A2440;   /* body text (rgb 26,36,64) */
  --navy-2: #2D3D6B;      /* secondary nav text */
  --body-text: #3A4A70;   /* card desc (rgb 58,74,112) */
  --red: #C42B3A;         /* primary accent (rgb 196,43,58) */
  --red-deep: #A32334;
  --alt: #F5F6FA;         /* light gray section (rgb 245,246,250) */
  --card-border: #DDDEEF; /* prod card border (rgb 221,227,239) */
  --card-shadow: rgba(29, 40, 77, 0.11) 0px 4px 28px 0px;

  --white: #FFFFFF;
  --black: #0B1220;

  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', 'Segoe UI', -apple-system, Roboto, Arial, sans-serif;
  --font-zh-hans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-zh-hant: 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --gutter: 28px;
  --header-h: 72px;

  /* Section padding (measured 92px) */
  --sec-pad: 92px;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-default: 250ms ease;
  --t-slow: 500ms ease;
}

/* ============================================
   2. RESET
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy-deep);
  background: var(--white);
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); color: var(--navy); }

/* Chinese typography adjustments */
body[data-locale="zh-Hans"] { font-family: var(--font-zh-hans); }
body[data-locale="zh-Hant"] { font-family: var(--font-zh-hant); }

body[data-locale="zh-Hans"] h1, body[data-locale="zh-Hans"] h2, body[data-locale="zh-Hans"] h3,
body[data-locale="zh-Hant"] h1, body[data-locale="zh-Hant"] h2, body[data-locale="zh-Hant"] h3 {
  font-family: var(--font-zh-hans);
  font-weight: 700;
  letter-spacing: 0;
}

body[data-locale="zh-Hans"] .sec__title, body[data-locale="zh-Hant"] .sec__title {
  font-family: var(--font-zh-hans);
  letter-spacing: 0;
}

body[data-locale="zh-Hans"] .hero-title, body[data-locale="zh-Hant"] .hero-title {
  font-family: var(--font-zh-hans);
  font-weight: 700;
  letter-spacing: 0;
}

/* ============================================
   3. LAYOUT HELPERS
   ============================================ */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============================================
   4. BUTTONS (measured: Inter 14.4px, padding 15px 34px, radius 6px, 2px border)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 15px 34px;
  font-family: var(--font-sans);
  font-size: 14.4px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border-radius: 6px;
  border: 2px solid transparent;
  white-space: nowrap;
  min-width: max-content;
  transition: background var(--t-default), color var(--t-default), border-color var(--t-default), transform var(--t-default);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn--red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--red:hover { background: var(--red-deep); border-color: var(--red-deep); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.85); }

.btn--navy { background: transparent; color: var(--navy-2); border-color: var(--navy-2); }
.btn--navy:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.btn--sm { padding: 11px 22px; font-size: 13.5px; }

/* ============================================
   5. HEADER — transparent overlay, white text
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  z-index: 1000;
  border-bottom: 1px solid rgba(30, 43, 77, 0.08);
  box-shadow: 0 1px 10px rgba(29, 40, 77, 0.05);
  transition: background var(--t-default), border-color var(--t-default), box-shadow var(--t-default);
}
.site-header.scrolled {
  background: #FFFFFF;
  border-bottom-color: rgba(30, 43, 77, 0.12);
  box-shadow: 0 2px 16px rgba(29, 40, 77, 0.09);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  white-space: nowrap;
}

.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img {
  display: block;
  width: 132px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.main-nav { display: flex; align-items: center; gap: 34px; white-space: nowrap; }
.main-nav a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-2);
  white-space: nowrap;
  padding: 6px 0;
  transition: color var(--t-default);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a.active { color: var(--navy); font-weight: 600; }

.header-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* Language selector — closed by default */
.lang-selector { position: relative; flex-shrink: 0; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-2);
  background: transparent;
  border: 1px solid rgba(30, 43, 77, 0.2);
  border-radius: 6px;
  transition: border-color var(--t-default), color var(--t-default);
}
.lang-btn:hover { border-color: rgba(30, 43, 77, 0.45); color: var(--navy); }
.lang-btn .lang-arrow { font-size: 9px; transition: transform var(--t-default); }
.lang-selector.open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 150px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 20;
}
.lang-selector.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown button {
  display: block;
  width: 100%;
  padding: 11px 14px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-deep);
  white-space: nowrap;
  word-break: keep-all;
  border-bottom: 1px solid var(--alt);
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-dropdown button:last-child { border-bottom: none; }
.lang-dropdown button:hover { background: var(--alt); color: var(--navy); }
.lang-dropdown button.active { color: var(--red); font-weight: 700; background: var(--alt); }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 26px;
  height: 20px;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 1px; transition: all var(--t-default); }
.mobile-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--navy);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 300ms ease;
  overflow-y: auto;
  padding: 96px 24px 32px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .mobile-nav-list { display: flex; flex-direction: column; }
.mobile-menu .mobile-nav-list a {
  display: block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.mobile-menu .mobile-quote { width: 100%; margin-top: 20px; }
.mobile-menu .mobile-lang { display: flex; gap: 10px; margin-top: 20px; }
.mobile-menu .mobile-lang button {
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}
.mobile-menu .mobile-lang button.active { background: #FFFFFF; color: var(--navy); border-color: #FFFFFF; }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-default);
}
.nav-overlay.open { opacity: 1; visibility: visible; }

/* ============================================
   6. HERO — simplified static single-layer structure
   ============================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  width: 100%;
  margin-top: var(--header-h);
  background-color: #07142F;
  overflow: hidden;
}

/* Background image layer — z-index 0 */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay — z-index 1, light, must NOT cover content */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(7, 20, 47, 0.55) 0%,
    rgba(7, 20, 47, 0.70) 55%,
    rgba(7, 20, 47, 0.88) 100%);
}

/* Content — z-index 2, above overlay, centered */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-eyebrow {
  margin-top: 0;
  font-family: var(--font-sans);
  font-size: 11.2px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 54.4px;
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: 0;
  color: #FFFFFF;
  margin-top: 26px;
  max-width: 900px;
}

.hero-description {
  margin-top: 24px;
  max-width: 580px;
  font-family: var(--font-sans);
  font-size: 17.28px;
  line-height: 1.8;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Dots — bottom center */
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
}
.hero-dot.is-active { background: var(--red); }

/* Page counter — bottom right */
.hero-counter {
  position: absolute;
  bottom: 18px;
  right: 28px;
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

/* Chinese hero text adjustments */
body[data-locale="zh-Hans"] .hero-eyebrow, body[data-locale="zh-Hant"] .hero-eyebrow {
  letter-spacing: 0.12em;
}
body[data-locale="zh-Hans"] .hero-description, body[data-locale="zh-Hant"] .hero-description {
  font-weight: 500;
  line-height: 1.8;
}

/* ============================================
   7. STATS BAR (measured: red, 94px, four columns)
   ============================================ */
.statsbar {
  background: var(--red);
  width: 100%;
}
.statsbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 94px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 14px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.stat:first-child { border-left: none; }
.stat__title {
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
}
.stat__sub {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.7);
}

body[data-locale="zh-Hans"] .stat__title, body[data-locale="zh-Hant"] .stat__title {
  letter-spacing: 0.02em;
  white-space: normal;
}
body[data-locale="zh-Hans"] .stat__sub, body[data-locale="zh-Hant"] .stat__sub {
  white-space: normal;
}

/* ============================================
   8. SECTIONS (measured: padding 92px)
   ============================================ */
.sec {
  padding-top: var(--sec-pad);
  padding-bottom: var(--sec-pad);
  background: var(--white);
}
.sec--alt { background: var(--alt); }

/* Section label + title + desc */
.sec__label {
  font-family: var(--font-sans);
  font-size: 11.2px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.sec__title {
  font-family: var(--font-serif);
  font-size: 36.8px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--navy);
  margin-top: 16px;
}
.sec__desc {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  max-width: 560px;
  margin-top: 18px;
}

/* ============================================
   9. WHAT WE DO (measured: grid 1124px, card 530x384 r16)
   ============================================ */
.wwd__grid {
  display: grid;
  grid-template-columns: 1fr 530px;
  gap: 64px;
  align-items: center;
}

.wwd__left .sec__title { max-width: 520px; }
.wwd__left .sec__desc { max-width: 480px; }
.wwd__left .btn { margin-top: 32px; }

/* Navy gradient card */
.wwd__card {
  position: relative;
  height: 384px;
  border-radius: 16px;
  background-color: var(--navy);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.wwd__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.wwd__grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(30, 43, 77, 0.2) 0%,
    rgba(30, 43, 77, 0.88) 58%,
    rgba(20, 29, 55, 0.97) 100%);
}
.wwd__body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px 32px;
}
.wwd__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
}
.wwd__list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.wwd__list li {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding-left: 18px;
  position: relative;
}
.wwd__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--red);
}

/* ============================================
   10. PRODUCT GRID (measured: card 360x237 r16, icon 48x48 r12)
   ============================================ */
.sec__head { text-align: center; }
.sec__head .sec__desc { margin-left: auto; margin-right: auto; }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 56px;
}

.prod-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 32px 26px;
  transition: transform var(--t-default), box-shadow var(--t-default), border-color var(--t-default);
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: rgba(29, 40, 77, 0.16) 0 12px 34px 0;
  border-color: rgba(30, 43, 77, 0.25);
}

.prod-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--alt);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}
.prod-card__icon svg { width: 24px; height: 24px; }

.prod-card__title {
  font-family: var(--font-sans);
  font-size: 16.8px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 22px;
  letter-spacing: 0;
}
.prod-card__desc {
  font-family: var(--font-sans);
  font-size: 13.92px;
  line-height: 1.65;
  color: var(--body-text);
  margin-top: 10px;
}

/* ============================================
   11. NAVY SECTION (sec--navy)
   ============================================ */
.sec--navy { background: var(--navy); }
.sec__title--light { color: #FFFFFF; }
.sec__desc--light { color: rgba(255, 255, 255, 0.7); }
.sec--navy .sec__label { color: rgba(255, 255, 255, 0.5); }

/* ADV grid — why choose us, navy cards 2x2 (measured: 551px wide, r16, rgba(255,255,255,.04)) */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.adv-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 30px 26px;
  transition: background var(--t-default), border-color var(--t-default);
}
.adv-card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); }
.adv-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.adv-card__icon svg { width: 22px; height: 22px; }
.adv-card__title {
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 18px;
  letter-spacing: 0;
}
.adv-card__desc {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
}

/* ============================================
   12. ABOUT — two column, left text right visual
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__text .sec__title { max-width: 520px; }
.about__text .sec__desc { max-width: 500px; }
.about__text .sec__desc + .sec__desc { margin-top: 14px; }
.about__text .btn { margin-top: 32px; }
.about__visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 4.15;
}

/* ============================================
   13. SVC GRID — comprehensive solutions, 3x2 cards
   ============================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 30px 24px;
  transition: transform var(--t-default), box-shadow var(--t-default);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: rgba(29, 40, 77, 0.16) 0 12px 34px 0; }
.svc-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--alt);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}
.svc-card__icon svg { width: 22px; height: 22px; }
.svc-card__title {
  font-family: var(--font-sans);
  font-size: 16.8px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 20px;
  letter-spacing: 0;
}
.svc-card__desc {
  font-family: var(--font-sans);
  font-size: 13.92px;
  line-height: 1.65;
  color: var(--body-text);
  margin-top: 10px;
}

/* ============================================
   14. WHY GRID — execution matters, 3x2 cards
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.why-card {
  background: var(--alt);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px 24px;
  transition: transform var(--t-default), box-shadow var(--t-default);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); }
.why-card--navy { background: var(--navy); border-color: var(--navy); }
.why-card__title {
  font-family: var(--font-sans);
  font-size: 16.8px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
}
.why-card--navy .why-card__title { color: #FFFFFF; }
.why-card__desc {
  font-family: var(--font-sans);
  font-size: 13.92px;
  line-height: 1.65;
  color: var(--body-text);
  margin-top: 10px;
}
.why-card--navy .why-card__desc { color: rgba(255, 255, 255, 0.7); }

/* ============================================
   15. CTA FIN — red band (measured: 80px pad, red)
   ============================================ */
.cta-fin {
  background: var(--red);
  padding: 80px 0;
  width: 100%;
}
.cta-fin__inner { text-align: center; }
.cta-fin__eyebrow {
  font-family: var(--font-sans);
  font-size: 11.2px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.cta-fin__title {
  font-family: var(--font-serif);
  font-size: 36.8px;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 16px;
}
.cta-fin__desc {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 18px auto 0;
}
.cta-fin__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.btn--white { background: #FFFFFF; color: var(--red); border-color: #FFFFFF; }
.btn--white:hover { background: rgba(255, 255, 255, 0.9); border-color: rgba(255, 255, 255, 0.9); }

/* ============================================
   16. CONTACT — navy section
   ============================================ */
.contact {
  background: var(--navy);
  padding: var(--sec-pad) 0;
  width: 100%;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__info .sec__title { color: #FFFFFF; }
.contact__info .sec__desc { color: rgba(255, 255, 255, 0.7); }
.contact__rows { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.contact__row { display: flex; flex-direction: column; gap: 4px; }
.contact__row-label {
  font-family: var(--font-sans);
  font-size: 11.2px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.contact__row-value {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Quote form */
.quote-form { display: flex; flex-direction: column; gap: 14px; }
.quote-form__row { display: flex; gap: 14px; }
.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  outline: none;
  transition: border-color var(--t-default), background var(--t-default);
}
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.quote-form input:focus,
.quote-form textarea:focus { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.09); }
.quote-form textarea { resize: vertical; }
.btn--block { width: 100%; }

/* ============================================
   17. FOOTER
   ============================================ */
.footer {
  background: #0C1225;
  padding: 28px 0;
  width: 100%;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; flex-direction: column; gap: 3px; }
.footer__name {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}
.footer__legal {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--t-default);
}
.footer__nav a:hover { color: #FFFFFF; }
.footer__copy {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

/* Business Gallery — photo wall, slow seamless loop */
.business-gallery {
  background: #F6F6F6;
  padding: 64px 0 110px;
  width: 100%;
}
.business-gallery__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  position: relative;
}
.business-gallery__eyebrow {
  font-family: var(--font-sans);
  font-size: 11.2px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(30, 43, 77, 0.6);
  margin-right: auto;
  white-space: nowrap;
}
/* 1px coral red hairline spanning the content area */
.business-gallery__line {
  flex: 1;
  height: 1px;
  background: #F04E3E;
  min-width: 40px;
}
.business-gallery__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--t-default);
}
.business-gallery__more:hover { color: var(--red); }
.business-gallery__arrow {
  color: var(--red);
  font-size: 16px;
  line-height: 1;
}
.business-gallery__viewport {
  margin-top: 42px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.business-gallery__track {
  display: flex;
  align-items: center;
  gap: 90px;
  width: max-content;
  will-change: transform;
}
.business-gallery__track.is-paused { animation-play-state: paused; }
/* Slow seamless horizontal loop — user-defined duration via JS */
.business-gallery__track.is-animating {
  animation: gallery-scroll var(--gallery-duration, 60s) linear infinite;
}
@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Photo items — editorial rhythm, no cards */
.gallery-item {
  margin: 0;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(29, 40, 77, 0.08);
  transition: transform 450ms ease, filter 450ms ease;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item:hover {
  transform: scale(1.015);
  filter: brightness(1.06);
}
/* Wide / tall rhythm — balanced visual weight */
.gallery-item--wide { width: 250px; height: 170px; }
.gallery-item--tall { width: 185px; height: 225px; }

/* Legal info grid (company page) */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.legal-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-card--wide { grid-column: 1 / -1; }
.legal-card__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.legal-card__value {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   11. RESPONSIVE
   ============================================ */
@media (max-width: 1279px) {
  .main-nav { gap: 24px; }
  .wwd__grid { grid-template-columns: 1fr 480px; gap: 48px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { gap: 48px; }
  .contact__grid { gap: 48px; }
}

@media (max-width: 1023px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 14px; }
  .header-right .btn { display: none; }
  .wwd__grid { grid-template-columns: 1fr; }
  .wwd__card { height: 340px; }
  .hero-eyebrow { font-size: 10px; }
  .hero-description { font-size: 15px; }
  .sec__title { font-size: 32px; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --header-h: 68px; --sec-pad: 64px; }

  .header-inner { gap: 12px; }
  .header-logo img { width: 120px; max-height: 42px; }
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }

  .hero { min-height: 560px; height: auto; }
  .hero-eyebrow { letter-spacing: 0.14em; }
  .hero-title { font-size: 36px; line-height: 1.22; }
  .hero-description { font-size: 15px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero-actions .btn { width: 100%; }
  .hero-counter { display: none; }

  .statsbar__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { min-height: 84px; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.16); }

  .prod-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .quote-form__row { flex-direction: column; }
  .sec__title { font-size: 28px; }
  .cta-fin__title { font-size: 28px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { justify-content: center; }

  /* Business gallery — mobile: single row, ~1.3 photos visible */
  .business-gallery { padding: 48px 0 80px; }
  .business-gallery__eyebrow { display: none; }
  .business-gallery__header { justify-content: space-between; }
  .business-gallery__line { flex: 1; }
  .business-gallery__viewport { margin-top: 30px; }
  .business-gallery__track { gap: 44px; }
  .gallery-item--wide { width: 200px; height: 136px; }
  .gallery-item--tall { width: 150px; height: 182px; }
}
