/* ═══════════════════════════════════════════════
   Fortune Union Capital — Shared Stylesheet
   ═══════════════════════════════════════════════ */

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

:root {
  --navy:   #0a1628;
  --navy2:  #111e30;
  --gold:   #b89d5e;
  --gold-lt:#d4b97a;
  --white:  #ffffff;
  --off:    #f6f4f0;
  --gray:   #888;
  --line:   rgba(184,157,94,0.22);
  --text:   #181818;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  color: var(--text); background: var(--white);
  line-height: 1.7; font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--gold); color: var(--navy); }

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 300; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, var(--gold-lt) 100%);
  transform-origin: left center; transform: scaleX(0);
  transition: transform 0.12s ease-out;
  box-shadow: 0 0 8px rgba(184,157,94,0.5);
}

/* ─── CUSTOM CURSOR (desktop only) ─── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%); will-change: transform;
}
.cursor-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; transition: opacity 0.2s, background 0.2s; }
.cursor-ring { width: 36px; height: 36px; border: 1px solid var(--gold); border-radius: 50%; opacity: 0.55; transition: width 0.25s ease, height 0.25s ease, opacity 0.2s, border-color 0.2s, background 0.2s; }
.cursor-ring.is-hover { width: 56px; height: 56px; background: rgba(184,157,94,0.08); }
.cursor-dot.is-hover { background: var(--gold-lt); }
@media (hover: none), (max-width: 960px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ─── BACK TO TOP ─── */
.back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--navy); color: var(--gold);
  border: 1px solid rgba(184,157,94,0.4);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.25s, border-color 0.25s;
  z-index: 150;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); border-color: var(--gold); }
.back-top svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; fill: none; }

/* ─── FLOATING CTA (whatsapp / contact) ─── */
.float-cta {
  position: fixed; bottom: 28px; left: 28px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 150;
}
.float-cta a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--navy); color: #fff;
  text-decoration: none; font-size: 12px; letter-spacing: 0.6px;
  border: 1px solid rgba(184,157,94,0.35);
  transition: all 0.25s;
  box-shadow: 0 8px 24px rgba(8,16,30,0.18);
}
.float-cta a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: translateY(-2px); }
.float-cta a svg { width: 16px; height: 16px; }
@media (max-width: 600px) {
  .float-cta { bottom: 18px; left: 18px; }
  .float-cta a span:last-child { display: none; }
  .float-cta a { padding: 12px; }
  .back-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px; height: 80px;
  background: rgba(10,22,40,0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(184,157,94,0.10);
  transition: height 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
nav.is-scrolled {
  height: 64px;
  background: rgba(8,16,30,0.92);
  border-bottom-color: rgba(184,157,94,0.22);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; gap: 12px; }
.nav-logo img { height: 34px; width: auto; object-fit: contain; transition: height 0.3s; }
nav.is-scrolled .nav-logo img { height: 28px; }
.nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.nav-links a {
  display: block; padding: 0 18px; height: 80px; line-height: 80px;
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 11.5px; letter-spacing: 1.5px; font-weight: 400; text-transform: uppercase;
  transition: color 0.2s, height 0.3s, line-height 0.3s; white-space: nowrap; position: relative;
}
@media (min-width: 961px) {
  nav.is-scrolled .nav-links a { height: 64px; line-height: 64px; }
}
.nav-links a::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: 22px;
  height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
nav.is-scrolled .nav-links a::after { bottom: 18px; }
.nav-links a:hover  { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  margin-left: 14px;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 0 24px !important;
  height: 38px !important; line-height: 38px !important;
  transition: all 0.25s !important;
  border-radius: 999px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

/* hamburger (mobile) */
.nav-toggle {
  display: none; width: 36px; height: 36px;
  background: transparent; border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer; align-items: center; justify-content: center;
  border-radius: 4px;
}
.nav-toggle span { display: block; width: 16px; height: 1px; background: #fff; position: relative; transition: all 0.25s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 16px; height: 1px; background: #fff; transition: all 0.25s;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.is-open span::after  { transform: rotate(-45deg); top: 0; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  height: 360px; position: relative; display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,22,40,0.55) 0%, rgba(10,22,40,0.85) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 0 64px 52px;
}
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.page-hero-badge-line { width: 28px; height: 1px; background: var(--gold); }
.page-hero-badge-text { font-size: 10px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; }
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4vw, 54px); font-weight: 300;
  color: #fff; line-height: 1.15;
}
.page-hero-sub {
  font-size: 13px; color: rgba(255,255,255,0.4); letter-spacing: 2px;
  text-transform: uppercase; margin-top: 8px;
}

/* ─── SECTION BASE ─── */
section { padding: 90px 64px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.section-label-line { width: 28px; height: 1px; background: var(--gold); }
.section-label-text { font-size: 10px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.5vw, 46px); font-weight: 300;
  line-height: 1.2; color: var(--navy); margin-bottom: 16px;
}
.section-desc { font-size: 15px; color: var(--gray); max-width: 580px; line-height: 1.9; }
.section-title-white { color: #fff; }
.section-desc-dim  { color: rgba(255,255,255,0.42); }

/* ─── STATS STRIP ─── */
.stats-strip { background: var(--gold); padding: 0 64px; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); }
.stat-item { padding: 38px 0; text-align: center; border-right: 1px solid rgba(10,22,40,0.14); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 300; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 10px; letter-spacing: 2.5px; color: rgba(10,22,40,0.55); text-transform: uppercase; }

/* ─── SERVICE CARDS ─── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(0,0,0,0.05); }
.service-card { background: var(--white); padding: 42px 32px; transition: background 0.3s; cursor: default; }
.service-card:hover { background: var(--navy); }
.service-card:hover .service-icon { border-color: var(--gold); color: var(--gold); }
.service-card:hover .service-title { color: #fff; }
.service-card:hover .service-text  { color: rgba(255,255,255,0.45); }
.service-card:hover .service-num   { color: var(--gold); }
.service-icon { width: 42px; height: 42px; border: 1px solid rgba(0,0,0,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; font-size: 18px; transition: all 0.3s; }
.service-num  { font-size: 10px; letter-spacing: 2px; color: var(--gold); margin-bottom: 10px; text-transform: uppercase; transition: color 0.3s; }
.service-title{ font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 10px; line-height: 1.4; transition: color 0.3s; }
.service-text { font-size: 13px; color: var(--gray); line-height: 1.8; transition: color 0.3s; }

/* ─── PRODUCT CARDS ─── */
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,0.05); margin-top: 48px; }
.product-card { background: var(--navy2); padding: 32px 24px; border-top: 2px solid transparent; transition: border-color 0.25s; }
.product-card:hover { border-color: var(--gold); }
.product-photo { height: 120px; margin-bottom: 22px; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.65) saturate(0.7); transition: transform 0.4s, filter 0.3s; }
.product-card:hover .product-photo img { transform: scale(1.05); filter: brightness(0.85) saturate(1); }
.product-tag   { font-size: 10px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.product-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.product-text  { font-size: 12.5px; color: rgba(255,255,255,0.38); line-height: 1.75; }
.product-features { margin-top: 16px; display: flex; flex-direction: column; gap: 5px; }
.product-feature { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.38); }
.product-feature::before { content: '—'; color: var(--gold); flex-shrink: 0; font-size: 11px; margin-top: 1px; }

/* ─── VALUE ADD CARDS ─── */
.va-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.va-card { background: #fff; padding: 30px 26px; border-left: 2px solid transparent; transition: border-color 0.25s; }
.va-card:hover { border-color: var(--gold); }
.va-icon  { font-size: 20px; margin-bottom: 12px; }
.va-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.va-text  { font-size: 13px; color: var(--gray); line-height: 1.75; }

/* ─── PHOTO BANNER ─── */
.photo-banner { height: 420px; position: relative; overflow: hidden; }
.photo-banner-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
@media (hover: hover) {
  .photo-banner-img { background-attachment: fixed; }
}
.photo-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,22,40,0.82) 0%, rgba(10,22,40,0.4) 60%, transparent 100%); }
.photo-banner-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 64px; }
.photo-banner-quote { font-family: 'Cormorant Garamond', serif; font-size: clamp(24px, 3.2vw, 40px); font-weight: 300; color: #fff; max-width: 520px; line-height: 1.45; }
.photo-banner-quote em { font-style: italic; color: var(--gold); }

/* ─── CITY STRIP ─── */
.city-strip { display: grid; grid-template-columns: repeat(3,1fr); height: 260px; overflow: hidden; }
.city-cell { position: relative; overflow: hidden; }
.city-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; filter: brightness(0.55) saturate(0.7); }
.city-cell:hover img { transform: scale(1.06); filter: brightness(0.75) saturate(0.9); }
.city-cell-label { position: absolute; bottom: 18px; left: 20px; font-size: 11px; letter-spacing: 1.5px; color: rgba(255,255,255,0.6); text-transform: uppercase; }
.city-cell-label strong { display: block; font-size: 15px; font-weight: 500; color: #fff; letter-spacing: 0.5px; margin-bottom: 2px; }

/* ─── PARTNERS ─── */
.partners { background: #fff; padding: 56px 64px; border-top: 1px solid rgba(0,0,0,0.06); }
.partners-inner { max-width: 1200px; margin: 0 auto; }
.partners-label { font-size: 10px; letter-spacing: 3px; color: var(--gray); text-transform: uppercase; text-align: center; margin-bottom: 36px; }

/* ─── ABOUT POINTS ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; height: 520px; }
.about-photo-main { position: absolute; top: 0; left: 0; right: 40px; bottom: 60px; background-size: cover; background-position: center 40%; }
.about-photo-accent { position: absolute; bottom: 0; right: 0; width: 190px; height: 210px; background-size: cover; background-position: center top; border: 6px solid var(--off); }
.about-badge { position: absolute; top: 24px; left: 24px; background: var(--gold); color: var(--navy); padding: 12px 18px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.about-right { display: flex; flex-direction: column; gap: 22px; }
.about-point { display: flex; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.about-point:last-child { border-bottom: none; padding-bottom: 0; }
.about-point-num { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; color: var(--gold); line-height: 1; flex-shrink: 0; width: 36px; }
.about-point-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.about-point-text  { font-size: 13.5px; color: var(--gray); line-height: 1.75; }

/* ─── WHY US ─── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-points { margin-top: 36px; }
.why-point { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.why-point:first-child { padding-top: 0; }
.why-point-icon { width: 38px; height: 38px; flex-shrink: 0; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 15px; }
.why-point-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.why-point-text  { font-size: 13px; color: var(--gray); line-height: 1.75; }
.why-right { background: var(--navy); padding: 44px 40px; }
.why-right-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 300; color: #fff; margin-bottom: 6px; }
.why-right-sub { font-size: 11px; color: var(--gold); letter-spacing: 1.5px; margin-bottom: 26px; text-transform: uppercase; }
.why-list { display: flex; flex-direction: column; }
.why-list-item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px; color: rgba(255,255,255,0.55); }
.why-list-item::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.why-cert-block { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.07); }
.why-cert-title { font-size: 10px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-bottom: 12px; }
.why-cert-row { display: flex; gap: 14px; }
.why-cert-badge { flex: 1; padding: 13px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); }
.why-cert-badge-label { font-size: 9px; letter-spacing: 1.5px; color: var(--gold); text-transform: uppercase; margin-bottom: 4px; }
.why-cert-badge-value { font-size: 12px; color: rgba(255,255,255,0.55); }

/* ─── CONTACT ─── */
.contact-photo { height: 340px; position: relative; overflow: hidden; }
.contact-photo-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.contact-photo-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,22,40,0.3) 0%, rgba(10,22,40,0.88) 100%); }
.contact-photo-text { position: absolute; bottom: 44px; left: 64px; right: 64px; font-family: 'Cormorant Garamond', serif; font-size: clamp(24px, 3vw, 38px); font-weight: 300; color: #fff; max-width: 640px; line-height: 1.4; }
.contact-photo-text em { font-style: italic; color: var(--gold); }
.contact-body { padding: 80px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; max-width: 1200px; margin: 0 auto; }
.contact-info { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item-icon { width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 13px; }
.contact-item-label { font-size: 9px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-bottom: 4px; }
.contact-item-value { font-size: 14px; color: rgba(255,255,255,0.65); }
.eco-badges { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.eco-badge { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); font-size: 12px; color: rgba(255,255,255,0.45); }
.eco-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ─── FOOTER (legacy stub — overridden by .site-footer below) ─── */
footer { background: #050d18; }
.footer-left, .footer-right { display: none; }

/* ─── BUTTONS ─── */
.btn-primary { padding: 14px 40px; background: var(--gold); color: var(--navy); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600; text-decoration: none; display: inline-block; transition: background 0.25s; }
.btn-primary:hover { background: var(--gold-lt); }
.btn-ghost { padding: 14px 40px; border: 1px solid rgba(255,255,255,0.28); color: rgba(255,255,255,0.7); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; display: inline-block; transition: all 0.25s; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { padding: 14px 40px; border: 1px solid var(--navy); color: var(--navy); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; display: inline-block; transition: all 0.25s; }
.btn-dark:hover { background: var(--navy); color: #fff; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 60px 20px; }
  .stats-strip { padding: 0 20px; }
  .about-grid, .why-grid, .contact-body { grid-template-columns: 1fr; gap: 36px; }
  .about-image-wrap { height: 320px; }
  .services-grid, .va-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .city-strip { grid-template-columns: 1fr; height: auto; }
  .city-cell { height: 180px; }
  .page-hero { height: 260px; }
  .page-hero-content { padding: 0 20px 36px; }
  .contact-photo-text { left: 20px; right: 20px; }
  .contact-body { padding: 50px 20px; }
  .photo-banner-content { padding: 0 20px; }
  .partners { padding: 48px 20px; }
  footer { padding: 24px 20px; flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 600px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(10,22,40,0.12); }
  .services-grid, .va-grid, .products-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   REFINED / PREMIUM UPGRADES — v2
   ═══════════════════════════════════════════════ */

/* ─── SVG ICON SYSTEM ─── */
.svg-icon { display: inline-flex; align-items: center; justify-content: center; }
.svg-icon svg { width: 1em; height: 1em; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* override icon containers to look refined */
.service-icon, .why-point-icon, .hero-cert-icon, .cir-icon, .map-detail-icon, .contact-item-icon {
  position: relative; background: linear-gradient(135deg, rgba(184,157,94,0.06), rgba(184,157,94,0.02));
}
.service-icon svg, .why-point-icon svg, .hero-cert-icon svg, .cir-icon svg, .map-detail-icon svg, .contact-item-icon svg {
  width: 18px; height: 18px; stroke: var(--gold); stroke-width: 1.4; fill: none;
}
.service-card:hover .service-icon { background: linear-gradient(135deg, rgba(184,157,94,0.22), rgba(184,157,94,0.08)); }

/* ─── HERO ENHANCED ─── */
.hero-grid-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0.5;
  background-image:
    linear-gradient(rgba(184,157,94,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,157,94,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 30% 50%, rgba(0,0,0,0.7) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, rgba(0,0,0,0.7) 0%, transparent 70%);
}
.hero-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,157,94,0.16) 0%, transparent 60%);
  filter: blur(40px); pointer-events: none; z-index: 1;
  animation: glowFloat 16s ease-in-out infinite;
}
.hero-glow.gl-1 { top: -160px; right: -120px; }
.hero-glow.gl-2 { bottom: -200px; left: -100px; width: 500px; height: 500px; animation-delay: -6s; }
@keyframes glowFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, -40px) scale(1.08); }
}
.hero-title em {
  background: linear-gradient(135deg, var(--gold-lt) 0%, var(--gold) 60%, #8a7144 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}
.hero-meta-strip {
  position: absolute; left: 64px; right: 64px; bottom: 110px; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  pointer-events: none; opacity: 0; animation: fadeUp 1s 1.6s forwards;
}
.hero-meta-strip-side {
  font-size: 10px; letter-spacing: 3px; color: rgba(255,255,255,0.32);
  text-transform: uppercase; display: flex; align-items: center; gap: 12px;
}
.hero-meta-strip-side::before, .hero-meta-strip-side::after {
  content: ''; width: 28px; height: 1px; background: rgba(184,157,94,0.45);
}
.hero-meta-strip-side::after { display: none; }
.hero-meta-strip-side.right::before { display: none; }
.hero-meta-strip-side.right::after { display: inline-block; }
@media (max-width: 960px) {
  .hero-meta-strip { left: 20px; right: 20px; bottom: 80px; font-size: 9px; }
}

/* ─── STATS ANIMATED COUNTERS ─── */
.stat-num { font-variant-numeric: tabular-nums; }

/* ─── OVERVIEW CARD POLISH ─── */
.ov-card { position: relative; overflow: hidden; }
.ov-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.ov-card:hover::before { transform: scaleX(1); }
.ov-card { transition: background 0.35s ease, transform 0.35s ease; }
.ov-card:hover { transform: translateY(-3px); }

/* ─── PRODUCT CARD POLISH ─── */
.product-card { position: relative; overflow: hidden; transition: border-color 0.25s, transform 0.35s ease; }
.product-card:hover { transform: translateY(-4px); }
.product-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(184,157,94,0.10), transparent 60%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.product-card:hover::after { opacity: 1; }

/* ─── SERVICE CARD POLISH ─── */
.service-card { position: relative; overflow: hidden; transition: background 0.35s, transform 0.35s; }
.service-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--gold); transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s ease;
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover { transform: translateY(-3px); }

/* ─── 3D TILT WRAPPER ─── */
.tilt { transition: transform 0.25s ease; transform-style: preserve-3d; will-change: transform; }

/* ─── TIMELINE ─── */
.timeline-section { background: var(--off); }
.timeline {
  position: relative; max-width: 980px; margin: 56px auto 0; padding: 0 0 12px;
}
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(184,157,94,0.5), rgba(184,157,94,0.5), transparent);
}
.tl-item {
  position: relative; width: 50%; padding: 14px 48px 28px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.tl-item.visible { opacity: 1; transform: none; }
.tl-item:nth-child(odd)  { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::before {
  content: ''; position: absolute; top: 22px; width: 12px; height: 12px;
  border: 2px solid var(--gold); background: #fff; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(184,157,94,0.12);
}
.tl-item:nth-child(odd)::before  { right: -6px; }
.tl-item:nth-child(even)::before { left: -6px; }
.tl-year { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.tl-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.tl-text { font-size: 13px; color: var(--gray); line-height: 1.75; }
@media (max-width: 768px) {
  .timeline::before { left: 12px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0; padding: 8px 0 24px 36px; text-align: left; }
  .tl-item:nth-child(odd)  { text-align: left; }
  .tl-item:nth-child(odd)::before  { right: auto; left: 6px; }
  .tl-item:nth-child(even)::before { left: 6px; }
}

/* ─── TRUST STRIP / CREDENTIALS ─── */
.trust-strip {
  background: var(--navy); padding: 56px 64px;
  position: relative; overflow: hidden;
}
.trust-strip::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(184,157,94,0.10), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(184,157,94,0.08), transparent 40%);
  pointer-events: none;
}
.trust-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.trust-head { text-align: center; margin-bottom: 36px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(184,157,94,0.10); }
.trust-cell {
  background: var(--navy); padding: 30px 22px;
  text-align: center; transition: background 0.3s;
}
.trust-cell:hover { background: var(--navy2); }
.trust-icon { width: 38px; height: 38px; margin: 0 auto 14px; border: 1px solid rgba(184,157,94,0.35); display: flex; align-items: center; justify-content: center; color: var(--gold); border-radius: 50%; }
.trust-icon svg { width: 18px; height: 18px; }
.trust-label { font-size: 10px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.trust-value { font-size: 13.5px; color: rgba(255,255,255,0.78); font-weight: 500; line-height: 1.5; }
.trust-sub { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 4px; }
@media (max-width: 768px) {
  .trust-strip { padding: 48px 20px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── LEADERSHIP BAND ─── */
.leadership-band {
  background: var(--white); padding: 84px 64px;
}
.lb-inner { max-width: 1200px; margin: 0 auto; }
.lb-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 44px; }
.lb-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lb-pillar {
  position: relative; padding: 36px 28px; background: var(--off);
  transition: background 0.3s, transform 0.3s;
}
.lb-pillar:hover { background: var(--navy); transform: translateY(-4px); }
.lb-pillar:hover .lb-pillar-num,
.lb-pillar:hover .lb-pillar-title { color: #fff; }
.lb-pillar:hover .lb-pillar-text { color: rgba(255,255,255,0.55); }
.lb-pillar-num {
  font-family: 'Cormorant Garamond', serif; font-size: 56px; font-weight: 300;
  color: rgba(184,157,94,0.7); line-height: 1; margin-bottom: 18px;
  transition: color 0.3s;
}
.lb-pillar-title { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 10px; transition: color 0.3s; }
.lb-pillar-text { font-size: 13px; color: var(--gray); line-height: 1.8; transition: color 0.3s; }
@media (max-width: 960px) {
  .leadership-band { padding: 64px 20px; }
  .lb-head { grid-template-columns: 1fr; gap: 24px; }
  .lb-pillars { grid-template-columns: 1fr; }
}

/* ─── BREADCRUMB ON PAGE HERO ─── */
.page-hero-crumbs {
  display: flex; gap: 8px; align-items: center; margin-bottom: 16px;
  font-size: 11px; letter-spacing: 1.2px; color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.page-hero-crumbs a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.page-hero-crumbs a:hover { color: var(--gold); }
.page-hero-crumbs .crumb-sep { color: rgba(255,255,255,0.25); }
.page-hero-crumbs .crumb-current { color: var(--gold); }

/* ─── BTN HOVER REFINEMENT ─── */
.btn-primary, .btn-ghost, .btn-dark { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  transform: translateX(-100%); transition: transform 0.3s ease;
}
.btn-primary:hover::before { transform: translateX(0); }

/* ─── PARTNERS marquee polish ─── */

/* ─── VALUE CARD POLISH ─── */
.va-card { position: relative; transition: border-color 0.25s, transform 0.3s, box-shadow 0.3s; }
.va-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(10,22,40,0.06); }
.va-card-lg { position: relative; transition: border-color 0.25s, transform 0.3s, box-shadow 0.3s; }
.va-card-lg:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(10,22,40,0.08); }

/* ─── ECOSYSTEM CARD POLISH ─── */
.eco-card { transition: background 0.3s, transform 0.3s; position: relative; overflow: hidden; }
.eco-card:hover { background: rgba(255,255,255,0.04); transform: translateY(-3px); }

/* ─── REVEAL UPGRADES ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-fade { opacity: 0; transition: opacity 1s ease; transform: none; }
.reveal-fade.visible { opacity: 1; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: none; }

/* ─── MARQUEE PARTNERS ─── */
.partners-marquee {
  overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.partners-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 40s linear infinite;
  align-items: center;
}
.partners-track img {
  width: 100px; height: 36px; object-fit: contain; object-position: center;
  filter: grayscale(1) opacity(0.45); transition: filter 0.4s;
  flex-shrink: 0; display: block;
}
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partners-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── MOBILE NAV ─── */
@media (max-width: 960px) {
  nav { padding: 0 20px; height: 64px; }
  nav.is-scrolled { height: 56px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(8,16,30,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 24px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { height: 50px; line-height: 50px; padding: 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links a::after { display: none; }
  .nav-cta { margin-left: 0 !important; margin-top: 14px; text-align: center; border-radius: 4px; }
}

/* ─── ACCESSIBILITY ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-photo { animation: none !important; }
}

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ═══════════════════════════════════════════════
   PREMIUM UPGRADE — v3
   ═══════════════════════════════════════════════ */

/* ─── ANCHOR SCROLL OFFSET (for fixed nav 80px) ─── */
[id] { scroll-margin-top: 96px; }
@media (max-width: 960px) { [id] { scroll-margin-top: 72px; } }

/* ─── MOBILE NAV TOP FIX ─── */
@media (max-width: 960px) {
  nav.is-scrolled .nav-links { top: 56px; }
  .nav-links { transition: opacity 0.25s ease, transform 0.25s ease, top 0.3s ease; }
}

/* ─── HERO GRAIN TEXTURE ─── */
.hero-grain {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── TEXT MARQUEE STRIP ─── */
.text-marquee {
  background: var(--gold);
  padding: 14px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.text-marquee-track {
  display: flex; align-items: center;
  width: max-content; white-space: nowrap;
  animation: marquee 55s linear infinite;
}
.text-marquee:hover .text-marquee-track { animation-play-state: paused; }
.text-marquee-track span {
  font-size: 10.5px; letter-spacing: 2.5px;
  color: var(--navy); text-transform: uppercase;
  padding: 0 20px; font-weight: 500;
}
.text-marquee-track .tm-dot {
  color: rgba(10,22,40,0.28); padding: 0 4px; font-size: 14px;
}

/* ─── FLOAT CTA PRIMARY (留言預約) ─── */
.float-cta .float-wa {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 600;
}
.float-cta .float-wa:hover {
  background: var(--gold-lt) !important;
  border-color: var(--gold-lt) !important;
  color: var(--navy) !important;
}
.float-cta .float-email-copy { cursor: pointer; }

/* ─── PREMIUM SITE FOOTER ─── */
.site-footer {
  background: #050d18;
  border-top: 1px solid rgba(184,157,94,0.14);
  position: relative;
  overflow: hidden;
  padding: 0;
  display: block;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(184,157,94,0.5) 50%, transparent 95%);
}
.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding: 64px 64px 52px;
}
.footer-logo {
  height: 40px; width: auto; object-fit: contain;
  display: block; margin-bottom: 20px;
  /* Keep brand gold; previous brightness(0)+invert(1) rendered as a faint
     grey rectangle on the dark navy footer and made the 合盈 logo invisible. */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
  opacity: 1;
}
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,0.42); line-height: 1.78;
  margin-bottom: 24px;
}
.footer-license { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-license-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(184,157,94,0.22);
  background: rgba(184,157,94,0.04);
}
.footer-license-key {
  font-size: 9px; letter-spacing: 1.5px; color: var(--gold); text-transform: uppercase;
}
.footer-license-val { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 500; }
.footer-col-hd {
  font-size: 9.5px; letter-spacing: 3px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(184,157,94,0.15);
}
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 13px; color: rgba(255,255,255,0.36);
  text-decoration: none; transition: color 0.22s;
  letter-spacing: 0.3px; display: flex; align-items: center; gap: 0;
}
.footer-nav a::before {
  content: '—'; color: var(--gold); opacity: 0; font-size: 10px;
  transition: opacity 0.22s, margin-right 0.22s;
  flex-shrink: 0; margin-right: 0; width: 0; overflow: hidden;
}
.footer-nav a:hover { color: rgba(255,255,255,0.75); }
.footer-nav a:hover::before { opacity: 1; margin-right: 8px; width: auto; }
.footer-addr {
  font-size: 13px; color: rgba(255,255,255,0.36);
  line-height: 1.8; margin-bottom: 16px;
}
.footer-tel, .footer-email {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.52);
  text-decoration: none; transition: color 0.22s;
  margin-bottom: 9px;
}
.footer-tel svg, .footer-email svg {
  width: 14px; height: 14px; stroke: var(--gold);
  stroke-width: 1.4; fill: none;
  stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.footer-tel:hover, .footer-email:hover { color: var(--gold); }
.footer-hours {
  font-size: 11px; color: rgba(255,255,255,0.2);
  margin-top: 12px; letter-spacing: 0.3px; line-height: 1.6;
}
.footer-divider {
  height: 1px; background: rgba(255,255,255,0.05);
  margin: 0 64px;
}
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 64px;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom-left {
  font-size: 11px; color: rgba(255,255,255,0.2);
  letter-spacing: 0.4px; line-height: 1.6;
}
.footer-bottom-right {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; color: rgba(255,255,255,0.15); letter-spacing: 0.5px;
}
.footer-bottom-right::before {
  content: ''; width: 20px; height: 1px; background: rgba(184,157,94,0.35);
}
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 20px 40px; }
  .footer-divider { margin: 0 20px; }
  .footer-bottom { padding: 20px 20px; flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ─── FOOTER GLOW ACCENT ─── */
.site-footer::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse at bottom, rgba(184,157,94,0.06), transparent 70%);
  pointer-events: none;
}


/* ═══════════════════════════════════════════════
   PREMIUM UPGRADE — v4
   ═══════════════════════════════════════════════ */

/* ─── PAGE ENTER TRANSITION ─── */
body {
  animation: pageEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  body { animation: none !important; }
}

/* ─── PRELOADER ─── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #0a1628;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}
#preloader.pl-done { opacity: 0; visibility: hidden; pointer-events: none; }
#preloader > img { height: 40px; opacity: 0.82; display: block; }
.pl-bar-wrap {
  width: 160px; height: 1px; overflow: hidden;
  background: rgba(184,157,94,0.18);
}
.pl-bar {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, transparent 0%, #b89d5e 50%, #d4b97a 100%);
  transform: translateX(-100%);
  animation: plSlide 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
}
@keyframes plSlide { to { transform: translateX(0); } }
.pl-label {
  font-size: 9px; letter-spacing: 4px; color: rgba(255,255,255,0.22);
  text-transform: uppercase; font-family: 'Inter', sans-serif;
}

/* ─── BUTTON SHIMMER on .btn-primary ─── */
.btn-primary::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-18deg);
  transition: left 0s;
  z-index: -1;
}
.btn-primary:hover::after {
  left: 160%;
  transition: left 0.55s ease;
}

/* ─── DECORATIVE BACKGROUND NUMBERS on ov-card ─── */
.ov-card[data-num]::after {
  content: attr(data-num);
  position: absolute; bottom: 8px; right: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 96px; font-weight: 300; line-height: 1;
  color: rgba(10,22,40,0.045); letter-spacing: -3px;
  pointer-events: none; z-index: 0;
  transition: color 0.35s ease;
  user-select: none;
}
.ov-card:hover[data-num]::after { color: rgba(255,255,255,0.045); }

/* ─── MOBILE HERO BUTTONS FULL-WIDTH ─── */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; text-align: center; }
}

/* ─── REFINED SECTION DIVIDERS ─── */
.gold-rule {
  height: 1px; max-width: 1200px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(184,157,94,0.35) 30%, rgba(184,157,94,0.35) 70%, transparent);
}

/* ─── PRODUCT CARD IMAGE LOAD ─── */
.product-photo img {
  opacity: 0; transition: opacity 0.6s ease;
}
.product-photo img.img-loaded { opacity: 1; }

/* ─── IMPROVED TIMELINE DOT PULSE ─── */
.tl-item.visible::before {
  animation: tlDotPulse 2.5s ease-out 0.5s 1 both;
}
@keyframes tlDotPulse {
  0%   { box-shadow: 0 0 0 4px rgba(184,157,94,0.12); }
  50%  { box-shadow: 0 0 0 10px rgba(184,157,94,0); }
  100% { box-shadow: 0 0 0 4px rgba(184,157,94,0.12); }
}

/* ─── STATS STRIP HOVER ─── */
.stat-item { transition: background 0.3s; }
.stat-item:hover { background: rgba(10,22,40,0.06); }
.stat-num { transition: color 0.3s; }
.stat-item:hover .stat-num { color: var(--navy); }

/* ─── NAV LOGO HOVER ─── */
.nav-logo img { transition: opacity 0.25s, height 0.3s; }
.nav-logo:hover img { opacity: 0.75; }

/* ─── OVERVIEW SECTION LABEL CENTERED on MOBILE ─── */
@media (max-width: 600px) {
  .overview-header { text-align: left; }
  .hero-certs { gap: 16px; }
  .hero-cert-item:last-child { display: none; }
}

/* ─── LINK UNDERLINE POLISH on INLINE TEXT ─── */
.cir-value a, .map-detail-val a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(184,157,94,0.4);
  text-decoration-thickness: 1px;
}
.cir-value a:hover, .map-detail-val a:hover {
  text-decoration-color: var(--gold);
}

/* ─── CONTACT INQUIRY TOPICS KEYBOARD RING ─── */
.inquiry-topic:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ─── INSURANCE ATTRIBUTE CARDS ─── */
.attr-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.attr-card {
  background: var(--white);
  padding: 40px 32px 36px;
  border-top: 2px solid var(--gold);
  position: relative; overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.attr-card:hover { box-shadow: 0 20px 56px rgba(10,22,40,0.09); transform: translateY(-4px); }
.attr-ghost {
  position: absolute; top: -16px; right: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 110px; font-weight: 300; line-height: 1;
  color: rgba(10,22,40,0.04);
  user-select: none; pointer-events: none; letter-spacing: -4px;
}
.attr-icon-wrap {
  width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(184,157,94,0.08), rgba(184,157,94,0.02));
}
.attr-icon-wrap svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.attr-label { font-size: 9.5px; letter-spacing: 2.5px; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.attr-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; color: var(--navy); margin-bottom: 6px; line-height: 1.2; }
.attr-sub { font-size: 12.5px; color: var(--gray); margin-bottom: 22px; line-height: 1.6; }
.attr-divider { width: 28px; height: 1px; background: var(--gold); margin-bottom: 22px; }
.attr-items { display: flex; flex-direction: column; gap: 11px; }
.attr-item { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; color: #444; line-height: 1.55; }
.attr-item::before { content: ''; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 7px; }
@media (max-width: 960px) { .attr-grid { grid-template-columns: 1fr; } }

/* ─── LANGUAGE SWITCHER ─── */
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  margin-left: 14px;
}
.lang-btn {
  background: transparent; border: none; cursor: pointer;
  font-size: 11px; font-weight: 500; letter-spacing: 0.8px;
  color: rgba(255,255,255,0.45); padding: 5px 8px;
  transition: color 0.2s; font-family: 'Inter', sans-serif;
  line-height: 1;
}
.lang-btn:hover { color: var(--gold); }
.lang-btn.active { color: var(--gold); }
.lang-sep {
  font-size: 10px; color: rgba(255,255,255,0.18);
  user-select: none; line-height: 1;
}
@media (max-width: 960px) {
  .lang-switch { margin-left: 0; margin-top: 10px; padding: 8px 0 2px; border-top: 1px solid rgba(255,255,255,0.06); justify-content: center; }
  .lang-btn { font-size: 12px; padding: 6px 12px; }
}

/* ─── SCROLLBAR CHROME/EDGE ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050d18; }
::-webkit-scrollbar-thumb { background: rgba(184,157,94,0.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(184,157,94,0.65); }
