/* =================================================================
   WEALTHUNDER.COM — style.css
   Brand palette · Mobile-first · CSS custom properties
   ================================================================= */

/* -----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ----------------------------------------------------------------- */
:root {
  /* Brand colors */
  --color-orange:      #F28920;
  --color-red-orange:  #E94524;
  --color-gold:        #FAC114;
  --color-dark-red:    #A32622;
  --color-text:        #333333;
  --color-white:       #ffffff;

  /* Derived / UI colors */
  --color-bg-warm:     #F8F6F2;
  --color-bg-dark:     #1C1C1E;
  --color-bg-dark2:    #111113;
  --color-surface:     #ffffff;
  --color-border:      #E8E4DD;
  --color-text-muted:  #666666;
  --color-text-light:  rgba(255, 255, 255, 0.72);

  /* Nav */
  --nav-height:        70px;

  /* Spacing scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  80px;
  --space-10: 96px;
  --space-11: 120px;

  /* Typography */
  --font-sans:    -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --font-chinese: -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  --shadow-card-hover: 0 16px 48px rgba(242,137,32,.18), 0 4px 12px rgba(0,0,0,.08);

  /* Transitions */
  --ease:       cubic-bezier(.4, 0, .2, 1);
  --ease-out:   cubic-bezier(0, 0, .2, 1);
  --ease-spring:cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast:   160ms;
  --dur-med:    280ms;
  --dur-slow:   480ms;
}

/* -----------------------------------------------------------------
   2. RESET & BASE
   ----------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Chinese text: use system CJK stack */
:lang(zh) body,
[lang="zh"] body,
body[data-lang="zh"] {
  font-family: var(--font-chinese);
}

body[data-lang="zh"] .hero-heading,
body[data-lang="zh"] .section-title,
body[data-lang="zh"] .service-title,
body[data-lang="zh"] .adv-title {
  font-family: var(--font-chinese);
  letter-spacing: .02em;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, button {
  font-size: inherit;
}

textarea {
  resize: vertical;
}

/* Focus visible */
:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* -----------------------------------------------------------------
   3. UTILITY
   ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-5);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-7); }
}
@media (min-width: 1200px) {
  .container { padding-inline: var(--space-8); }
}

.section {
  padding-block: var(--space-10);
}
@media (min-width: 768px) {
  .section { padding-block: var(--space-11); }
}

/* -----------------------------------------------------------------
   4. FADE-IN ANIMATION (scroll-triggered via JS)
   ----------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay helpers */
.fade-in:nth-child(2) { transition-delay: 80ms;  }
.fade-in:nth-child(3) { transition-delay: 160ms; }
.fade-in:nth-child(4) { transition-delay: 240ms; }
.fade-in:nth-child(5) { transition-delay: 320ms; }

/* -----------------------------------------------------------------
   5. SECTION HEADER TYPOGRAPHY
   ----------------------------------------------------------------- */
.section-label {
  display: inline-block;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-orange);
  background: rgba(242,137,32,.1);
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
  margin-bottom: var(--space-4);
}
.section-label-light {
  color: var(--color-gold);
  background: rgba(250,193,20,.15);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section-title-light {
  color: var(--color-white);
}
.title-accent {
  color: var(--color-orange);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: var(--space-8);
}
.section-subtitle-light {
  color: var(--color-text-light);
}

/* -----------------------------------------------------------------
   6. BUTTONS
   ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  transition: all var(--dur-med) var(--ease-spring);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-red-orange) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(242,137,32,.4);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(242,137,32,.55);
}
.btn-primary:active {
  transform: translateY(0) scale(.98);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* -----------------------------------------------------------------
   7. NAVIGATION
   ----------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(28, 28, 30, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--dur-med) var(--ease),
              box-shadow var(--dur-med) var(--ease);
}
.site-header.scrolled {
  background: rgba(20, 20, 22, 0.96);
  box-shadow: 0 2px 24px rgba(0,0,0,.28);
}

.nav-container {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-5);
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .nav-container { padding-inline: var(--space-7); }
}

.nav-logo {
  flex-shrink: 0;
  line-height: 0;
}
.logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Nav menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}
@media (min-width: 900px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  font-weight: 500;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 24px);
  height: 2px;
  background: var(--color-orange);
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease-spring);
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}
.nav-link.active::after,
.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 var(--space-3);
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all var(--dur-med) var(--ease);
  white-space: nowrap;
}
.lang-toggle:hover {
  background: rgba(242,137,32,.2);
  border-color: var(--color-orange);
  color: var(--color-white);
}
.lang-sep {
  margin-inline: 3px;
  opacity: .45;
}
/* Highlight active language */
[data-lang="zh"] .lang-cn { color: var(--color-gold); }
[data-lang="en"] .lang-en { color: var(--color-gold); }

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease);
}
.nav-toggle:hover { background: rgba(255,255,255,.08); }

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

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transition: all var(--dur-med) var(--ease);
}

/* Open state */
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
@media (max-width: 899px) {
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(18, 18, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-5);
    gap: var(--space-2);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-110%);
    transition: transform var(--dur-med) var(--ease-out);
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateY(0);
    pointer-events: all;
  }
  .nav-link {
    padding: 14px var(--space-4);
    font-size: 1rem;
    border-radius: var(--radius-md);
  }
  .lang-toggle {
    width: 100%;
    justify-content: center;
    padding: 14px;
    height: auto;
    border-radius: var(--radius-md);
  }
}

/* -----------------------------------------------------------------
   8. HERO
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-dark);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .55;
}

/* Ambient glow blobs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(242,137,32,.28) 0%, transparent 70%);
  top: -10%;
  right: -8%;
  animation: glow-drift 12s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(233,69,36,.2) 0%, transparent 70%);
  bottom: 5%;
  left: -6%;
  animation: glow-drift 16s ease-in-out infinite alternate-reverse;
}
.hero-glow-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(250,193,20,.14) 0%, transparent 70%);
  top: 40%;
  left: 40%;
  animation: glow-drift 10s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  0%   { transform: translate(0, 0)   scale(1); }
  50%  { transform: translate(20px, -15px) scale(1.08); }
  100% { transform: translate(-10px, 20px) scale(.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding-inline: var(--space-5);
  padding-block: var(--space-8);
}

.hero-badge {
  display: inline-block;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(250,193,20,.12);
  border: 1px solid rgba(250,193,20,.3);
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  margin-bottom: var(--space-6);
  animation: fade-up .8s var(--ease-out) .1s both;
}
body[data-lang="en"] .hero-badge,
body[data-lang="en"] .section-label {
  font-size: .75rem;
  letter-spacing: .06em;
}

.hero-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

.hero-main {
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  background: linear-gradient(
    135deg,
    var(--color-white) 0%,
    rgba(255,255,255,.88) 40%,
    var(--color-gold) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fade-up .8s var(--ease-out) .25s both;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  font-weight: 400;
  color: rgba(255,255,255,.65);
  animation: fade-up .8s var(--ease-out) .4s both;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  animation: fade-up .8s var(--ease-out) .55s both;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: scroll-bounce 2s ease-in-out infinite;
}
.scroll-chevron {
  width: 28px;
  height: 28px;
  border-right: 2.5px solid rgba(255,255,255,.4);
  border-bottom: 2.5px solid rgba(255,255,255,.4);
  transform: rotate(45deg);
  border-radius: 2px;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .6; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -----------------------------------------------------------------
   9. ABOUT
   ----------------------------------------------------------------- */
.about {
  background: var(--color-bg-warm);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr 420px;
    gap: var(--space-10);
  }
}

.about-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: var(--space-8);
  text-align: justify;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.stat-item {
  text-align: center;
  padding: var(--space-5);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: .8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* About card */
.about-brand-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.about-logo {
  width: 80%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: var(--space-5);
}

.about-company-name {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.about-en-name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
}
.about-cn-name {
  font-size: .8125rem;
  color: var(--color-text-muted);
}

.about-license-block {
  width: 100%;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
  margin-top: var(--space-1);
}
.about-license-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: var(--space-2);
}
.about-license-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.license-row {
  font-size: .9rem;
  line-height: 1.5;
  color: #888;
  text-align: center;
}
.license-val {
  color: #666;
}

/* -----------------------------------------------------------------
   10. SERVICES
   ----------------------------------------------------------------- */
.services {
  background: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    /* Row 1: 3 cards; Row 2: 2 centered */
    grid-template-columns: repeat(3, 1fr);
  }
  .service-card:nth-child(4) { grid-column: 1; }
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1;
  }
  /* Center the last two cards */
  .services-grid {
    /* No special trick needed — they naturally fill */
  }
}

/* Centered row for last 2 on wide screens */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .service-card:nth-child(1) { grid-column: 1 / span 2; }
  .service-card:nth-child(2) { grid-column: 3 / span 2; }
  .service-card:nth-child(3) { grid-column: 5 / span 2; }
  .service-card:nth-child(4) { grid-column: 2 / span 2; }
  .service-card:nth-child(5) { grid-column: 4 / span 2; }
}

.service-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6) var(--space-6);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-spring),
              box-shadow var(--dur-med) var(--ease),
              border-color var(--dur-med) var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(242,137,32,.35);
}

/* Color accent strip at top */
.service-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-red-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card:hover .service-card-accent {
  transform: scaleX(1);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(242,137,32,.08);
  border-radius: var(--radius-md);
  color: var(--color-orange);
  margin-bottom: var(--space-5);
  transition: background var(--dur-med) var(--ease),
              transform var(--dur-med) var(--ease-spring);
}
.service-card:hover .service-icon {
  background: rgba(242,137,32,.15);
  transform: scale(1.08);
}

.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.35;
}

.service-desc {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  text-align: justify;
}

.service-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--color-orange);
  opacity: .7;
  text-transform: uppercase;
  transition: opacity var(--dur-fast) var(--ease);
}
.service-card:hover .service-tag {
  opacity: 1;
}

/* -----------------------------------------------------------------
   11. WHY US
   ----------------------------------------------------------------- */
.why-us {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 50%, rgba(242,137,32,.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(233,69,36,.07) 0%, transparent 60%);
  pointer-events: none;
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

.advantage-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  text-align: center;
  transition: background var(--dur-med) var(--ease),
              border-color var(--dur-med) var(--ease),
              transform var(--dur-med) var(--ease-spring);
}
.advantage-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(242,137,32,.3);
  transform: translateY(-4px);
}
.advantage-card-featured {
  background: rgba(242,137,32,.08);
  border-color: rgba(242,137,32,.2);
}
.advantage-card-featured:hover {
  background: rgba(242,137,32,.12);
}

.adv-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(242,137,32,.2), rgba(233,69,36,.2));
  border-radius: 50%;
  color: var(--color-gold);
  margin: 0 auto var(--space-5);
  transition: transform var(--dur-med) var(--ease-spring);
}
.advantage-card:hover .adv-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.adv-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.adv-desc {
  font-size: .9375rem;
  color: rgba(255,255,255,.62);
  line-height: 1.75;
  text-align: justify;
}

/* -----------------------------------------------------------------
   12. CONTACT
   ----------------------------------------------------------------- */
.contact {
  background: var(--color-bg-warm);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 340px 1fr;
    gap: var(--space-10);
  }
}

/* Info card */
.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-intro {
  font-size: .9375rem;
  line-height: 1.8;
  color: #555;
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
  text-align: justify;
}

.contact-email-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease);
}
.contact-email-link:hover {
  background: rgba(242,137,32,.04);
}
.contact-email-address {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-orange);
  letter-spacing: .01em;
}

.contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(242,137,32,.1);
  border-radius: var(--radius-md);
  color: var(--color-orange);
  margin-top: 2px;
}

.contact-info-text {
  flex: 1;
}
.contact-info-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--color-text);
}

/* Contact form */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-7);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 540px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg-warm);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: inherit;
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(242,137,32,.15);
}
.form-group input.error,
.form-group textarea.error {
  border-color: var(--color-red-orange);
  box-shadow: 0 0 0 3px rgba(233,69,36,.12);
}

/* Success message */
.form-success {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(34, 197, 94, .08);
  border: 1px solid rgba(34, 197, 94, .25);
  border-radius: var(--radius-md);
  color: #16a34a;
  font-size: .9375rem;
  font-weight: 500;
}
.form-success[hidden] { display: none; }

/* -----------------------------------------------------------------
   13. FOOTER
   ----------------------------------------------------------------- */
.site-footer {
  background: var(--color-bg-dark2);
  padding-block: var(--space-7) var(--space-5);
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-6);
  margin-top: var(--space-5);
}

.footer-nav a {
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
  transition: color var(--dur-fast) var(--ease);
}

.footer-nav a:hover {
  color: var(--color-orange);
}

.footer-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: var(--space-4);
}

.footer-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
}

.footer-bottom {
  padding-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
  line-height: 1.6;
}

.footer-domain {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255,255,255,.25);
}

/* -----------------------------------------------------------------
   14. REDUCED MOTION
   ----------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
  .hero-glow {
    animation: none;
  }
}
