/* ==========================================================================
   ANDA GUANGDE AUTOMÓVEIS — 全站样式
   纯静态、零依赖，移动端优先
   ========================================================================== */

:root {
  --navy-900: #0A2344;
  --navy-800: #0E2F5C;
  --navy-700: #14448A;
  --navy-500: #1E5AA8;
  --navy-100: #E8EFF8;

  --red-600: #D32029;
  --red-700: #A8181F;
  --red-100: #FDEAEB;

  --gold: #C9A227;

  --ink:      #14202E;
  --muted:    #5A6B7F;
  --line:     #E3E9F1;
  --bg:       #FFFFFF;
  --bg-soft:  #F5F7FA;
  --bg-dark:  #0A2344;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(10, 35, 68, .06), 0 1px 3px rgba(10, 35, 68, .09);
  --shadow-md: 0 4px 14px rgba(10, 35, 68, .08), 0 2px 5px rgba(10, 35, 68, .05);
  --shadow-lg: 0 18px 44px rgba(10, 35, 68, .16);

  --maxw: 1200px;
  --header-h: 68px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* --------------------------------------------------------------- reset */

*, *::before, *::after { box-sizing: border-box; }

/* 保证 hidden 属性始终生效（给元素设过 display 之后它会失效） */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.22; font-weight: 800; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--navy-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------ layout */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.5rem, 4.2vw, 2.15rem); }
.section-head p { color: var(--muted); font-size: 1.02rem; margin-bottom: 0; }
.section--dark .section-head p { color: rgba(255, 255, 255, .74); }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 10px;
}
.section--dark .eyebrow { color: #FF6B72; }

/* ---------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .96rem;
  line-height: 1.2;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red-600); color: #fff; box-shadow: 0 6px 18px rgba(211, 32, 41, .3); }
.btn--primary:hover { background: var(--red-700); box-shadow: 0 10px 24px rgba(211, 32, 41, .36); }

.btn--navy { background: var(--navy-700); color: #fff; box-shadow: 0 6px 18px rgba(20, 68, 138, .28); }
.btn--navy:hover { background: var(--navy-800); }

.btn--ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }

.btn--outline { background: transparent; color: var(--navy-700); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--navy-700); background: var(--navy-100); }

.btn--wa { background: #25D366; color: #06301A; box-shadow: 0 6px 18px rgba(37, 211, 102, .32); }
.btn--wa:hover { background: #1FBF5B; }

.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 1.03rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ----------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand__mark { height: 32px; width: auto; flex-shrink: 0; }
.brand__txt {
  font-size: 1.01rem; font-weight: 800;
  color: var(--navy-900); letter-spacing: .02em;
  white-space: nowrap;
}

.nav { margin-left: auto; display: none; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--navy-900);
  transition: background-color .15s ease, color .15s ease;
}
.nav a:hover { background: var(--navy-100); }
.nav a.is-active { color: var(--red-600); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav + .header-actions { margin-left: 10px; }

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang a {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
}
.lang a:hover { color: var(--navy-900); }
.lang a.is-active { background: var(--navy-900); color: #fff; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 11px;
  border-radius: 10px;
}
.nav-toggle span {
  display: block; height: 2.5px; width: 100%;
  background: var(--navy-900); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 10px 0 18px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 13px 20px;
  font-weight: 700;
  color: var(--navy-900);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav .btn { margin: 16px 20px 0; width: calc(100% - 40px); }

/* ------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: clamp(460px, 76vh, 700px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 35, 68, .60) 0%, rgba(10, 35, 68, .34) 36%, rgba(10, 35, 68, .94) 100%),
    linear-gradient(100deg, rgba(10, 35, 68, .70) 0%, rgba(10, 35, 68, .26) 48%, rgba(10, 35, 68, 0) 72%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 44px;
  padding-top: 120px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero__badge::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: #3BE07A;
  box-shadow: 0 0 0 4px rgba(59, 224, 122, .25);
}
.hero h1 {
  font-size: clamp(2rem, 6.2vw, 3.5rem);
  max-width: 17ch;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}
.hero p {
  font-size: clamp(1rem, 2.4vw, 1.16rem);
  color: rgba(255, 255, 255, .88);
  max-width: 54ch;
  margin-bottom: 26px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero__stat strong {
  display: block;
  font-size: 1.44rem;
  font-weight: 800;
  line-height: 1.15;
}
.hero__stat span { font-size: .85rem; color: rgba(255, 255, 255, .84); }

/* --------------------------------------------------------- vehicle card */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.vcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.vcard__media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.vcard:hover .vcard__media img { transform: scale(1.05); }
.vcard__media--empty {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-700));
  color: rgba(255, 255, 255, .5);
  font-size: 2.6rem; font-weight: 800;
}

.tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: #fff;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.tag--used { background: var(--gold); color: #23180A; }
.tag--new  { background: var(--red-600); color: #fff; }

.vcard__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.vcard__body h3 { font-size: 1.28rem; margin-bottom: 6px; }
.vcard__body .tagline {
  color: var(--muted);
  font-size: .93rem;
  margin-bottom: 18px;
  flex: 1;
}
.vcard__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 16px;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
}
.vcard__price .label { font-size: .78rem; color: var(--muted); font-weight: 600; }
.vcard__price .value { font-size: 1.32rem; font-weight: 800; color: var(--navy-900); margin-left: auto; }

/* --------------------------------------------------------- features */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.feature {
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.feature__icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--navy-100);
  color: var(--navy-700);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.06rem; margin-bottom: 7px; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; }
.section--dark .feature { background: rgba(255, 255, 255, .055); border-color: rgba(255, 255, 255, .14); }
.section--dark .feature__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.section--dark .feature p { color: rgba(255, 255, 255, .7); }

/* ------------------------------------------------------ page header */

.page-head {
  padding: 42px 0 34px;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
}
.page-head h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); margin-bottom: 10px; }
.page-head p { color: rgba(255, 255, 255, .82); max-width: 62ch; margin-bottom: 0; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: .84rem;
  color: rgba(255, 255, 255, .66);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255, 255, 255, .86); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span::before { content: "›"; margin-right: 8px; }

/* ---------------------------------------------------- vehicle detail */

.vhero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bg-soft);
}
.vhero__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); }
.vhero__media img { width: 100%; height: 100%; object-fit: cover; }
.vhero__info { padding: 32px 20px; }
.vhero__info h1 { font-size: clamp(1.6rem, 5vw, 2.3rem); margin-bottom: 10px; }
.vhero__tagline { color: var(--muted); font-size: 1.02rem; margin-bottom: 22px; }

.price-from {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.price-from .label { font-size: .8rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.price-from .value {
  font-size: clamp(1.5rem, 5vw, 1.95rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.2;
  margin-top: 4px;
}
.price-from .note { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }

/* gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
  padding: 0;
  display: block;
  width: 100%;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .2s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 35, 68, .5));
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }

/* specs + prices table */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
table { width: 100%; border-collapse: collapse; min-width: 420px; }
th, td { padding: 14px 18px; text-align: left; font-size: .94rem; }
thead th {
  background: var(--navy-900);
  color: #fff;
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody tr + tr td, tbody tr + tr th { border-top: 1px solid var(--line); }
tbody th { font-weight: 600; color: var(--muted); width: 42%; }
tbody tr:nth-child(even) { background: var(--bg-soft); }
td.price-cell { font-weight: 800; color: var(--navy-900); white-space: nowrap; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.note-box {
  padding: 18px 20px;
  border-left: 4px solid var(--red-600);
  background: var(--red-100);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .92rem;
}

/* 车型页的一段介绍（内容来自后台） */
.vehicle-intro {
  padding: 18px 20px;
  margin: 0 0 28px;
  border-left: 4px solid var(--navy-700);
  background: var(--navy-100);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #22334A;
  line-height: 1.78;
}
.note-box p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------- lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 18, 34, .94);
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lightbox__stage { max-width: 1180px; width: 100%; }
.lightbox__img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #061222;
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .88);
  font-size: .9rem;
}
.lightbox__count { white-space: nowrap; font-variant-numeric: tabular-nums; }
.lightbox__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  transition: background-color .15s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .26); }
.lightbox__nav { display: flex; gap: 10px; }
.lightbox__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.6rem; line-height: 1;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .26); }

/* ------------------------------------------------------------- cta */

.cta-band {
  padding: 52px 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 62%, #1B4F96 100%);
  color: #fff;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.cta-band h2 { font-size: clamp(1.45rem, 4.4vw, 2.05rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-bottom: 0; max-width: 56ch; }

/* --------------------------------------------------------- contacts */

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }

.contact-card {
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 1.04rem; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.contact-card h3 svg { width: 20px; height: 20px; color: var(--red-600); flex-shrink: 0; }
.contact-card p { color: var(--muted); font-size: .93rem; margin-bottom: 14px; }
.contact-card .big {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: .01em;
  margin-bottom: 14px;
  display: block;
}

.qr-card { text-align: center; }
.qr-card img {
  width: 190px; height: 190px;
  margin: 0 auto 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
}

.map-embed {
  position: relative;
  margin-top: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
/* 地图加载不出来时（网络不通等情况）显示的兜底文案 */
.map-embed::before {
  content: attr(data-fallback);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}
.map-embed iframe { position: relative; width: 100%; height: 380px; border: 0; display: block; }

/* --------------------------------------------------------- about */

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.4rem, 4vw, 1.95rem); margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #2B3A4C; }

.fact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 30px 0; }
.fact {
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.fact dt { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.fact dd { margin: 0; font-weight: 700; color: var(--navy-900); font-size: 1rem; }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }

/* --------------------------------------------------------- footer */

.site-footer {
  background: #061830;
  color: rgba(255, 255, 255, .7);
  padding: 48px 0 26px;
  font-size: .91rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 34px; }
.site-footer h4 {
  color: #fff;
  font-size: .8rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li + li { margin-top: 9px; }
.footer-logo { height: 38px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: rgba(255, 255, 255, .6); max-width: 34ch; font-size: .89rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .83rem;
  color: rgba(255, 255, 255, .5);
}

/* ---------------------------------------------------- whatsapp float */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 15px;
  border-radius: 999px;
  background: #25D366;
  color: #06301A;
  font-weight: 800;
  font-size: .92rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .42);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 34px rgba(37, 211, 102, .5); }
.wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-float span { display: none; }

/* ------------------------------------------------------ breakpoints */

/* 小屏页头：logo 只保留圆形图形标，避免整行放不下把页面撑宽 */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .brand__mark { height: 26px; }
  .brand__txt { font-size: .9rem; letter-spacing: 0; }
  .header-actions { gap: 5px; }
  .lang a { padding: 5px 8px; font-size: .74rem; }
  .nav-toggle { width: 40px; padding: 0 9px; }
  .hero__stats { gap: 10px 22px; }
}

@media (min-width: 640px) {
  .section { padding: 72px 0; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 4 / 3; }
  .vhero__info { padding: 40px 28px; }
  .wa-float span { display: inline; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }

  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .fact-grid { grid-template-columns: repeat(4, 1fr); }

  .vhero { grid-template-columns: 1.15fr .85fr; align-items: stretch; }
  .vhero__media { aspect-ratio: auto; min-height: 520px; max-height: 620px; }
  .vhero__info { padding: 52px 46px; display: flex; flex-direction: column; justify-content: center; }

  .detail-grid { grid-template-columns: 1.05fr .95fr; gap: 44px; }
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split--reverse .split__media { order: 2; }

  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-band__inner > div { flex: 1; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1120px) {
  .hero__inner { padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .wa-float, .lightbox, .cta-band { display: none !important; }
}
