:root {
  --deep-sea: #071826;
  --deep-sea-2: #0d2435;
  --charcoal: #0b1d2b;
  --ink: #202124;
  --body: #4d5560;
  --ivory: #f8f3e8;
  --paper: #fffaf0;
  --champagne: #c7a45b;
  --champagne-soft: #ead9ac;
  --line: rgba(7, 24, 38, 0.14);
  --shadow: 0 18px 60px rgba(7, 24, 38, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html:lang(zh) body {
  line-height: 1.72;
  font-weight: 450;
}

html:lang(zh) .section-lede,
html:lang(zh) .hero-copy,
html:lang(zh) .service-card p,
html:lang(zh) .area-card p,
html:lang(zh) .class-row p,
html:lang(zh) .why-item p,
html:lang(zh) .faq-item p {
  line-height: 1.75;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--champagne);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: var(--deep-sea);
  color: #fff;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--champagne); outline-offset: 3px; }

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(248, 243, 232, 0.94);
  border-bottom: 1px solid rgba(7, 24, 38, 0.1);
  backdrop-filter: blur(18px);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}
.brand img {
  width: 78px;
  height: auto;
  mix-blend-mode: multiply;
  filter: contrast(1.08) saturate(0.9);
}
.brand-name { display: block; font-weight: 900; letter-spacing: 0.08em; color: var(--deep-sea); font-size: 1.12rem; }
.brand-line { display: block; font-size: 0.91rem; color: #34414c; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.nav-links a, .language button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--deep-sea);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-links a { min-width: 44px; justify-content: center; padding: 0 0.25rem; }
.nav-links a:hover, .language button:hover { color: #8d6d2c; }
.language {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.language button { min-width: 50px; justify-content: center; padding: 0 0.75rem; }
.language button.active { background: var(--deep-sea); color: #fff; }
.menu-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--deep-sea);
  cursor: pointer;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--deep-sea); color: #fff; }
.btn-primary:hover { background: #0f2d42; }
.btn-secondary { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.btn-light { border-color: var(--line); color: var(--deep-sea); background: rgba(255,255,255,0.55); }
.btn-light:hover { border-color: var(--champagne); }

.hero {
  min-height: 88vh;
  display: grid;
  align-items: end;
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,24,38,0.88) 0%, rgba(7,24,38,0.62) 42%, rgba(7,24,38,0.12) 100%),
    linear-gradient(0deg, rgba(7,24,38,0.72), rgba(7,24,38,0.04) 42%);
  z-index: -1;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-content {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 8.9rem 0 5.5rem;
}
.eyebrow {
  color: var(--champagne-soft);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.05;
  letter-spacing: 0;
}
h1 {
  max-width: 980px;
  margin: 1rem 0;
  font-size: clamp(2.45rem, 4.1vw, 4.65rem);
  font-weight: 500;
}
.hero-copy {
  max-width: 640px;
  margin: 0 0 1.75rem;
  color: rgba(255,255,255,0.86);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-proof {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 880px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.proof-item {
  padding: 0.95rem 1rem 0 0;
  font-size: 0.95rem;
}
.proof-item strong { display: block; color: #fff; font-size: 1rem; }

.section {
  padding: 5.5rem 1.25rem;
}
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.5fr);
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 3rem;
}
.section h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  color: var(--deep-sea);
  font-weight: 500;
}
.section-lede { color: var(--body); margin: 0; }

.trust-strip {
  background: var(--deep-sea);
  color: #fff;
  padding: 1.25rem;
}
.trust-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.12);
}
.trust-item {
  background: var(--deep-sea);
  padding: 1.4rem;
}
.trust-item span { color: var(--champagne-soft); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 850; }
.trust-item strong { display: block; margin-top: 0.35rem; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.service-card, .area-card, .class-row, .why-item, .faq-item {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.58);
}
.service-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
}
.service-card img {
  width: 100%;
  height: clamp(260px, 21vw, 300px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.98);
}
.service-card:nth-child(1) img { object-position: center center; }
.service-card:nth-child(2) img { object-position: center center; }
.service-card:nth-child(3) img { object-position: center 42%; }
.service-card-body { padding: 1.4rem; }
.service-card h3, .area-card h3 { margin: 0 0 0.6rem; color: var(--deep-sea); font-size: 1.55rem; font-weight: 500; }
.service-card p, .area-card p, .class-row p, .why-item p, .faq-item p { color: var(--body); margin: 0; }

.areas { background: var(--paper); }
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.area-card { padding: 1.4rem; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }
.area-card span { color: var(--champagne); font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; }

.classes {
  background: var(--deep-sea);
  color: #fff;
}
.classes .section h2, .classes h2 { color: #fff; }
.classes .section-lede { color: rgba(255,255,255,0.68); }
.class-list { display: grid; gap: 1rem; }
.class-row {
  display: grid;
  grid-template-columns: 0.28fr 1fr 0.34fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.13);
}
.class-row h3 { margin: 0; color: #fff; font-size: 1.65rem; }
.class-row p { color: rgba(255,255,255,0.72); }
.class-row small { color: var(--champagne-soft); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.why-item { padding: 1.4rem; }
.why-item b { display: block; color: var(--deep-sea); margin-bottom: 0.45rem; }

.quote-panel {
  background: var(--deep-sea);
  color: #fff;
}
.quote-box {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.42fr);
  gap: 2rem;
  align-items: center;
}
.quote-box h2 { color: #fff; }
.quote-box p { color: rgba(255,255,255,0.72); }
.quote-box .btn-secondary {
  min-height: 56px;
  padding: 0 1.55rem;
  border-color: var(--champagne-soft);
  background: var(--champagne-soft);
  color: var(--deep-sea);
}
.quote-box .btn-secondary:hover {
  border-color: #f3e6bf;
  background: #f3e6bf;
}
.quote-box .btn-secondary:focus-visible {
  outline-color: #fff;
}
.quote-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.quote-steps li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-height: 44px;
  color: rgba(255,255,255,0.86);
}
.quote-steps span {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  color: var(--champagne-soft);
  font-weight: 900;
}

.faq-list { display: grid; gap: 0.8rem; }
.faq-item { padding: 1.25rem 1.4rem; }
.faq-item h3 { margin: 0 0 0.45rem; font-size: 1.35rem; color: var(--deep-sea); }

.site-footer {
  background: var(--deep-sea-2);
  color: rgba(255,255,255,0.74);
  padding: 4rem 1.25rem 2rem;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.7fr);
  gap: 2rem;
}
.site-footer h3, .site-footer h4 { color: #fff; margin-top: 0; }
.site-footer a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.74);
}
.site-footer a:hover { color: var(--champagne-soft); }
.footer-note {
  max-width: 1180px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: fixed;
    top: 94px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.35rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { min-height: 48px; }
  .language { align-self: flex-start; margin-top: 0.5rem; }
  .hero { min-height: 86vh; }
  .hero-content { padding: 7rem 0 4rem; }
  .hero-proof, .trust-grid, .service-grid, .area-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-card img { height: clamp(260px, 50vw, 360px); }
  .section-head, .quote-box, .class-row { grid-template-columns: 1fr; }
  .section { padding: 4rem 1.25rem; }
}

@media (max-width: 520px) {
  .nav-inner { min-height: 82px; }
  .nav-links { top: 82px; }
  .brand-line { display: none; }
  .brand img { width: 64px; }
  .brand-name { font-size: 1rem; }
  h1 { font-size: clamp(2.25rem, 10.5vw, 3.1rem); }
  .service-card img {
    aspect-ratio: auto;
    height: clamp(198px, 56vw, 232px);
  }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

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