/* HUAFIT V58 canonical visual system. New templates use only hf58-* components. */
:root{
  --hf58-cyan:#02b4c4;
  --hf58-cyan-soft:#dcf7f6;
  --hf58-navy:#071f2b;
  --hf58-ink:#102a34;
  --hf58-muted:#60747b;
  --hf58-paper:#f4f8f7;
  --hf58-line:#d8e4e4;
  --hf58-container:1240px;
  --hf58-gutter:clamp(24px,5vw,72px);
  --hf58-section:clamp(80px,9vw,136px);
  --hf58-header:88px;
  --hf-header-h:88px;
}
html{scroll-padding-top:var(--hf58-header)}
body{font-family:"HarmonyOS Sans SC","PingFang SC","Microsoft YaHei",Arial,sans-serif;color:var(--hf58-ink);font-size:17px;line-height:1.72}
.hf58-container{width:min(var(--hf58-container),calc(100% - var(--hf58-gutter)*2));margin-inline:auto}
.hf58-main{padding-top:var(--hf58-header);overflow:clip}
.hf58-main h1,.hf58-main h2,.hf58-main h3,.hf58-main p,.hf58-main span,.hf58-footer{overflow-wrap:normal;word-break:normal}
.hf58-kicker{margin:0 0 20px;color:var(--hf58-cyan);font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.hf58-title{margin:0;font-size:clamp(42px,4.5vw,68px);font-weight:560;line-height:1.12;letter-spacing:-.055em;text-wrap:balance}
.hf58-title em{color:var(--hf58-cyan);font-style:normal}
.hf58-copy{max-width:42em;margin:24px 0 0;color:var(--hf58-muted);font-size:18px;line-height:1.82}
.hf58-link{display:inline-flex;align-items:center;gap:10px;margin-top:28px;padding-bottom:7px;border-bottom:1px solid currentColor;font-size:14px;font-weight:700}

/* Header */
.hf58-header{height:var(--hf58-header);background:rgba(7,31,43,.97);backdrop-filter:blur(16px)}
.hf58-header__inner{width:min(var(--hf58-container),calc(100% - var(--hf58-gutter)*2));gap:clamp(24px,3vw,48px)}
.hf58-header .hf58-logo{flex:0 0 clamp(176px,14vw,220px);width:clamp(176px,14vw,220px);height:40px}
.hf58-header .hf58-logo img{width:auto!important;height:100%!important;max-height:40px;object-fit:contain}
.hf58-nav{margin-left:auto}
.hf58-nav .hf-menu{gap:clamp(18px,2vw,30px)}
.hf58-nav .hf-menu a{padding:12px 0;font-size:15px;font-weight:600}
.hf58-language{display:flex;flex:0 0 auto;gap:3px;margin-left:18px;padding:3px;border:1px solid rgba(255,255,255,.3);border-radius:999px}
.hf58-language a{display:grid;min-width:34px;height:26px;place-items:center;border-radius:999px;color:#fff;font-size:11px;font-weight:700}
.hf58-language .is-active{background:var(--hf58-cyan);color:var(--hf58-navy)}

/* Hero */
.hf58-hero{position:relative;min-height:calc(100svh - var(--hf58-header));overflow:hidden;background:var(--hf58-navy)}
.hf58-slide{position:absolute;inset:0;visibility:hidden;opacity:0;color:#fff;background-image:linear-gradient(90deg,rgba(7,31,43,.88) 0%,rgba(7,31,43,.5) 48%,rgba(7,31,43,.08) 78%),var(--hf58-image);background-position:center;background-size:cover;transition:opacity .65s ease,visibility .65s ease}
.hf58-slide.is-active{visibility:visible;opacity:1}
.hf58-hero__inner{display:flex;min-height:calc(100svh - var(--hf58-header));align-items:center}
.hf58-hero__copy{width:min(680px,62%)}
.hf58-hero .hf58-title{max-width:12em;color:#fff;font-size:clamp(50px,5.35vw,78px);line-height:1.08}
.hf58-hero .hf58-copy{max-width:33em;color:rgba(255,255,255,.84)}
.hf58-hero .hf58-link{color:#fff}
.hf58-hero__controls{position:absolute;right:max(var(--hf58-gutter),calc((100% - var(--hf58-container))/2));bottom:42px;z-index:3;display:flex;gap:10px}
.hf58-hero__controls button{width:40px;height:3px;padding:0;border:0;background:rgba(255,255,255,.36);cursor:pointer}
.hf58-hero__controls button.is-active,.hf58-hero__controls button[aria-selected=true]{background:var(--hf58-cyan)}

/* Shared sections */
.hf58-section{padding:var(--hf58-section) 0}
.hf58-section--paper{background:var(--hf58-paper)}
.hf58-section--navy{color:#fff;background:var(--hf58-navy)}
.hf58-section--cyan{background:var(--hf58-cyan-soft)}
.hf58-editorial{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.55fr);gap:clamp(42px,8vw,110px);align-items:end}
.hf58-editorial--center{display:block;max-width:960px;margin-inline:auto;text-align:center}
.hf58-editorial--center .hf58-copy{margin-inline:auto}
.hf58-statements{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:58px;border-top:1px solid var(--hf58-line)}
.hf58-statements article{padding:28px 30px 10px 0}
.hf58-statements article+article{padding-left:30px;border-left:1px solid var(--hf58-line)}
.hf58-index{color:var(--hf58-cyan);font-size:12px;font-weight:700}
.hf58-statements h3,.hf58-card h3{margin:28px 0 10px;font-size:25px;font-weight:620;line-height:1.35}
.hf58-statements p,.hf58-card p{margin:0;color:var(--hf58-muted);font-size:16px}
.hf58-split{display:grid;grid-template-columns:1fr 1fr;min-height:610px}
.hf58-split__media{min-height:610px;background:var(--hf58-image) center/cover}
.hf58-split__copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(56px,8vw,118px);background:var(--hf58-navy);color:#fff}
.hf58-split__copy .hf58-title{color:#fff}
.hf58-split__copy .hf58-copy{color:rgba(255,255,255,.75)}
.hf58-media-band{min-height:560px;display:flex;align-items:flex-end;color:#fff;background-image:linear-gradient(90deg,rgba(7,31,43,.88),rgba(7,31,43,.2)),var(--hf58-image);background-position:center;background-size:cover}
.hf58-media-band .hf58-container{padding-block:72px}
.hf58-media-band .hf58-title{max-width:10em;color:#fff}
.hf58-media-band .hf58-copy{color:rgba(255,255,255,.82)}
.hf58-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:52px}
.hf58-card-grid--four{grid-template-columns:repeat(4,1fr)}
.hf58-card{min-height:270px;padding:30px;border:1px solid var(--hf58-line);background:#fff}

/* Page heroes */
.hf58-page-hero{position:relative;display:flex;min-height:clamp(560px,46vw,700px);align-items:center;color:#fff;background-image:linear-gradient(90deg,rgba(7,31,43,.9),rgba(7,31,43,.5) 50%,rgba(7,31,43,.08)),var(--hf58-image);background-position:center;background-size:cover}
.hf58-page-hero__copy{width:min(700px,62%)}
.hf58-page-hero .hf58-title{max-width:10em;color:#fff;font-size:clamp(48px,4.8vw,74px)}
.hf58-page-hero .hf58-copy{color:rgba(255,255,255,.84)}

/* Product series */
.hf58-series{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:54px}
.hf58-series article{position:relative;min-height:330px;padding:34px;overflow:hidden;border:1px solid var(--hf58-line);background:#eef9f8}
.hf58-series article:nth-child(2){background:#edf6fa}.hf58-series article:nth-child(3){background:#f0eff8}.hf58-series article:nth-child(4){background:#f9eff2}
.hf58-series article:after{position:absolute;right:-.06em;bottom:-.3em;color:rgba(7,31,43,.055);font-size:210px;font-weight:700;line-height:1;content:attr(data-index)}
.hf58-series small{position:relative;z-index:1;color:var(--hf58-muted);font-size:12px;font-weight:700;letter-spacing:.08em}
.hf58-series h2{position:relative;z-index:1;margin:70px 0 12px;font-size:32px;font-weight:620}
.hf58-series p{position:relative;z-index:1;max-width:31em;margin:0;color:var(--hf58-muted)}

/* News */
.hf58-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:52px}
.hf58-news-card{position:relative;display:flex;min-height:420px;align-items:flex-end;padding:28px;overflow:hidden;color:#fff;background-image:linear-gradient(0deg,rgba(7,31,43,.88),rgba(7,31,43,.08)),var(--hf58-image);background-position:center;background-size:cover}
.hf58-news-card:before{position:absolute;inset:0;background:linear-gradient(135deg,rgba(2,180,196,.14),transparent 45%);content:""}
.hf58-news-card__copy{position:relative;z-index:1}
.hf58-news-card time{font-size:12px;letter-spacing:.08em}.hf58-news-card h2{margin:12px 0 8px;font-size:27px;font-weight:620;line-height:1.3}.hf58-news-card p{margin:0;color:rgba(255,255,255,.78);font-size:15px}
.hf58-article-hero{display:flex;min-height:clamp(560px,58vw,780px);align-items:flex-end;color:#fff;background-image:linear-gradient(0deg,rgba(7,31,43,.9),rgba(7,31,43,.08) 62%),var(--hf58-image);background-position:center;background-size:cover}.hf58-article-hero .hf58-container{padding-block:clamp(56px,8vw,100px)}.hf58-article-hero .hf58-title{max-width:12em;color:#fff}.hf58-article-content{max-width:900px;padding-block:clamp(64px,8vw,110px)}.hf58-article-content>*{max-width:100%}.hf58-article-content p{margin:0 0 1.5em}.hf58-article-content img{width:100%;margin:42px 0}

/* Contact and footer */
.hf58-contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:50px}
.hf58-contact-card{display:flex;min-height:310px;flex-direction:column;padding:30px;border:1px solid var(--hf58-line);background:#fff}
.hf58-contact-card h2{margin:30px 0 20px;font-size:27px;font-weight:620}.hf58-contact-card address,.hf58-contact-card>p{margin:0 0 15px;color:var(--hf58-muted);font-style:normal}.hf58-contact-card a{margin-top:auto;font-weight:700}
.hf58-footer{background:var(--hf58-navy);color:#fff}
.hf58-footer__top,.hf58-footer__nav,.hf58-footer__bottom{width:min(var(--hf58-container),calc(100% - var(--hf58-gutter)*2));margin-inline:auto}
.hf58-footer__top{display:flex;justify-content:space-between;gap:40px;align-items:end;padding:64px 0 48px}.hf58-footer__logo img{width:auto;max-width:220px;max-height:42px}.hf58-footer__tag{margin-top:18px}.hf58-footer__tag b,.hf58-footer__tag span{display:block}.hf58-footer__tag b{letter-spacing:.14em}.hf58-footer__tag span{margin-top:4px;color:var(--hf58-cyan)}
.hf58-footer__nav{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:56px;padding:42px 0;border-top:1px solid rgba(255,255,255,.15)}.hf58-footer__nav h2{margin:0 0 16px;color:var(--hf58-cyan);font-size:12px;letter-spacing:.12em}.hf58-footer__nav .hf-footer-links{display:grid;gap:9px;margin:0;padding:0;list-style:none}.hf58-footer__nav a{font-size:15px}.hf58-footer__values{color:rgba(255,255,255,.68)}
.hf58-footer__bottom{display:flex;justify-content:space-between;gap:24px;padding:20px 0;border-top:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.55);font-size:12px}

/* Motion */
@media(prefers-reduced-motion:no-preference){.hf58-card,.hf58-series article,.hf58-news-card{transition:transform .35s ease,box-shadow .35s ease}.hf58-card:hover,.hf58-series article:hover,.hf58-news-card:hover{transform:translateY(-5px);box-shadow:0 22px 50px rgba(7,31,43,.1)}}

@media(max-width:1100px){
  :root{--hf58-header:78px;--hf-header-h:78px}.hf58-header__inner{width:calc(100% - var(--hf58-gutter)*2)}.hf58-header .hf58-logo{flex-basis:180px;width:180px;height:34px}.hf58-header .hf58-logo img{max-height:34px}.hf58-language{margin-left:auto}.hf58-card-grid,.hf58-card-grid--four{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  :root{--hf58-header:72px;--hf58-gutter:22px;--hf58-section:76px}body{font-size:16px}.hf58-title{font-size:clamp(38px,10vw,52px);letter-spacing:-.04em}.hf58-copy{font-size:16px}.hf58-header__inner{width:calc(100% - 40px)}.hf58-header .hf58-logo{flex-basis:158px;width:158px;height:31px}.hf58-header .hf58-logo img{max-height:31px}.hf58-language{margin-right:44px}.hf58-nav{right:-20px;left:-20px}.hf58-hero,.hf58-hero__inner{min-height:calc(100svh - var(--hf58-header))}.hf58-slide{background-image:linear-gradient(90deg,rgba(7,31,43,.88),rgba(7,31,43,.34)),var(--hf58-mobile-image,var(--hf58-image));background-position:58% center}.hf58-hero__inner{align-items:flex-end;padding-bottom:94px}.hf58-hero__copy,.hf58-page-hero__copy{width:100%}.hf58-hero .hf58-title{font-size:clamp(44px,12vw,58px);text-wrap:pretty}.hf58-hero__controls{right:22px;bottom:34px}.hf58-editorial,.hf58-statements,.hf58-split,.hf58-card-grid,.hf58-series,.hf58-news-grid,.hf58-contact-grid,.hf58-footer__nav{grid-template-columns:1fr}.hf58-editorial{gap:24px}.hf58-statements{margin-top:36px}.hf58-statements article,.hf58-statements article+article{padding:24px 0;border-left:0;border-bottom:1px solid var(--hf58-line)}.hf58-split__media{min-height:390px}.hf58-split__copy{min-height:430px;padding:56px 22px}.hf58-page-hero{min-height:540px;background-position:60% center}.hf58-page-hero .hf58-title{font-size:clamp(42px,11vw,56px)}.hf58-series article{min-height:290px;padding:28px}.hf58-series h2{margin-top:58px;font-size:28px}.hf58-news-card{min-height:360px}.hf58-contact-card{min-height:260px}.hf58-footer__top{display:grid;padding-top:52px}.hf58-footer__nav{gap:32px}.hf58-footer__bottom{flex-direction:column;gap:6px}.hf58-footer__values{margin-top:8px}
}

/* Final V58 compatibility guards for legacy base rules. */
.hf58-brand-page .hf58-card-grid{grid-template-columns:repeat(4,1fr)}
.hf58-en .hf58-title{letter-spacing:-.045em}.hf58-en .hf58-hero .hf58-title{max-width:12em}.hf58-en .hf58-page-hero .hf58-title{max-width:13em}.hf58-en .hf58-series small:empty{display:none}
@media(max-width:1100px){.hf58-brand-page .hf58-card-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){:root{--hf-header-h:72px}.hf58-brand-page .hf58-card-grid{grid-template-columns:1fr}}
