/*
 * Gi Group Holding — Zhejiang / Greater China landing
 * VIS: Dark Blue #00145A on white
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 82px; }

body {
  font-family: Outfit, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #fff;
  color: #1A2340;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.25rem; } }

h1, h2, h3, .font-display {
  font-family: Syne, Outfit, sans-serif;
  letter-spacing: -0.03em;
}
.hot-text {
  font-style: normal;
  color: #2B5BFF;
}

.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2B5BFF;
  margin-bottom: 0.8rem;
  line-height: 1.55;
}
.section-label--long {
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
  max-width: 820px;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #00145A;
  line-height: 1.15;
  margin-bottom: 0.95rem;
}
.section-desc {
  font-size: 1.12rem;
  color: #3D4A6B;
  line-height: 1.75;
  max-width: 760px;
}
.section-header { text-align: left; margin-bottom: 2.7rem; }
@media (min-width: 768px) {
  .section-header { text-align: center; }
  .section-header .section-desc { margin: 0 auto; }
}

.btn-hot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #2B5BFF;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 1.55rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,20,90,0.18);
  transition: transform 180ms, filter 180ms, background 180ms;
}
.btn-hot:hover { transform: translateY(-2px); background: #1E4AE8; }
.btn-block { width: 100%; }

.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #00145A;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(0,20,90,0.28);
  cursor: pointer;
  transition: background 180ms, color 180ms;
}
.btn-line:hover { background: #00145A; color: #fff; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #00145A;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.88rem 1.5rem;
  border: 1.5px solid rgba(0,20,90,0.28);
  cursor: pointer;
  transition: border-color 180ms, color 180ms, background 180ms;
}
.btn-ghost:hover { border-color: #00145A; background: #F3F6FF; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1);
  transition-delay: var(--delay, 0ms);
}
.reveal.visible { opacity: 1; transform: none; }

/* NAV */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #00145A;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.navbar.scrolled {
  box-shadow: 0 8px 24px rgba(0,20,90,0.28);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.logo-img {
  height: 34px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}
.nav-links { display: none; gap: 1.7rem; margin-left: auto; }
@media (min-width: 920px) { .nav-links { display: flex; } }
.nav-link {
  color: rgba(255,255,255,0.86);
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-link:hover { color: #fff; }
.nav-cta { margin-left: auto; white-space: nowrap; }
@media (min-width: 920px) { .nav-cta { margin-left: 1rem; } }

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
@media (min-width: 920px) { .hamburger { display: none; } }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; transition: 0.25s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.nav-links.open {
  display: flex; flex-direction: column;
  position: fixed; top: 72px; left: 0; right: 0;
  background: #00145A;
  padding: 1.4rem 1.5rem 1.8rem;
  gap: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* HERO */
.hero {
  position: relative;
  padding: 8.2rem 0 3.6rem;
  background: #fff;
}
.hero-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-split {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: 2.6rem;
  }
}
.hero-kicker {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2B5BFF;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.15rem;
  color: #00145A;
}
.hero-title em {
  font-style: normal;
  color: #2B5BFF;
  display: block;
  white-space: nowrap;
}
.hero-sub {
  font-size: 1.08rem;
  color: #3D4A6B;
  line-height: 1.8;
  margin-bottom: 1.8rem;
  max-width: 560px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-stage {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  background: transparent;
  box-shadow: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.hero-eco {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
}

/* RANKING */
.ranking {
  background: #F4F6FB;
  padding: 3.6rem 0 3.8rem;
}
.ranking-lead {
  text-align: center;
  font-size: 1.2rem;
  color: #1A2340;
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto 2rem;
  font-weight: 600;
}
.ranking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem 2.4rem;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 800px) {
  .ranking-grid { grid-template-columns: 1fr 1fr; }
}
.rank-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.4rem 0;
  text-align: left;
}
.rank-icon {
  width: 108px;
  height: 108px;
  margin: 0;
  flex-shrink: 0;
  object-fit: contain;
}
.rank-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.rank-num {
  font-family: Syne, sans-serif;
  font-size: clamp(2.2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  color: #2B5BFF;
  line-height: 1.12;
  display: block;
}
.rank-num span {
  font-size: 0.42em;
  vertical-align: super;
  margin-left: 0.06em;
}
.rank-label {
  margin-top: 0;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #00145A;
  line-height: 1.25;
}
.rank-note {
  margin-top: 0;
  font-size: 1.02rem;
  color: #00145A;
  font-weight: 600;
  line-height: 1.3;
}
.rank-note em {
  font-style: normal;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: 1.12em;
  line-height: 1;
  color: #2B5BFF;
  margin-right: 0.28rem;
}
.ranking-awards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}
.ranking-awards span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #00145A;
  background: #fff;
  border: 1px solid rgba(0,20,90,0.12);
  padding: 0.55rem 0.9rem;
}

/* SERVICE CARDS */
.products-section { padding: 5.4rem 0; background: #fff; }
.gpu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width: 860px) {
  .gpu-grid { grid-template-columns: repeat(2, 1fr); }
}
.gpu-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0,20,90,0.1);
  overflow: hidden;
  transition: transform 200ms, border-color 200ms, box-shadow 200ms;
}
.gpu-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,20,90,0.28);
  box-shadow: 0 14px 32px rgba(0,20,90,0.08);
}
.gpu-visual {
  position: relative;
  background: #EEF2F8;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  flex-shrink: 0;
}
.gpu-visual img:not(.gpu-logo) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.gpu-logo {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  width: auto;
  height: 28px;
  max-width: 38%;
  object-fit: contain;
  background: none;
  padding: 0;
  box-shadow: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}
.gpu-logo--wide { height: 30px; max-width: 42%; }
.gpu-logo--square { height: 36px; }
.gpu-body { padding: 1.35rem 1.4rem 1.45rem; display: flex; flex-direction: column; flex: 1; }
.gpu-tag {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2B5BFF;
  margin-bottom: 0.35rem;
  font-weight: 700;
}
.gpu-body h3 { font-size: 1.35rem; margin-bottom: 0.3rem; color: #00145A; }
.gpu-sub {
  font-size: 1.12rem;
  font-weight: 800;
  color: #00145A;
  margin-bottom: 0.7rem;
  line-height: 1.3;
}
.gpu-body p {
  font-size: 0.98rem;
  color: #3D4A6B;
  line-height: 1.65;
  margin-bottom: 0.9rem;
}
.gpu-body p.gpu-focus-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: #00145A;
  margin: 0.15rem 0 0.4rem;
  line-height: 1.4;
}
.spec-list--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0.8rem;
}
.spec-rail {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-bottom: 1rem;
}
.spec-rail span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #00145A;
  background: #F4F6FB;
  border: 1px solid rgba(0,20,90,0.1);
  padding: 0.28rem 0.55rem;
}
.spec-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.spec-list li {
  position: relative;
  padding-left: 1.05rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #00145A;
  line-height: 1.45;
}
.spec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 6px;
  height: 6px;
  background: #2B5BFF;
}
.gpu-body .btn-line { margin-top: auto; width: 100%; }

/* INDUSTRY sheet */
.memory-section { padding: 5.4rem 0; background: #F4F6FB; }
.industries-sheet {
  background: #fff;
  border: 1px solid rgba(0,20,90,0.08);
  padding: 1.6rem 1.4rem;
}
.industries-sheet img {
  width: 100%;
  height: auto;
  display: block;
}
.sector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .sector-grid { grid-template-columns: repeat(4, 1fr); }
}
.sector-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0,20,90,0.08);
  padding: 1rem 1rem 1.05rem;
  cursor: pointer;
  transition: border-color 180ms, box-shadow 180ms, transform 180ms;
  min-height: 100%;
}
.sector-card:hover {
  border-color: rgba(0,20,90,0.28);
  box-shadow: 0 12px 28px rgba(0,20,90,0.07);
  transform: translateY(-2px);
}
.sector-art {
  width: 100%;
  height: 78px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.8rem;
}
.dimm-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 0.32rem;
  margin-bottom: 0.9rem;
  min-height: 28px;
}
.dimm-specs span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #00145A;
  background: #F4F6FB;
  border: 1px solid rgba(0,20,90,0.1);
  padding: 0 0.48rem;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}
.sector-card .dimm-cta { width: 100%; margin-top: auto; }

/* PRESENCE */
.presence { padding: 5.4rem 0; background: #fff; }
.presence .container { max-width: 1280px; }
.presence-unit { margin-bottom: 4.6rem; }
.presence-unit:last-child { margin-bottom: 0; }
.presence-head { margin-bottom: 1.7rem; }
.presence-head .section-desc {
  max-width: none;
  width: 100%;
  white-space: nowrap;
  font-size: 1.05rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.presence-split {
  display: grid;
  gap: 1.15rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .presence-split {
    grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.52fr);
  }
  .presence-split--china {
    grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  }
}
.presence-visual {
  background: #fff;
  border: 1px solid rgba(0,20,90,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.7rem;
}
.presence-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.presence-side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}
.presence-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  min-width: 0;
}
.presence-stats--four { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .presence-stats--four {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
  .presence-stats--six {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
  }
}
.presence-stats .stat-item {
  background: #F4F6FB;
  border: 1px solid rgba(0,20,90,0.08);
  padding: 1.05rem 0.85rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.stat-num {
  font-family: Syne, sans-serif;
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  font-weight: 800;
  color: #00145A;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  min-height: 1.05em;
  white-space: nowrap;
}
.presence-stats--six .stat-num {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  letter-spacing: -0.03em;
}
.presence-stats--six .stat-num--compact {
  font-size: clamp(1.22rem, 1.7vw, 1.62rem);
  letter-spacing: -0.06em;
}
.stat-label {
  margin-top: 0.42rem;
  font-size: 1.02rem;
  color: #3D4A6B;
  line-height: 1.3;
  white-space: nowrap;
}
.award-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem 0.5rem;
  width: 100%;
  margin: 0.15rem 0 0;
}
.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  background: transparent;
  border: none;
  padding: 0;
}
.award-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}
.award-item strong {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00145A;
  line-height: 1.35;
  white-space: normal;
}

/* CLIENTS */
.testimonials { padding: 5.4rem 0; background: #F4F6FB; }
.clients-wall {
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
}
.clients-band {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(0,20,90,0.08);
  padding: 1.05rem 1.1rem;
  box-shadow: 0 8px 22px rgba(0,20,90,0.04);
}
.clients-band img { width: 100%; height: auto; }

@media (max-width: 1100px) {
  .presence-head .section-desc { white-space: normal; }
}
@media (max-width: 640px) {
  .stat-label { white-space: normal; }
  .award-row { gap: 1rem 0.6rem; }
  .award-item img { width: 56px; height: 56px; }
  .award-item strong { font-size: 0.68rem; letter-spacing: 0.04em; }
}

/* CONTACT */
.contact-section {
  padding: 5.4rem 0 5.6rem;
  background: #fff;
}
.contact-split { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .contact-split { grid-template-columns: 1fr 1fr; align-items: start; }
}
.contact-lead {
  color: #3D4A6B;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0 0 1.4rem;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #F4F6FB;
  padding: 0.95rem 1rem;
  margin-bottom: 0.7rem;
  border: 1px solid rgba(0,20,90,0.08);
}
.contact-row:hover { border-color: rgba(0,20,90,0.28); box-shadow: 0 8px 18px rgba(0,20,90,0.05); }
.row-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.row-icon--wa { background: #00145A; }
.row-icon--mail { background: #2B5BFF; }
.row-title { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #2B5BFF; }
.row-val { font-weight: 700; font-size: 1.05rem; color: #00145A; }
.pledges {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin-top: 1rem;
}
.pledges span {
  font-size: 0.82rem;
  border: 1px solid rgba(0,20,90,0.14);
  color: #00145A;
  padding: 0.32rem 0.6rem;
}
.contact-addr {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #3D4A6B;
  line-height: 1.6;
}

.quote-panel {
  background: #F4F6FB;
  padding: 1.7rem 1.5rem 1.8rem;
  border: 1px solid rgba(0,20,90,0.1);
  box-shadow: 0 12px 28px rgba(0,20,90,0.045);
}
.quote-head { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.85rem; }
.quote-mark {
  width: 40px; height: 40px;
  background: #00145A;
  color: #fff;
  font-family: Syne, sans-serif;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.quote-title { font-family: Syne, sans-serif; font-weight: 800; color: #00145A; }
.quote-sub { font-size: 0.88rem; color: #3D4A6B; }
.quote-desc { font-size: 1rem; color: #3D4A6B; margin-bottom: 1rem; }
.chip-label { font-size: 0.88rem; margin-bottom: 0.5rem; color: #00145A; font-weight: 600; }
.product-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.1rem; }
.chip {
  background: #fff;
  border: 1px solid rgba(0,20,90,0.12);
  color: #1A2340;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}
.chip.active, .chip:hover { border-color: #00145A; color: #00145A; background: #E8EEFF; }
.or-line {
  display: flex; align-items: center; gap: 0.7rem;
  margin: 0.9rem 0;
  color: #6B7896;
  font-size: 0.78rem;
}
.or-line::before, .or-line::after {
  content: ''; flex: 1; height: 1px; background: rgba(0,20,90,0.12);
}
.privacy { margin-top: 0.85rem; font-size: 0.82rem; color: #6B7896; }

/* FOOTER */
.footer { background: #00145A; padding-top: 2.8rem; color: #D7DFF2; }
.footer-grid {
  display: grid;
  gap: 1.6rem;
  padding-bottom: 2rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.8fr 0.9fr 1.3fr; }
}
.footer-desc { font-size: 0.95rem; color: #C5CFE4; margin: 0.9rem 0; line-height: 1.6; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.footer-tags span {
  font-size: 0.75rem;
  border: 1px solid rgba(255,255,255,0.22);
  color: #E8EEFF;
  padding: 0.22rem 0.5rem;
}
.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9EC2FF;
  margin-bottom: 0.7rem;
}
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: #E8EEFF; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-link { display: block; color: #E8EEFF; font-size: 0.95rem; margin-bottom: 0.4rem; word-break: break-word; }
.footer-co { font-size: 0.88rem; color: #9AABCC; margin-top: 0.6rem; line-height: 1.55; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0 1.3rem;
  font-size: 0.82rem;
  color: #9AABCC;
}

/* CONTACT FLOAT */
.contact-float {
  position: fixed;
  top: 50%;
  right: 1rem;
  z-index: 200;
  width: 228px;
  transform: translateY(calc(-50% + 16px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
}
.contact-float.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}
.contact-float-toggle { display: none; }
.contact-float-panel {
  background: #fff;
  border: 1px solid rgba(0,20,90,0.12);
  border-radius: 16px;
  padding: 0.95rem 0.9rem 1rem;
  box-shadow: 0 16px 40px rgba(0,20,90,0.14);
}
.contact-float-head {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00145A;
  text-align: center;
  margin-bottom: 0.7rem;
}
.contact-float-item {
  display: block;
  background: #F4F6FB;
  border: 1px solid rgba(0,20,90,0.08);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.45rem;
}
.contact-float-item:last-child { margin-bottom: 0; }
.contact-float-item:hover { border-color: rgba(0,20,90,0.28); }
.contact-float-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B7896;
  margin-bottom: 0.15rem;
}
.contact-float-wa .contact-float-label { color: #2B5BFF; }
.contact-float-item strong {
  display: block;
  color: #00145A;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
  word-break: break-all;
}

@media (max-width: 899px) {
  .contact-float {
    top: auto;
    bottom: 1rem;
    right: 0.75rem;
    width: auto;
    transform: translateY(16px);
  }
  .contact-float.visible { transform: translateY(0); }
  .contact-float-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00145A;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(0,20,90,0.28);
  }
  .contact-float-panel {
    display: none;
    position: absolute;
    right: 0;
    bottom: 3.3rem;
    width: 228px;
  }
  .contact-float.open .contact-float-panel { display: block; }
}
@media (max-width: 560px) {
  .nav-cta { padding: 0.65rem 0.8rem; font-size: 0.72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
