:root {
  --hc-harbor: #071B3A;
  --hc-navy: #0B2A5B;
  --hc-gold: #BF8E32;
  --hc-mist: #F5F7FA;
  --hc-ink: #1B2433;
  --hc-white: #FFFFFF;
  --hc-radius: 20px;
  --hc-shadow: 0 24px 70px rgba(7, 27, 58, .12);
}

html, body { max-width: 100%; overflow-x: hidden; }
body { color: var(--hc-ink); background: var(--hc-white); }
body .hc-page, body .hc-page * { box-sizing: border-box; }
.hc-page {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--hc-ink);
  background: var(--hc-white);
}
.hc-page h1, .hc-page h2, .hc-page h3, .hc-page p { margin-top: 0; }
.hc-page h1, .hc-page h2 {
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  color: var(--hc-harbor);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hc-page h1 { font-size: clamp(2.8rem, 6vw, 5.9rem); line-height: 1.08; letter-spacing: -.045em; }
.hc-page h2 { font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.18; letter-spacing: -.025em; }
.hc-page h3 { font-size: 1.35rem; color: var(--hc-navy); }
.hc-page p, .hc-page li { font-size: 1.02rem; line-height: 1.85; }
.hc-page a { color: inherit; }

.hc-eyebrow {
  margin-bottom: 18px;
  color: var(--hc-gold);
  font-size: .75rem !important;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hc-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 96px 0; }
.hc-section__heading { max-width: 760px; }
.hc-section__heading--light h2 { color: var(--hc-white); }
.hc-section__intro { max-width: 660px; margin-left: auto; color: #526072; }

.hc-hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(7, 27, 58, .98) 0%, rgba(7, 27, 58, .9) 49%, rgba(7, 27, 58, .35) 100%),
    url("../images/huanchenos-hero.webp") center/cover no-repeat,
    var(--hc-harbor);
}
.hc-hero::after {
  content: "";
  position: absolute;
  width: 85vw;
  height: 85vw;
  right: -48vw;
  top: -44vw;
  border: 2px solid rgba(191, 142, 50, .55);
  border-radius: 50%;
  transform: rotate(-12deg);
  z-index: -1;
}
.hc-hero__content { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 115px 0 90px; }
.hc-hero__content > * { max-width: 760px; }
.hc-hero h1, .hc-hero h2 { color: var(--hc-white); }
.hc-hero h1 em { display: block; margin-top: .04em; color: #D6AF63; font-style: normal; white-space: nowrap; }
.hc-hero__lead { color: rgba(255, 255, 255, .82); font-size: clamp(1.05rem, 1.7vw, 1.25rem) !important; max-width: 690px; }
.hc-hero__proof { color: rgba(255, 255, 255, .66); font-size: .9rem !important; letter-spacing: .08em; }
.hc-hero__mark { position: absolute; right: 8vw; bottom: 9%; width: 280px; height: 280px; opacity: .14; color: var(--hc-white); }
.hc-hero__mark span { font: 800 15rem/1 Arial, sans-serif; }
.hc-hero__mark i { position: absolute; left: -20px; top: 125px; width: 330px; height: 70px; border-top: 12px solid var(--hc-gold); border-radius: 50%; transform: rotate(-14deg); }
.hc-hero--compact { min-height: 520px; }
.hc-hero--compact .hc-hero__content { padding-top: 100px; }
.hc-hero--compact h1 { max-width: 900px; font-size: clamp(2.7rem, 5vw, 5rem); }

.hc-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none !important;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.hc-button:hover { transform: translateY(-2px); }
.hc-button:focus-visible, .hc-page summary:focus-visible { outline: 3px solid #F1C96F; outline-offset: 4px; }
.hc-button--gold { color: var(--hc-harbor) !important; background: #D6AF63; }
.hc-button--gold:hover { background: #E1BF7C; }
.hc-button--ghost { color: var(--hc-white) !important; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.hc-button--navy { color: var(--hc-white) !important; background: var(--hc-navy); }

.hc-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; }
.hc-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-top: 10px; }
.hc-service-card {
  position: relative;
  min-height: 300px;
  padding: 38px;
  border: 1px solid #E2E7EF;
  border-radius: var(--hc-radius);
  background: var(--hc-white);
  box-shadow: 0 14px 40px rgba(7, 27, 58, .05);
}
.hc-service-card::before { content: ""; position: absolute; left: 38px; top: 0; width: 72px; height: 3px; background: var(--hc-gold); }
.hc-service-card p { color: #59677A; }
.hc-service-card a { display: inline-block; margin-top: 12px; color: var(--hc-navy); font-weight: 800; text-decoration-color: var(--hc-gold); text-underline-offset: 5px; }
.hc-card__code { display: block; margin-bottom: 48px; color: var(--hc-gold); font-size: .75rem; font-weight: 800; letter-spacing: .16em; }

.hc-trust, .hc-principles {
  width: 100%;
  max-width: none;
  padding: 110px max(24px, calc((100vw - 1180px)/2));
  color: rgba(255,255,255,.78);
  background: var(--hc-harbor);
}
.hc-trust__grid, .hc-principles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 55px; background: rgba(255,255,255,.14); }
.hc-principles .hc-section__heading { max-width: 820px; }
.hc-trust article, .hc-principles article { padding: 34px; background: var(--hc-harbor); }
.hc-trust strong, .hc-principles strong { display: block; margin-bottom: 12px; color: #D6AF63; font-size: 1.2rem; }

.hc-process ol { list-style: none; margin: 55px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.hc-process li { padding: 28px; border-top: 1px solid #CBD4DF; }
.hc-process li + li { border-left: 1px solid #CBD4DF; }
.hc-process li > span { display: block; margin-bottom: 42px; color: var(--hc-gold); font-size: .8rem; font-weight: 800; }
.hc-process li p { color: #5D6978; }

.hc-channel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 70px;
  align-items: center;
  padding: 64px;
  border-radius: calc(var(--hc-radius) + 4px);
  background: linear-gradient(120deg, #F2F5F9, #E9EEF5);
}
.hc-channel > div { max-width: 760px; }
.hc-faq details { border-top: 1px solid #D9E0E8; }
.hc-faq details:last-child { border-bottom: 1px solid #D9E0E8; }
.hc-faq summary { padding: 25px 0; cursor: pointer; color: var(--hc-navy); font-size: 1.08rem; font-weight: 750; }
.hc-faq details p { max-width: 820px; padding-bottom: 24px; color: #5D6978; }

.hc-final-cta { padding: 100px 24px; text-align: center; color: var(--hc-white); background: var(--hc-navy); }
.hc-final-cta h2 { max-width: 820px; margin: 0 auto 30px; color: var(--hc-white); }
.hc-site-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 32px; padding: 42px max(24px, calc((100vw - 1180px)/2)); border-top: 1px solid #D9E0E8; background: var(--hc-white); }
.hc-site-footer strong, .hc-site-footer span { display: block; }
.hc-site-footer strong { color: var(--hc-navy); font-size: .92rem; }
.hc-site-footer span { margin-top: 6px; color: #7C8797; font-size: .72rem; }
.hc-site-footer > p { margin: 0; color: var(--hc-gold); white-space: nowrap; }

.hc-about-story { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.hc-about-story > div { max-width: 720px; }
.hc-about-story img {
  width: min(100%, 430px);
  justify-self: end;
  padding: 30px;
  border: 1px solid rgba(7, 27, 58, .08);
  border-radius: var(--hc-radius);
  background: linear-gradient(145deg, #FFFFFF, #F4F7FB);
  box-shadow: var(--hc-shadow);
}
.hc-entities { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hc-entities .hc-section__heading { grid-column: 1 / -1; }
.hc-entities article { padding: 36px; border-left: 3px solid var(--hc-gold); background: var(--hc-mist); }
.hc-entities article > span { color: var(--hc-gold); font-size: .75rem; font-weight: 800; letter-spacing: .13em; }
.hc-entities article p { color: #687587; font-size: .8rem; }

.hc-service-detail { display: grid; grid-template-columns: 160px 1fr; gap: 60px; border-bottom: 1px solid #D9E0E8; }
.hc-service-detail > span { padding-top: 9px; }
.hc-service-detail > div { max-width: 800px; }
.hc-service-detail li { margin-bottom: 8px; }
.hc-boundaries { padding: 52px; border-radius: var(--hc-radius); background: var(--hc-mist); }
.hc-note { padding: 18px 20px; border-left: 3px solid var(--hc-gold); color: #586577; background: #F4F0E7; font-size: .9rem !important; }

.hc-contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.hc-contact-grid ul { padding-left: 20px; }
.hc-form-card { padding: 40px; border-radius: var(--hc-radius); background: var(--hc-white); box-shadow: var(--hc-shadow); }
.hc-refresh-contact-form { display: grid; gap: 18px; margin-top: 24px; }
.hc-refresh-contact-form label { display: grid; gap: 8px; color: var(--hc-harbor); font-size: .92rem; font-weight: 750; }
.hc-refresh-contact-form label span { color: var(--hc-gold); }
.hc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hc-form-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hc-form-card input, .hc-form-card textarea, .hc-form-card select { width: 100% !important; min-height: 48px; padding: 12px 14px !important; border: 1px solid #CBD4DF !important; border-radius: 12px !important; color: var(--hc-ink); background: #FBFCFE !important; box-shadow: none !important; }
.hc-form-card textarea { resize: vertical; }
.hc-form-card button, .hc-form-card input[type="submit"] { min-height: 50px !important; padding: 13px 26px !important; border: 0 !important; border-radius: 999px !important; color: var(--hc-harbor) !important; background: #D6AF63 !important; font-weight: 800 !important; cursor: pointer; }
.hc-form-card button:hover, .hc-form-card input[type="submit"]:hover { background: #E1BF7C !important; }
.hc-form-footnote { margin: 0; color: #718093; font-size: .82rem !important; line-height: 1.7 !important; }
.hc-form-status { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; font-size: .92rem !important; line-height: 1.65 !important; }
.hc-form-status--success { color: #215739; background: #EAF6EF; border: 1px solid #BFE3CE; }
.hc-form-status--error { color: #8A3A2B; background: #FFF0EA; border: 1px solid #F1C4B6; }

.blog .site-content,
.archive .site-content,
.single-post .site-content,
.hc-insights-archive,
.hc-post-shell {
  background:
    linear-gradient(180deg, rgba(255,252,246,.94) 0%, rgba(255,255,255,1) 360px),
    var(--hc-white);
}
.blog .site-main,
.archive .site-main,
.single-post .site-main,
.hc-insights-archive,
.hc-post-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 96px;
}
.blog .page-title,
.archive .page-title,
.single-post .entry-title,
.hc-insights-archive h1,
.hc-post-shell h1 {
  max-width: 860px;
  margin: 0 0 28px;
  color: var(--hc-harbor);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.blog .site-main > article,
.archive .site-main > article,
.hc-post-card {
  position: relative;
  margin: 0 0 22px;
  padding: 32px 34px;
  border: 1px solid rgba(7, 27, 58, .10);
  border-left: 4px solid var(--hc-gold);
  border-radius: var(--hc-radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 48px rgba(7, 27, 58, .08);
}
.blog .entry-title,
.archive .entry-title,
.hc-post-card h2 {
  margin-bottom: 12px;
  color: var(--hc-harbor);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.22;
}
.blog .entry-title a,
.archive .entry-title a,
.hc-post-card a {
  color: var(--hc-harbor);
  text-decoration: none;
}
.blog .entry-title a:hover,
.archive .entry-title a:hover,
.hc-post-card a:hover {
  color: var(--hc-gold);
}
.blog .entry-meta,
.archive .entry-meta,
.single-post .entry-meta,
.hc-post-card .entry-meta {
  color: #7A8798;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.blog .entry-summary,
.archive .entry-summary,
.single-post .entry-content,
.hc-post-content {
  max-width: 820px;
  color: #314054;
  font-size: 1.02rem;
  line-height: 1.9;
}
.single-post .entry-content,
.hc-post-content {
  margin-top: 34px;
}
.single-post .entry-content h2,
.single-post .entry-content h3,
.hc-post-content h2,
.hc-post-content h3 {
  margin-top: 2em;
  color: var(--hc-harbor);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
}
.single-post .entry-content blockquote,
.hc-post-content blockquote {
  margin: 32px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--hc-gold);
  color: #526072;
  background: #F7F1E7;
}
.single-post .post-navigation,
.single-post .comments-area,
.hc-post-shell .post-navigation {
  max-width: 820px;
}
.lang-item,
.polylang_langswitcher,
.pll-parent-menu-item {
  white-space: nowrap;
}
.elementor-location-header .lang-item a,
.elementor-location-header .polylang_langswitcher a,
.elementor-location-header .pll-parent-menu-item a,
.elementor-location-header .hc-native-lang-link,
.elementor-location-header .hc-insights-link,
header.site-header .lang-item a,
header.site-header .polylang_langswitcher a,
header.site-header .pll-parent-menu-item a,
header.site-header .hc-native-lang-link,
header.site-header .hc-insights-link {
  display: inline-flex !important;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px !important;
  border: 1px solid rgba(191, 142, 50, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  color: var(--hc-harbor) !important;
  font-weight: 800;
}
.elementor-location-header .hc-native-lang-link,
header.site-header .hc-native-lang-link {
  color: var(--hc-white) !important;
  background: var(--hc-harbor) !important;
  border-color: var(--hc-harbor) !important;
}
.elementor-location-header .hc-insights-link,
header.site-header .hc-insights-link {
  color: var(--hc-gold) !important;
}
.gtranslate_wrapper,
.gt_float_switcher,
.gt_switcher_wrapper {
  display: none !important;
}

img[src*="8081"], img[src*="elementor/assets/images/placeholder"] { display: none !important; }
body:has(.hc-page) .elementor-location-footer, body:has(.hc-page) footer.site-footer { display: none !important; }
.elementor-location-header,
header.site-header {
  background: linear-gradient(135deg, #FFFCF6 0%, #FFFFFF 46%, #F7EFE1 100%) !important;
  border-bottom: 1px solid rgba(191, 142, 50, .28) !important;
  box-shadow: 0 18px 44px rgba(7, 27, 58, .10) !important;
}
.elementor-location-header .elementor-nav-menu a,
.elementor-location-header nav a,
header.site-header nav a {
  color: var(--hc-harbor) !important;
  text-decoration: none !important;
}
.elementor-location-header .elementor-nav-menu a:hover,
.elementor-location-header .elementor-nav-menu .current-menu-item > a,
.elementor-location-header nav a:hover,
header.site-header nav a:hover {
  color: #D6AF63 !important;
}
.custom-logo-link,
.custom-mobile-logo-link {
  display: inline-flex !important;
  align-items: center;
  gap: 14px;
  min-width: 236px;
  min-height: 66px;
  text-decoration: none !important;
}
.custom-logo-link img.custom-logo,
.custom-mobile-logo-link img.custom-logo {
  display: block !important;
  width: 64px;
  height: 64px !important;
  max-width: 64px !important;
  opacity: 1 !important;
  object-fit: contain;
  flex: 0 0 64px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .18));
}
.custom-logo-link img.custom-logo { width: 64px !important; }
.hc-header-wordmark {
  color: var(--hc-harbor);
  font: 800 1.25rem/1 Inter, Arial, sans-serif;
  letter-spacing: .065em;
  text-shadow: none;
}

.hc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.hc-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hc-trust__grid, .hc-principles__grid, .hc-process ol { grid-template-columns: repeat(2, 1fr); }
  .hc-process li + li { border-left: 0; }
  .hc-process li:nth-child(even) { border-left: 1px solid #CBD4DF; }
  .hc-intro, .hc-about-story, .hc-contact-grid { grid-template-columns: 1fr; }
  .hc-section__intro { margin-left: 0; }
  .hc-about-story img { justify-self: start; }
  .hc-site-footer { grid-template-columns: 1fr 1fr; }
  .hc-site-footer > p { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .hc-page { width: 100%; margin-left: 0; }
  .hc-eyebrow { letter-spacing: .12em; line-height: 1.45; }
  .hc-page h1 { font-size: clamp(2.15rem, 10.5vw, 3.25rem); line-height: 1.08; }
  .hc-hero h1 em { white-space: normal; }
  .hc-page h2 { font-size: clamp(1.7rem, 7.4vw, 2.35rem); line-height: 1.14; }
  .hc-section { width: min(100% - 32px, 1180px); padding: 70px 0; }
  .hc-hero { min-height: 650px; }
  .hc-hero--compact { min-height: 520px; }
  .hc-hero__content { width: min(calc(100% - 32px), 100%); padding: 100px 0 70px; }
  .hc-hero__mark { display: none; }
  .hc-actions { align-items: stretch; }
  .hc-button { width: 100%; min-height: 50px; }
  .hc-services, .hc-entities, .hc-trust__grid, .hc-principles__grid, .hc-process ol, .hc-form-row { grid-template-columns: 1fr; }
  .hc-service-card { min-height: 0; padding: 30px; }
  .hc-trust, .hc-principles { padding: 78px 16px; }
  .hc-process li:nth-child(even), .hc-process li + li { border-left: 0; }
  .hc-channel { grid-template-columns: 1fr; gap: 24px; padding: 34px 24px; }
  .hc-service-detail { grid-template-columns: 1fr; gap: 8px; }
  .hc-service-detail .hc-card__code { margin-bottom: 8px; }
  .hc-boundaries { padding: 30px 24px; }
  .hc-form-card { padding: 28px 20px; }
  .blog .site-main,
  .archive .site-main,
  .single-post .site-main,
  .hc-insights-archive,
  .hc-post-shell {
    width: calc(100% - 32px);
    padding: 60px 0 76px;
  }
  .blog .site-main > article,
  .archive .site-main > article,
  .hc-post-card {
    padding: 26px 22px;
    border-radius: 18px;
  }
  .blog .page-title,
  .archive .page-title,
  .single-post .entry-title,
  .hc-insights-archive h1,
  .hc-post-shell h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  .blog .entry-title,
  .archive .entry-title,
  .hc-post-card h2 {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
  }
  .hc-site-footer { grid-template-columns: 1fr; }
  .hc-site-footer > p { grid-column: auto; white-space: normal; }
  .custom-logo-link,
  .custom-mobile-logo-link { gap: 10px; min-width: 174px; min-height: 52px; }
  .custom-logo-link img.custom-logo,
  .custom-mobile-logo-link img.custom-logo {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    flex-basis: 48px;
  }
  .hc-header-wordmark { font-size: .96rem; }
  .gtranslate_wrapper,
  .gt_float_switcher,
  .gt_switcher_wrapper {
    left: auto !important;
    right: 12px !important;
    bottom: 12px !important;
    max-width: calc(100vw - 24px) !important;
    z-index: 999999 !important;
  }
  .gt_float_switcher {
    transform: none !important;
  }
  .gt_float_switcher .gt-selected,
  .gt_float_switcher .gt_options {
    max-width: calc(100vw - 24px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-page *, .hc-page *::before, .hc-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .hc-reveal { opacity: 1; transform: none; }
}
