/* 柏奥家官网 — 蓝白医疗风设计系统 */
:root {
  --primary: #0066e6;
  --primary-dark: #0a2a6b;
  --primary-mid: #1a4fa8;
  --primary-soft: #e8f1ff;
  --primary-softer: #f4f8ff;
  --accent: #00a0d2;
  --text: #1a2332;
  --text-muted: #5a6b7d;
  --border: #dce6f2;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(10, 42, 107, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 42, 107, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Serif SC", "Songti SC", "STSong", serif;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; color: var(--primary-dark); }
p { margin: 0; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--primary-softer); }
.section-blue {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 55%, var(--primary) 100%);
  color: var(--white);
}
.section-blue h2, .section-blue h3 { color: var(--white); }

.eyebrow { display: none; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.section-desc { color: var(--text-muted); max-width: 620px; font-size: 16px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin-inline: auto; }

/* Core services — stable 3-column cards */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.svc-card-img {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--primary-soft);
}
.svc-card-img img {
  width: 100%;
  height: 220px !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
.svc-card-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6, 21, 48, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.svc-visual {
  height: 220px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 18%, rgba(255,255,255,0.22), transparent 42%),
    linear-gradient(145deg, #0a2a6b 0%, #1a5fc4 55%, #3d8bfd 100%);
}
.svc-visual strong {
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  line-height: 1.3;
}
.svc-visual span {
  font-size: 13px;
  opacity: 0.88;
}
.svc-visual--spine {
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.16), transparent 40%),
    linear-gradient(160deg, #123a7a, #2f6fd6 60%, #7eb6ff);
}
.svc-visual--custom {
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.18), transparent 45%),
    linear-gradient(135deg, #061530, #0a2a6b 45%, #1f6fe0);
}
.svc-visual--fascia {
  background:
    linear-gradient(135deg, #0d3a7a 0%, #4f8fe8 100%);
}
.svc-visual--pain {
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,0.2), transparent 40%),
    linear-gradient(145deg, #0a2a6b 0%, #1565c0 50%, #42a5f5 100%);
}
.svc-visual--photo {
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
}
.svc-visual--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4,20,58,0.15) 0%, rgba(4,20,58,0.78) 100%);
}
.card-media-visual {
  aspect-ratio: 16/10;
  height: auto;
  min-height: 200px;
}

/* Services page — icon panels (industry style, no photo clutter) */
.service-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.service-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid rgba(10, 42, 107, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(10, 42, 107, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10, 42, 107, 0.1);
}
.service-panel-visual {
  min-height: 168px;
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
}
.service-panel-visual--pain {
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,0.22), transparent 42%),
    linear-gradient(145deg, #0a2a6b, #1a5fc4 55%, #4ea1ff);
}
.service-panel-visual--custom {
  background:
    radial-gradient(circle at 18% 80%, rgba(255,255,255,0.14), transparent 45%),
    linear-gradient(135deg, #061530, #0d3b8c 50%, #2f78e0);
}
.service-panel-visual--spine {
  background:
    linear-gradient(160deg, #123a7a, #2f6fd6 55%, #7eb6ff);
}
.service-panel-visual--fascia {
  background:
    linear-gradient(135deg, #0d3a7a, #3d8bfd 70%, #90caf9);
}
.service-panel-visual--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 200px;
  justify-content: flex-end;
}
.service-panel-visual--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 21, 48, 0.15) 0%, rgba(6, 21, 48, 0.55) 100%);
  pointer-events: none;
}
.service-panel-visual--photo .service-panel-tags {
  position: relative;
  z-index: 1;
}

.service-panel-icon {
  width: 56px;
  height: 56px;
  color: #fff;
}
.service-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-panel-tags span {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.service-panel-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-panel-body h3 {
  margin: 0;
  font-size: 20px;
  color: var(--primary-dark);
}
.service-panel-body > p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.service-panel-body .feature-list {
  margin: 4px 0 8px;
}
.service-panel-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tech-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: var(--shadow-soft, 0 8px 28px rgba(10, 42, 107, 0.06));
}
.tech-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}
.tech-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}
.tech-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.svc-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.svc-card-body h3 {
  font-size: 18px;
  color: var(--primary-dark);
}
.svc-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
.svc-card-body a {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}
.svc-card-body a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card-img,
  .svc-card-img img { height: 200px !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 102, 230, 0.28);
}
.btn-primary:hover { background: var(--primary-mid); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary-soft); }
.btn-white {
  background: var(--white);
  color: var(--primary-dark);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost-white {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.12); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(10, 42, 107, 0.08);
  border-bottom-color: var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-text strong {
  font-size: 20px;
  color: var(--primary-dark);
  letter-spacing: 0.02em;
}
.logo-text span {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--primary-dark);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover, .nav a.active {
  background: var(--primary-soft);
  color: var(--primary);
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.header-phone-icon {
  display: grid;
  place-items: center;
  line-height: 0;
}
.header-phone-tip {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 168px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #061530;
  color: #fff;
  box-shadow: 0 12px 28px rgba(6, 21, 48, 0.18);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 40;
  white-space: nowrap;
}
.header-phone-tip::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 14px;
  width: 10px;
  height: 10px;
  background: #061530;
  transform: rotate(45deg);
}
.header-phone-tip small {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}
.header-phone-tip strong {
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.header-phone:hover,
.header-phone:focus-visible {
  background: var(--primary-soft);
  border-color: rgba(26, 95, 196, 0.35);
  color: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(10, 42, 107, 0.08);
}
.header-phone:hover .header-phone-tip,
.header-phone:focus-visible .header-phone-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (min-width: 1100px) {
  .header-phone { display: inline-flex; }
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 120;
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-backdrop {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #041a4a 0%, #0a2a6b 40%, #0066e6 100%);
  color: var(--white);
  min-height: clamp(520px, 78vh, 720px);
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,160,210,0.35), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(255,255,255,0.08), transparent 35%);
  pointer-events: none;
}
.hero--carousel {
  min-height: clamp(560px, 86vh, 760px);
}
.hero--carousel::before { display: none; }
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 6.5s linear;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(4, 20, 58, 0.88) 0%, rgba(10, 42, 107, 0.72) 42%, rgba(0, 102, 230, 0.42) 100%),
    linear-gradient(to top, rgba(4, 20, 58, 0.55), transparent 45%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 96px;
  max-width: 720px;
}
.hero-copy { max-width: 640px; }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}
.hero-dots button.is-active {
  width: 28px;
  background: #fff;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.86);
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 480px;
}
.hero-stat {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-stat strong {
  display: block;
  font-size: 24px;
  color: var(--white);
}
.hero-stat span { font-size: 12px; color: rgba(255,255,255,0.7); }
.hero-visual {
  position: relative;
}
.hero-visual-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,0.18);
  background: var(--white);
}
.hero-visual-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.hero-float {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  color: var(--primary-dark);
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 220px;
}
.hero-float strong { display: block; font-size: 15px; margin-bottom: 4px; }
.hero-float span { font-size: 12px; color: var(--text-muted); }

/* Cards / grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 24px; }
.card-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--primary-soft);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.cert-grid .card-media {
  aspect-ratio: 3 / 4;
  background: #f7f9fc;
  display: grid;
  place-items: center;
  padding: 14px;
}
.cert-grid .card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Honors / certificates showcase */
.honor-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(26, 95, 196, 0.08), transparent 60%),
    linear-gradient(180deg, #f4f7fc 0%, #eef3fa 100%);
}
.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.honor-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(10, 42, 107, 0.08);
  box-shadow: 0 10px 28px rgba(10, 42, 107, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.honor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(10, 42, 107, 0.12);
}
.honor-frame {
  aspect-ratio: 3 / 4;
  padding: 16px 16px 8px;
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef3fa 100%);
  display: grid;
  place-items: center;
}
.honor-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 16px rgba(10, 42, 107, 0.12));
  transition: transform 0.35s ease;
}
.honor-card:hover .honor-frame img {
  transform: scale(1.03);
}
.honor-meta {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.honor-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  background: linear-gradient(135deg, #c8102e, #e53935);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.honor-meta h3 {
  font-size: 15px;
  line-height: 1.45;
  color: var(--primary-dark);
  margin: 0;
}

.honor-featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(10, 42, 107, 0.08);
  box-shadow: 0 14px 36px rgba(10, 42, 107, 0.08);
}
.honor-featured-media {
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 215, 120, 0.25), transparent 55%),
    linear-gradient(145deg, #061530, #0a2a6b 55%, #1a5fc4);
  padding: 28px;
  display: grid;
  place-items: center;
}
.honor-featured-media img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.honor-featured-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.honor-featured-label {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
}
.honor-featured-body h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--primary-dark);
  line-height: 1.35;
  margin: 0;
}
.honor-featured-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.honor-code {
  margin-top: 8px !important;
  font-size: 14px !important;
  font-weight: 600;
  color: var(--primary-dark) !important;
  letter-spacing: 0.02em;
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 14px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

/* Contact map embed */
.map-block {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft, 0 8px 28px rgba(10, 42, 107, 0.06));
}
.map-embed {
  position: relative;
  width: 100%;
  height: min(52vw, 420px);
  min-height: 280px;
  background: #e8eef8;
  z-index: 0;
}
.map-embed .leaflet-container {
  width: 100%;
  height: 100%;
  font-family: inherit;
}
.map-embed .leaflet-popup-content {
  margin: 10px 14px;
  line-height: 1.45;
  font-size: 13px;
}
.map-embed .leaflet-popup-content strong {
  color: var(--primary-dark, #0a2a6b);
}
.map-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-top: 1px solid var(--border);
}
.map-meta strong {
  display: block;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}
.map-meta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.map-meta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-row.reverse .feature-media { order: 2; }
.feature-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.feature-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-media--poster {
  background: #0a2a6b;
  border: none;
}
.feature-media--poster img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* Partner promo panel (homepage) */
.partner-panel {
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  background:
    linear-gradient(145deg, rgba(10,42,107,0.78), rgba(0,102,230,0.72)),
    url("../images/web/partner-visual.jpg") center/cover no-repeat;
  color: #fff;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-lg);
}
.partner-panel h3 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.partner-panel p { color: rgba(255,255,255,0.88); font-size: 14px; margin-bottom: 18px; max-width: 320px; }
.partner-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.partner-stats div {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
}
.partner-stats strong { display: block; font-size: 18px; color: #fff; }
.partner-stats span { font-size: 12px; color: rgba(255,255,255,0.75); }

/* Culture cards */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.culture-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  color: #fff;
  box-shadow: var(--shadow);
}
.culture-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.culture-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 21, 48, 0.28) 0%, rgba(6, 21, 48, 0.55) 42%, rgba(6, 21, 48, 0.92) 100%),
    linear-gradient(90deg, rgba(6, 21, 48, 0.45) 0%, rgba(6, 21, 48, 0.1) 55%, transparent 100%);
  pointer-events: none;
}
.culture-card .inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.culture-card .tag {
  align-self: flex-start;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}
.culture-card h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 10px;
  text-shadow: 0 1px 10px rgba(6, 21, 48, 0.35);
}
.culture-card p {
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(6, 21, 48, 0.3);
}

/* Partner page visuals */
.partner-hero-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 8px;
}
.partner-hero-band img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 16/10;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.advantage-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.advantage-card .top {
  height: 120px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.advantage-card .body { padding: 20px 22px 24px; }
.advantage-card h3 { margin-bottom: 8px; }
.advantage-card p { color: var(--text-muted); font-size: 14px; }

/* Franchise advantages — stable 2x2, no SVG */
.adv2-grid, .adv-grid { display: none !important; }

.adv3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.adv3-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px 30px;
  box-shadow: 0 10px 28px rgba(10, 42, 107, 0.06);
  min-width: 0;
}
.adv3-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.adv3-no {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex: 0 0 42px;
}
.adv3-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}
.adv3-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  color: var(--primary-dark);
  line-height: 1.4;
}
.adv3-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 800px) {
  .adv3 { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .culture-grid,
  .partner-hero-band { grid-template-columns: 1fr; }
  .partner-panel { min-height: 300px; }
}
.feature-list { margin-top: 24px; display: grid; gap: 14px; }
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 15px;
}
.feature-list li::before {
  content: "";
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066e6' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Trust / stats strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}
.trust-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.trust-item strong {
  display: block;
  font-size: 22px;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 4px;
  white-space: nowrap;
}
.trust-item span { font-size: 13px; color: var(--text-muted); }
.trust-item--media {
  position: relative;
  overflow: hidden;
  padding: 0;
  text-align: left;
  min-height: 168px;
  border: 0;
}
.trust-item--media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.trust-item--media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,20,58,0.1) 10%, rgba(4,20,58,0.82) 100%);
}
.trust-item-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 168px;
  padding: 18px 16px;
}
.trust-item--media strong {
  color: #fff;
  font-size: 20px;
  margin-bottom: 4px;
}
.trust-item--media span {
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  line-height: 1.4;
}
.trust-item--media:hover img {
  transform: scale(1.08);
}

/* Scene carousel */
.scene-carousel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #061530;
}
.scene-track {
  position: relative;
  aspect-ratio: 16/9;
  min-height: 280px;
}
.scene-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.scene-slide.is-active { opacity: 1; z-index: 1; }
.scene-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: sceneKen 8s ease-in-out infinite alternate;
}
.scene-slide.is-active img { animation-play-state: running; }
.scene-slide:not(.is-active) img { animation: none; }
@keyframes sceneKen {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.scene-slide figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(6, 21, 48, 0.7);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(8px);
}
.scene-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.scene-prev { left: 14px; }
.scene-next { right: 14px; }
.scene-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.scene-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  padding: 0;
  cursor: pointer;
}
.scene-dots button.is-active {
  width: 22px;
  background: #fff;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide, .scene-slide img { transition: none; animation: none !important; }
}

/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
}
.timeline-item strong { display: block; color: var(--primary); margin-bottom: 4px; }
.timeline-item p { color: var(--text-muted); font-size: 14px; }

/* Team */
.team-card { text-align: center; padding: 28px 22px; }
.team-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--primary-soft);
  background: var(--primary-soft);
}
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: 13px; color: var(--text-muted); text-align: left; }

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--text-muted); font-size: 14px; }

/* Forms */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--primary-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--primary-softer);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,102,230,0.12);
  background: var(--white);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { margin-top: 12px; font-size: 12px; color: var(--text-muted); }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #e8f8ef;
  color: #1b7a45;
  font-size: 14px;
}
.form-success.show { display: block; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 42px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 560px; }
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--white); }

/* Store gallery */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.gallery-main, .gallery-side img, .gallery-side > div {
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.gallery-side { display: grid; gap: 16px; }
.gallery-side img { width: 100%; height: 172px; object-fit: cover; }

/* Stores page — full-bleed visual banner */
.visual-hero,
.store-hero {
  position: relative;
  min-height: min(72vh, 620px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.visual-hero-bg,
.visual-hero-shade,
.store-hero-bg,
.visual-hero-shade,
.store-hero-shade {
  position: absolute;
  inset: 0;
}
.visual-hero-bg img,
.store-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: storeHeroZoom 18s ease-out forwards;
}
.store-hero-shade,
.visual-hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 21, 48, 0.78) 0%, rgba(6, 21, 48, 0.45) 48%, rgba(6, 21, 48, 0.22) 100%),
    linear-gradient(180deg, rgba(6, 21, 48, 0.18) 0%, rgba(6, 21, 48, 0.72) 100%);
}
.visual-hero-inner,
.store-hero-inner {
  position: relative;
  z-index: 1;
  padding: 96px 0 72px;
  max-width: 720px;
  animation: storeHeroIn 0.8s ease both;
}
.visual-hero-brand,
.store-hero-brand {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  color: #fff;
}
.visual-hero h1,
.store-hero h1 {
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.35;
}
.visual-hero-desc,
.store-hero-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  max-width: 28em;
  margin-bottom: 28px;
  line-height: 1.7;
}
.visual-hero-actions,
.store-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@keyframes storeHeroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}
@keyframes storeHeroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.visual-hero--service .visual-hero-bg img {
  object-position: center 35%;
}
.visual-hero--service .visual-hero-shade {
  background:
    linear-gradient(105deg, rgba(6, 21, 48, 0.82) 0%, rgba(6, 21, 48, 0.55) 42%, rgba(6, 21, 48, 0.28) 100%),
    linear-gradient(180deg, rgba(6, 21, 48, 0.2) 0%, rgba(6, 21, 48, 0.55) 100%);
}

.store-mosaic {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: min(52vw, 460px);
  margin-bottom: 28px;
}
.store-mosaic figure {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--primary-soft);
  min-height: 0;
}
.store-mosaic-main {
  grid-row: 1 / -1;
}
.store-mosaic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-zones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.store-zones > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
}
.store-zones strong {
  font-size: 16px;
  color: var(--primary-dark);
}
.store-zones span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.store-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.store-item {
  padding: 22px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(10, 42, 107, 0.08);
  box-shadow: 0 8px 22px rgba(10, 42, 107, 0.05);
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.store-item h3 {
  margin: 0;
  font-size: 17px;
  color: var(--primary-dark);
}
.store-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
.store-item-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
}

.store-list-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, #061530, #0a2a6b 55%, #1a5fc4);
  color: #fff;
}
.store-list-cta strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}
.store-list-cta span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}
.store-list-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.store-list-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}
.store-list-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-muted); }

/* News */
.news-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
}

/* CTA band */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}
.cta-band h2 { color: var(--white); font-size: 28px; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer {
  background: #061530;
  color: rgba(255,255,255,0.78);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.15fr 1.1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand .logo-text strong { color: var(--white); }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 16px;
}
.footer-col a, .footer-col li {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.72);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}


.footer-qr,
.contact-qr {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.qr-item {
  text-align: center;
  width: 120px;
}
.qr-item img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  display: block;
  margin: 0 auto 8px;
}
.qr-item p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
}
.contact-qr .qr-item p { color: var(--text-muted); }
.qr-placeholder {
  width: 112px;
  height: 112px;
  margin: 0 auto 8px;
  border-radius: 10px;
  border: 1px dashed rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.04);
}
.contact-qr .qr-placeholder {
  border-color: rgba(10, 42, 107, 0.25);
  background: rgba(10, 42, 107, 0.04);
}
.qr-placeholder span {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,0.55);
}
.contact-qr .qr-placeholder span { color: var(--text-muted); }
.footer-qr-col h4 { margin-bottom: 14px; }

.float-qr {
  position: relative;
}
.float-qr-panel {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 0;
  width: 148px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(6, 21, 48, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  text-align: center;
  z-index: 95;
}
.float-qr:hover .float-qr-panel,
.float-qr:focus-within .float-qr-panel,
.float-qr.is-open .float-qr-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.float-qr-panel img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
  margin: 0 auto 8px;
}
.float-qr-panel p {
  margin: 0;
  font-size: 12px;
  color: var(--text);
}
.qr-placeholder-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  margin: 0 auto 8px;
  border: 1px dashed rgba(10, 42, 107, 0.25);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Floating contact */
.float-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 10px 24px rgba(0,102,230,0.35);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}
.float-ico {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}
.float-btn-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.float-btn.secondary { background: var(--primary-dark); }
.float-btn:hover { transform: translateY(-2px); color: var(--white); }

/* Compliance note */
.compliance-note {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--primary-softer);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 24px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .feature-row,
  .feature-row.reverse .feature-media,
  .grid-2,
  .grid-3,
  .grid-4,
  .trust-strip,
  .steps,
  .gallery,
  .footer-grid,
  .form-grid,
  .tech-grid { grid-template-columns: 1fr; }
  .store-zones { grid-template-columns: 1fr; }
  .store-list { grid-template-columns: 1fr 1fr; }
  .store-mosaic { height: 420px; }
  .honor-grid { grid-template-columns: 1fr 1fr; }
  .honor-featured { grid-template-columns: 1fr; }
  .visual-hero,
  .store-hero { min-height: 520px; }
  .visual-hero-inner,
  .store-hero-inner { padding: 80px 0 56px; }
  .feature-row.reverse .feature-media { order: 0; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .trust-strip { margin-top: 24px; grid-template-columns: repeat(2, 1fr); }
  .gallery-main img { min-height: 240px; }
  .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }

  .nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    width: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(10, 42, 107, 0.12);
    padding: 8px 20px 16px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    z-index: 110;
  }
  .nav.open { display: flex; }
  .nav a {
    display: block;
    width: 100%;
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 16px;
    text-align: left;
    border-bottom: 1px solid #eef3fa;
  }
  .nav a:last-child { border-bottom: none; }
  .nav a.active {
    background: var(--primary-soft);
    color: var(--primary);
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: rgba(6, 21, 48, 0.42);
    z-index: 90;
  }
  .nav-backdrop.show { display: block; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 980px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
  }
  .hero-grid {
    padding: 36px 0 64px;
    gap: 28px;
    max-width: none;
  }
  .hero-badge {
    font-size: 12px;
    padding: 5px 12px;
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.25;
  }
  .hero p {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 24px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: none;
  }
  .hero-stat {
    padding: 12px 8px;
    text-align: center;
  }
  .hero-stat strong { font-size: 18px; }
  .hero-stat span { font-size: 11px; }
  .hero-float { display: none; }
  .hero-visual {
    margin-top: 8px;
  }
  .hero-visual-card {
    border-radius: 16px;
    border-width: 2px;
  }
  .hero-visual-card img { aspect-ratio: 16/10; }

  .trust-strip {
    margin-top: 20px;
    margin-bottom: 8px;
  }

  /* Mobile bottom dock — equal icon tabs */
  .float-bar {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(10, 42, 107, 0.08);
  }
  .float-qr {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
  }
  .float-qr .float-btn {
    width: 100%;
  }
  .float-btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 56px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: var(--primary);
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
  }
  .float-btn.secondary {
    background: transparent;
    color: var(--primary-dark);
  }
  .float-btn:hover {
    transform: none;
    background: rgba(0, 102, 230, 0.06);
    color: var(--primary);
  }
  .float-btn.secondary:hover {
    color: var(--primary-dark);
  }
  .float-ico {
    width: 22px;
    height: 22px;
  }
  .float-btn-label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    font-size: 11px;
    line-height: 1;
    color: inherit;
  }
  .float-qr-panel {
    left: 50%;
    right: auto;
    bottom: calc(100% + 10px);
    transform: translate(-50%, 6px);
    width: min(168px, calc(100vw - 32px));
  }
  .float-qr:hover .float-qr-panel,
  .float-qr:focus-within .float-qr-panel,
  .float-qr.is-open .float-qr-panel {
    transform: translate(-50%, 0);
  }
  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-item--media { min-height: 132px; }
  .trust-item-body { min-height: 132px; padding: 14px 12px; }
  .trust-item--media strong { font-size: 16px; white-space: nowrap; }
  .trust-item--media span { font-size: 11px; }
  .hero--carousel { min-height: 78vh; }
  .hero-dots { bottom: 14px; }
  .scene-nav { width: 38px; height: 38px; font-size: 24px; }
  .scene-track { aspect-ratio: 4/3; min-height: 220px; }
  .cta-band { padding: 24px 18px; }
  .form-card { padding: 20px; }
  .hero-visual { display: none; }
  .tech-grid { grid-template-columns: 1fr; }
  .store-zones { grid-template-columns: 1fr; }
  .store-list { grid-template-columns: 1fr; }
  .store-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 220px 140px 140px;
    height: auto;
  }
  .store-mosaic-main { grid-row: auto; }
  .store-list-cta { flex-direction: column; align-items: stretch; }
  .store-list-cta-actions { width: 100%; }
  .store-list-cta-actions .btn { flex: 1; justify-content: center; }
  .honor-grid { grid-template-columns: 1fr 1fr; }
  .honor-featured-body { padding: 24px 20px; }
  .honor-featured-media { padding: 20px; }
  .visual-hero,
  .store-hero { min-height: 460px; }
  .visual-hero-inner,
  .store-hero-inner { padding: 72px 0 48px; }
  .visual-hero-actions,
  .store-hero-actions { flex-direction: column; align-items: stretch; }
  .visual-hero-actions .btn,
  .store-hero-actions .btn { width: 100%; justify-content: center; }
  .svc-visual, .svc-card-img { height: 200px; }
  .svc-card-img img { height: 200px !important; }
  .map-embed {
    height: 56vw;
    min-height: 240px;
    max-height: 320px;
  }
  .map-meta {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 14px;
  }
  .map-meta .btn {
    width: 100%;
    justify-content: center;
  }
}


/* News list + detail */
.news-card .card-body h3 a {
  color: inherit;
  text-decoration: none;
}
.news-card .card-body h3 a:hover {
  color: var(--primary);
}
.news-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  min-height: calc(1.7em * 2);
}
.news-detail {
  max-width: 820px;
  margin: 0 auto;
}
.news-detail-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.news-detail-cover img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.news-detail-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 13px;
}
.news-detail h1 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 16px;
  color: var(--primary-dark);
}
.news-detail-lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.news-detail-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}
.news-detail-body br + br {
  content: "";
  display: block;
  margin-top: 0.6em;
}
.news-detail-back {
  margin-top: 36px;
}
