/* =========================================================
   BEST CHOICE ENTERPRISE — Frontend Design System
   Mobile-first · responsive · accessible
   ========================================================= */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft YaHei", sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ===== DESIGN TOKENS ===== */
:root {
  --navy: #0f1724;
  --navy-soft: #1a2a4a;
  --brand-blue: #1e7fa8;
  --brand-blue-dark: #15658a;
  --brand-red: #e84c52;
  --gold: #bfa044;
  --gold-light: #d8be6e;
  --cream: #f7f5f0;
  --white: #ffffff;
  --text-dark: #0f1724;
  --text-body: #334155;
  --text-light: #94a3b8;
  --border-light: rgba(0,0,0,0.06);
  --shadow-elegant: 0 8px 40px rgba(15,23,36,0.08);
  --shadow-deep: 0 20px 60px rgba(15,23,36,0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.4,0,.2,1);
  --font-display: "Playfair Display", "Noto Serif TC", "Songti TC", Georgia, "Times New Roman", serif;
}

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 22px; }
.section { padding-block: 72px; position: relative; overflow: hidden; }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }

/* ===== TYPOGRAPHY ===== */
.section-head { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block; position: relative;
  font-size: .72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; padding-left: 36px;
}
.section-tag::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 2px;
  background: var(--gold); transform: translateY(-50%);
}
.section-tag.light { color: var(--gold-light); }
.section-tag.light::before { background: var(--gold-light); }
.section-title-lg {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 600; color: var(--text-dark);
  line-height: 1.15; margin-bottom: 16px; letter-spacing: .5px; position: relative; display: inline-block;
}
.section-title-lg::after {
  content: ""; display: block; width: 56px; height: 2px; margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-title-lg.light { color: var(--white); }
.section-sub {
  font-size: 1.02rem; color: var(--text-light); max-width: 540px; margin-inline: auto; line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,.65); }

/* ===== HEADER / NAV ===== */
#siteHeader {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: rgba(15,23,36,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
#siteHeader.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 40px; height: 36px; }
.brand-text { color: var(--white); font-weight: 700; font-size: 1.02rem; letter-spacing: .5px; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  position: relative; color: rgba(255,255,255,.72); font-size: .85rem; font-weight: 500; letter-spacing: .3px;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; bottom: -6px; left: 0; width: 0; height: 1.5px;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--white); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  border: 1px solid rgba(255,255,255,.15); background: transparent;
  padding: 5px 11px; border-radius: 20px; font-weight: 600; font-size: .7rem;
  color: rgba(255,255,255,.5); transition: all .25s var(--ease);
}
.lang-switch button:hover { color: var(--white); border-color: rgba(255,255,255,.4); }
.lang-switch button.active { background: rgba(191,160,68,.2); border-color: var(--gold); color: var(--gold); }

.menu-toggle {
  display: none; width: 42px; height: 42px; background: none; border: none;
  flex-direction: column; justify-content: center; gap: 5px; padding: 8px;
}
.menu-toggle span { display: block; height: 2px; width: 24px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.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); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(160deg, #0a0f1a 0%, #162440 40%, #0f1724 100%);
  overflow: hidden;
}
.hero-deco { position: absolute; border-radius: 50%; animation: floatGlow 12s ease-in-out infinite; }
.hero-deco-1 { top: -20%; right: -10%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(30,126,168,.12) 0%, transparent 70%); }
.hero-deco-2 { bottom: -30%; left: -10%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(232,76,82,.06) 0%, transparent 70%); animation-direction: reverse; animation-duration: 15s; }
.hero-deco-3 { top: 30%; left: 50%; width: 260px; height: 260px; background: radial-gradient(circle, rgba(191,160,68,.06) 0%, transparent 60%); }
@keyframes floatGlow { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(30px,-24px) scale(1.05)} }
.hero-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; }

.hero-grid { position: relative; z-index: 2; display: grid; gap: 40px; padding-block: 120px 90px; }
.hero-copy { max-width: 620px; }
.hero-tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; padding: 6px 16px;
  border: 1px solid rgba(191,160,68,.3); border-radius: 30px;
}
.hero h1 { font-family: var(--font-display); font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 600; line-height: 1.12; color: var(--white); margin-bottom: 8px; letter-spacing: .5px; }
.hero h1 .line-brand { display: block; color: var(--gold); font-size: 1.02em; letter-spacing: 2.5px; margin-bottom: 10px; font-weight: 700; }
.hero-lead { font-size: 1.02rem; color: rgba(255,255,255,.55); margin: 22px 0 32px; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero entrance: staggered fade-up on load */
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
html.js .hero-tag, html.js .hero h1, html.js .hero-lead, html.js .hero-btns { animation: heroFadeUp .85s var(--ease) both; }
html.js .hero h1 { animation-delay: .12s; }
html.js .hero-lead { animation-delay: .28s; }
html.js .hero-btns { animation-delay: .44s; }
html.js .hero-visual { animation: heroFadeUp 1s .3s var(--ease) both; }

.hero-visual { display: none; }
.hero-logo-ring {
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(30,126,168,.08) 0%, transparent 70%);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.hero-logo-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1px solid rgba(191,160,68,.12); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-logo { width: 190px; height: auto; filter: drop-shadow(0 10px 40px rgba(0,0,0,.3)); }

.hero-thread { position: absolute; bottom: 0; left: 0; right: 0; height: 110px; z-index: 1; }
.hero-thread svg { width: 100%; height: 100%; }
.scroll-ind { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.3); font-size: .62rem; letter-spacing: 2px; text-transform: uppercase; z-index: 2; }
.scroll-ind .line { width: 1px; height: 38px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.5)} }

/* ===== BUTTONS ===== */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 30px; border-radius: 50px; font-weight: 600; font-size: .9rem; letter-spacing: .3px; border: none; transition: all .3s var(--ease); overflow: hidden; }
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); box-shadow: 0 4px 20px rgba(191,160,68,.3); }
.btn-gold:hover { box-shadow: 0 8px 30px rgba(191,160,68,.45); }
/* shine sweep */
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-25deg); transition: left .65s var(--ease);
}
.btn-gold:hover::after { left: 130%; }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.25); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-block { width: 100%; }

/* ===== ABOUT ===== */
.about-grid { display: grid; gap: 40px; }
.about-lead { color: var(--text-body); margin-bottom: 18px; font-size: 1.04rem; }
.about-note { color: var(--text-light); font-size: .95rem; }
.caps-col { display: grid; gap: 16px; }
.cap-item { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border-light); transition: all .3s var(--ease); }
.cap-item:hover { box-shadow: var(--shadow-elegant); transform: translateX(4px); }
.cap-icon { width: 50px; height: 50px; min-width: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease); }
.cap-icon svg { width: 26px; height: 26px; }
.cap-item:hover .cap-icon { transform: scale(1.08) rotate(-4deg); }
.cap-icon.blue { background: rgba(30,126,168,.1); }
.cap-icon.gold { background: rgba(191,160,68,.12); }
.cap-icon.rose { background: rgba(232,76,82,.08); }
.cap-item h4 { font-size: 1.02rem; font-weight: 600; margin-bottom: 4px; color: var(--text-dark); }
.cap-item p { font-size: .9rem; color: var(--text-light); }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.stat-card { background: var(--white); border-radius: var(--radius-md); padding: 24px 14px; text-align: center; box-shadow: var(--shadow-elegant); border: 1px solid var(--border-light); }
.stat-card strong { display: block; font-size: clamp(1.6rem, 6vw, 2.2rem); color: var(--brand-blue); font-weight: 700; }
.stat-card.gold strong { color: var(--gold); }
.stat-label { font-size: .72rem; color: var(--text-light); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }

/* ===== PRODUCTS (redesigned premium) ===== */
.products { background: linear-gradient(170deg, #f7f5f0 0%, #f2ede4 30%, #faf8f5 60%, #f7f5f0 100%); position: relative; }
/* decorative background ornament */
.bg-ornament { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bg-ornament::before {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(191,160,68,.04) 0%, transparent 70%);
  top: -120px; right: -100px;
}
.bg-ornament::after {
  content: ''; position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(191,160,68,.03) 0%, transparent 70%);
  bottom: -80px; left: -80px;
}

.product-grid { display: grid; gap: 28px; }

.product-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  border-radius: 18px;
  padding: 40px 26px 32px;
  text-align: center;
  box-shadow: 0 2px 20px rgba(0,0,0,.05), 0 8px 40px rgba(0,0,0,.02);
  border: 1px solid rgba(255,255,255,.6);
  transition: all .4s cubic-bezier(.23,1,.32,1);
  z-index: 1;
  will-change: transform;
}
/* float animation (subtle breath) */
.product-card { animation: productFloat 4.5s ease-in-out infinite; }
.product-card:nth-child(2) { animation-delay: .6s; }
.product-card:nth-child(3) { animation-delay: 1.2s; }
.product-card:nth-child(4) { animation-delay: 1.8s; }
@keyframes productFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
/* pause float on hover (so 3D tilt runs smooth) */
.product-card:hover { animation-play-state: paused; }

/* glowing background blob behind icon */
.product-glow {
  position: absolute; top: 48px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease);
  pointer-events: none;
}
.product-card:hover .product-glow { opacity: 1; }

/* gradient top bar with flow animation */
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background-size: 200% 100%;
  animation: gradientFlow 4s ease-in-out infinite;
}
.product-card:nth-child(1)::before { background: linear-gradient(90deg, var(--brand-blue), #6fc2e0, var(--brand-blue)); }
.product-card:nth-child(2)::before { background: linear-gradient(90deg, var(--brand-red), #f5a0a2, var(--brand-red)); }
.product-card:nth-child(3)::before { background: linear-gradient(90deg, #f59e0b, #fcd34d, #f59e0b); }
.product-card:nth-child(4)::before { background: linear-gradient(90deg, #10b981, #6ee7b7, #10b981); }
@keyframes gradientFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* enhanced hover */
.product-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,.08), 0 20px 60px rgba(0,0,0,.04);
  border-color: rgba(191,160,68,.2);
}

/* icon area */
.product-icon {
  position: relative; z-index: 2;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .4s var(--ease);
}
.product-icon svg { width: 48px; height: 48px; }
.product-card:hover .product-icon {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 0 30px rgba(191,160,68,.12);
}
/* SVG path draw animation on hover */
.product-svg path, .product-svg circle, .product-svg ellipse, .product-svg line {
  transition: stroke .35s var(--ease), opacity .35s var(--ease);
}
.product-card:hover .product-svg path,
.product-card:hover .product-svg circle,
.product-card:hover .product-svg line,
.product-card:hover .product-svg ellipse {
  stroke: var(--gold);
  opacity: 1;
}

/* content */
.product-card h3 { font-size: 1.18rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; position: relative; z-index: 2; }
.product-card p { font-size: .88rem; color: var(--text-light); line-height: 1.65; position: relative; z-index: 2; margin-bottom: 6px; }

/* CTA link that slides in on hover */
.product-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: .83rem; font-weight: 600; color: var(--gold);
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  position: relative; z-index: 2;
}
.product-card:hover .product-cta { opacity: 1; transform: translateY(0); }
.cta-arrow { flex-shrink: 0; transition: transform .3s var(--ease); }
.product-card:hover .cta-arrow { transform: translateX(4px); }
/* CTA arrow line draw hover */
.cta-arrow path, .cta-arrow line { transition: stroke .3s var(--ease); }
.product-card:hover .cta-arrow path,
.product-card:hover .cta-arrow line { stroke: var(--gold); }

/* ===== NETWORK (redesigned) ===== */
.network-section {
  background: linear-gradient(160deg, #0b1321 0%, #111d33 40%, #0d1628 100%);
  overflow: hidden;
}
.section-tag-light { color: var(--gold); }
.section-title-light { color: var(--white); }
.reveal-light { text-align: center; margin-bottom: 48px; }

/* floating background particles */
.bg-particles {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.bg-particles::before {
  content: ''; position: absolute; width: 3px; height: 3px;
  background: rgba(191,160,68,.06); border-radius: 50%;
  top: 10%; left: 5%; box-shadow:
    200px 30vh 0 0 rgba(191,160,68,.04),
    500px 60vh 0 1px rgba(191,160,68,.05),
    750px 20vh 0 0 rgba(191,160,68,.03),
    100px 80vh 0 2px rgba(191,160,68,.04),
    600px 85vh 0 0 rgba(191,160,68,.03),
    830px 45vh 0 1px rgba(191,160,68,.05),
    350px 15vh 0 0 rgba(191,160,68,.04),
    50px 50vh 0 0 rgba(191,160,68,.03);
  animation: floatDrift 20s ease-in-out infinite alternate;
}
@keyframes floatDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-30px, 20px); }
}

.network-grid { display: grid; gap: 40px; align-items: center; }
.network-map-wrap { border-radius: var(--radius-lg); box-shadow: 0 8px 40px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.04); padding: 8px; border: 1px solid rgba(191,160,68,.08); background: rgba(0,0,0,.2); }
.network-map-wrap svg { width: 100%; height: auto; }

/* flowing arcs */
.arc-line { stroke-dasharray: 6 5; animation: flowDash 2.5s linear infinite; }
@keyframes flowDash { to { stroke-dashoffset: -22; } }

/* pulse on Hong Kong hub */
.dot-pulse { animation: dotPulse 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes dotPulse {
  0% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
  100% { opacity: .6; transform: scale(1); }
}

/* dark-themed region cards */
.regions-col { display: grid; gap: 16px; }
.region-card-dark { display: flex; gap: 16px; padding: 24px 22px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-left: 3px solid var(--gold); border-radius: var(--radius-md); transition: all .35s var(--ease); backdrop-filter: blur(6px); }
.region-card-dark:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); border-left-color: var(--gold); box-shadow: 0 6px 30px rgba(0,0,0,.3); transform: translateY(-3px); }
.region-icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; color: var(--white); margin-top: 2px; }
.region-card-dark strong { display: block; font-size: 1rem; color: var(--white); font-weight: 600; }
.region-card-dark p { font-size: .84rem; color: rgba(255,255,255,.55); margin-top: 4px; line-height: 1.55; }

/* reduced motion — disable animation */
@media (prefers-reduced-motion: reduce) {
  .arc-line { stroke-dasharray: none !important; animation: none !important; opacity: .3; }
  .dot-pulse { animation: none !important; opacity: .8; }
  .bg-particles::before { animation: none !important; }
}

/* ===== SUSTAINABILITY ===== */
.sustainability { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%); color: var(--white); position: relative; }
.cert-grid { display: grid; gap: 18px; }
.cert-badge {
  position: relative; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-md);
  padding: 40px 22px 32px; text-align: center; transition: all .35s var(--ease); overflow: hidden;
}
/* gold top accent line */
.cert-badge::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 44px; height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .8;
}
.cert-badge:hover { background: rgba(255,255,255,.07); border-color: rgba(191,160,68,.35); transform: translateY(-5px); box-shadow: 0 12px 34px rgba(0,0,0,.28); }
.cert-badge h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--gold); margin-bottom: 10px; letter-spacing: 1.5px; }
.cert-badge p { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; gap: 32px; }
.contact-info-card { background: var(--navy); border-radius: var(--radius-lg); padding: 44px 36px; color: var(--white); position: relative; overflow: hidden; }
.contact-info-card::before {
  content: ""; position: absolute; top: 0; right: 0; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(191,160,68,.12) 0%, transparent 70%); pointer-events: none;
}
.contact-info-card h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 600; margin-bottom: 14px; letter-spacing: .5px; }
.contact-info-card > p { color: rgba(255,255,255,.5); margin-bottom: 30px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-detail .lbl { color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; min-width: 70px; }
.contact-detail .val { color: rgba(255,255,255,.75); font-size: .94rem; line-height: 1.6; }
.contact-detail .val a:hover { color: var(--gold); }

.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-elegant); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 600; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid #e2e8f0; border-radius: var(--radius-sm);
  font-size: .92rem; font-family: inherit; background: var(--cream); color: var(--text-dark); transition: all .25s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(191,160,68,.12); }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group input.invalid, .form-group select.invalid { border-color: var(--brand-red); box-shadow: 0 0 0 3px rgba(232,76,82,.12); }
.form-row { display: grid; gap: 16px; }
.form-error { display: block; min-height: 1em; margin-top: 4px; font-size: .76rem; color: var(--brand-red); }

.form-success { text-align: center; padding: 30px 10px; }
.form-success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(16,185,129,.12); color: #10b981; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.form-success h4 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 8px; }
.form-success p { color: var(--text-light); font-size: .92rem; }
.form-note { margin-top: 14px; font-size: .8rem; color: var(--gold); border-top: 1px dashed rgba(191,160,68,.4); padding-top: 12px; }
.form-error-box { display: block; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(232,76,82,.08); border: 1px solid rgba(232,76,82,.3); color: var(--brand-red); font-size: .85rem; }

/* honeypot (anti-spam, hidden from humans) */
.hp { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* spinner for sending state */
.btn[disabled] { opacity: .75; cursor: progress; }
.btn .spinner { display: inline-block; width: 14px; height: 14px; margin-right: 8px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; vertical-align: -2px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== FOOTER ===== */
footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,.04); padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 36px; margin-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 1rem; margin-bottom: 12px; }
.footer-mark { width: 34px; height: 30px; }
.footer-legal { color: var(--gold); font-size: .85rem; font-weight: 600; margin-bottom: 12px; letter-spacing: .5px; }
.footer-intro { color: rgba(255,255,255,.4); font-size: .9rem; line-height: 1.7; }
footer h4 { color: var(--white); font-size: .82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.footer-links a { color: rgba(255,255,255,.45); display: block; margin-bottom: 10px; font-size: .9rem; transition: color .25s var(--ease); }
.footer-links a:hover { color: var(--gold); }
.footer-addr { color: rgba(255,255,255,.45); font-size: .82rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.04); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .78rem; color: rgba(255,255,255,.25); }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 24px; right: 24px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--gold); color: var(--navy); font-size: 1.2rem; box-shadow: 0 6px 20px rgba(191,160,68,.4); opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== SKIP LINK ===== */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 10px 18px; border-radius: 0 0 8px 0; z-index: 2000; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1200; box-shadow: 0 0 8px rgba(191,160,68,.5);
  transition: width .1s linear;
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
/* Visible by default; only hidden when JS is active, so no-JS users see all content */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* directional reveals for products */
html.js .reveal-left { transform: translateX(-40px); }
html.js .reveal-right { transform: translateX(40px); }
html.js .reveal-bottom { transform: translateY(40px); }
html.js .reveal-left.is-visible,
html.js .reveal-right.is-visible,
html.js .reveal-bottom.is-visible { transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* =========================================================
   RESPONSIVE — Tablet (≥768px)
   ========================================================= */
@media (min-width: 768px) {
  .section { padding-block: 96px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .network-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1.1fr .9fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   RESPONSIVE — Desktop (≥1024px)
   ========================================================= */
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 60px; }
  .hero-visual { display: flex; align-items: center; justify-content: center; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .cert-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   RESPONSIVE — Mobile nav drawer (≤959px)
   ========================================================= */
@media (max-width: 959px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy); padding: 20px 22px;
    transform: translateX(100%); transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links > li:not(.lang-switch) { border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links a { display: block; padding: 16px 4px; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .lang-switch { margin-top: 18px; gap: 8px; }
  .lang-switch button { padding: 8px 16px; font-size: .8rem; }
}

/* =========================================================
   ACCESSIBILITY — Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, html.js .reveal { opacity: 1 !important; transform: none !important; }
  .reveal-left, .reveal-right, .reveal-bottom { transform: none !important; }
  .product-card { animation: none !important; }
  .bg-ornament::before, .bg-ornament::after { animation: none !important; }
  .product-card::before { animation: none !important; }
  .product-glow { display: none !important; }
  .product-cta { opacity: 1 !important; transform: none !important; }
}
