/* ============================================================
   ATbio — Contact Us (atbio-contact.html)
   Standalone CSS file with all styles included.
   ============================================================ */

/* ===========================================================================
   1. GLOBAL — Fonts & Base
   =========================================================================== */
html,body{font-family:'Jost','Playfair Display',system-ui,sans-serif;}
h1,h2,.brand-wordmark,.culture .panel h3{font-family:'Playfair Display',Georgia,serif;}
.hero h1,.sec-title h2,.heritage-left h2,.culture .panel h3,.brand-intro h2{font-family:'Noto Sans SC','Source Han Sans SC','Jost',sans-serif;font-weight:700;letter-spacing:.02em;}
html,body{margin:0;padding:0;overflow-x:hidden;color:#1a1a1a;background:#fff;}
.page{max-width:1920px;width:100%;margin:0 auto;}
a{color:inherit; text-decoration:none;transition:color .25s ease,background-color .3s ease,transform .3s ease;}

/* ===========================================================================
   2. COMMON — Top navigation (header)
   =========================================================================== */
.topbar{position:relative;z-index:60;background:#fff;border-bottom:1px solid #eef0f3;}
.nav{display:flex;align-items:center;justify-content:space-between;padding:10px clamp(20px,5vw,96px);}
.nav .logo{display:inline-flex;align-items:center;line-height:0;}
.nav .logo img{height:44px;width:auto;display:block;object-fit:contain;}
.desk-nav{display:flex;gap:36px;font-size:14px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;}
.desk-nav a{cursor:pointer;position:relative;display:inline-block;transition:color .2s;}
.desk-nav a:hover,.desk-nav a.active{color:#9EE3DE;}
.nav-right{display:flex;gap:14px;align-items:center;font-size :14px;position:relative;}

.lang-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:999px;border:1px solid #d6dbe1;background:#fff;font-size:12px;cursor:pointer;position:relative;}
.lang-pill:hover{border-color:#9EE3DE;color:#9EE3DE;}
.lang-pill .lang-menu{position:absolute;top:calc(100% + 6px);right:0;background:#fff;border:1px solid #eef0f3;border-radius:14px;box-shadow:0 12px 30px -10px rgba(0,0,0,.15);padding:6px;display:none;min-width:120px;z-index:80;}
.lang-pill:hover .lang-menu,.lang-pill:focus-within .lang-menu{display:block;}
.lang-pill .lang-menu a{display:block;padding:8px 14px;border-radius:999px;font-size:12px;}
.lang-pill .lang-menu a:hover{background:#f1f6fb;color:#9EE3DE;}

.search-wrap{display:inline-flex;align-items:center;}
.search-input{width:0;opacity:0;padding:0;border:1px solid transparent;border-radius:999px;background:#f1f6fb;font-size:12px;outline:none;margin-right:0;
  transition:width .55s cubic-bezier(.65,.05,.36,1),opacity .35s ease,padding .45s ease,margin .45s ease,border-color .35s ease,box-shadow .45s ease;}
.search-wrap:hover .search-input{width:240px;opacity:1;padding:8px 16px;margin-right:8px;border-color:#cfe1f3;box-shadow:0 6px 22px -10px rgba(126,192,238,.6);}
.search-pill{width:36px;height:36px;border-radius:50%;border:1px solid #d6dbe1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .35s ease,color .2s,border-color .2s,background .3s;}
.search-pill:hover{color:#9EE3DE;border-color:#9EE3DE;}
.search-wrap:hover .search-pill{transform:rotate(90deg);background:#9EE3DE;color:#fff;border-color:#9EE3DE;}

.mnav-toggle{display:none;width:40px;height:40px;align-items:center;justify-content:center;border:1px solid #d6dbe1;border-radius:8px;cursor:pointer;}
#mnav-chk{display:none;}
.mnav{display:none;position:fixed;inset:0;background:#000000;z-index:200;flex-direction:column;align-items:flex-start;padding:80px 32px;gap:20px;color:#fff;}
.mnav a{color:#fff;font-size:18px;font-weight:500;text-align:left;align-self:flex-start;}
.mnav .mnav-close{position:absolute;top:24px;right:24px;font-size:28px;color:#fff;cursor:pointer;}
.mnav input{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:999px;padding:12px 18px;width:100%;font-size:14px;}
.mnav .msearch-wrap{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;margin-top:8px;}
.mnav .msearch-input{flex:1 1 auto;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:999px;padding:12px 18px;font-size:14px;outline:none;}
.mnav .msearch-pill{flex:0 0 auto;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:transparent;display:inline-flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;}
.mnav .lang-select{background:#000;border:1px solid rgba(255,255,255,.2);color:#fff;padding:10px 40px 10px 16px;border-radius:8px;font-size:14px;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;width:100%;margin-top:8px;}
#mnav-chk:checked ~ .mnav{display:flex !important;}

/* ===========================================================================
   3. COMMON — Unified link / button / card / image interaction (fx-*)
   =========================================================================== */
.fx-link,.desk-nav a{position:relative;display:inline-block;width:fit-content;max-width:100%;line-height:1.15;vertical-align:bottom;color:#000000;}
.fx-link:hover{color:#9EE3DE;}

.fx-btn{transition:background-color .3s ease,color .3s ease,box-shadow .3s ease,transform .3s ease,letter-spacing .25s ease;}
.fx-btn::after{display:none !important;}

.fx-card{display:block;text-decoration:none;height:100%;}
.fx-card .pp-image{overflow:hidden;}
.fx-card .pp-image img{transition:transform .6s cubic-bezier(.2,.7,.3,1),filter .4s ease;will-change:transform;}
.fx-card:hover .pp-image img{transform:scale(1.08);filter:brightness(1.04);}
.fx-card h3{transition:color .3s ease,transform .3s ease,letter-spacing .3s ease;transform-origin:left center;display:inline-block;}
.fx-card:hover h3{color:#9EE3DE;transform:scale(1.04);letter-spacing:.01em;}
.fx-card p{transition:color .3s ease;}

/* ===========================================================================
   4. PAGE-LOCAL — Contact HERO BANNER
   =========================================================================== */
.ct-hero{
  position:relative;height:clamp(360px,42vw,560px);overflow:hidden;
  display:flex;align-items:flex-start;justify-content:flex-start;
  background-position:center;background-size:cover;background-repeat:no-repeat;
}
.ct-hero-inner{position:relative;z-index:2;padding: 100px clamp(20px,5vw,96px);max-width:520px;}
.ct-hero-copy{font-size:20px;line-height:1.65;color:#3a4a5e;margin:0 0 60px;font-weight:400;}
.ct-hero-btn{display:inline-block;background:#000000;color:#fff;padding:10px 32px;border-radius:999px;font-size:13px;letter-spacing:.04em;}
.ct-hero-btn:hover{background:#9EE3DE;color:#000000;}

/* ===========================================================================
   5. PAGE-LOCAL — INTRO
   =========================================================================== */
.ct-intro{padding:80px clamp(20px,5vw,96px) 30px;}
.ct-intro h1{font-family:"Noto Sans SC", "Source Han Sans SC", "Jost", sans-serif;font-size:clamp(35px,4vw,45px);font-weight:600;margin:0 0 26px;line-height:1.05;letter-spacing:-0.08em;}
.ct-intro h1 a{display:inline-block;}
.ct-intro p{font-size:15px;color:#3a4a5e;line-height:1.65;margin:0;}

/* ===========================================================================
   6. PAGE-LOCAL — TWO INFO CARDS
   =========================================================================== */
.ct-cards{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:30px clamp(20px,5vw,96px) 60px;}
.ct-card{background:#eceeef;border-radius:14px;padding:50px 50px 60px;display:flex;flex-direction:column;align-items:flex-start;transition:transform .35s ease,box-shadow .35s ease;}
.ct-card:hover{transform:translateY(-4px);box-shadow:0 24px 60px -28px rgba(13,37,64,.18);}
.ct-card h3{font-family:"Noto Sans SC", "Source Han Sans SC", "Jost", sans-serif;font-size:clamp(22px,2.4vw,30px);font-weight:500;margin:0 0 24px;line-height:1.25em;}
.ct-card h3 strong{font-weight:700;}
.ct-card p{font-size:15px;color:#3a4a5e;line-height:1.55;margin:0 0 36px;max-width:40ch;}
.ct-card-btn{display:inline-block;background:rgba(0,0,0,.35);color:#fff;padding:10px 28px;border-radius:999px;font-size:13px;letter-spacing:.03em;}
.ct-card-btn:hover{background:#9EE3DE;}

/* ===========================================================================
   7. PAGE-LOCAL — CONTACT FORM
   =========================================================================== */
.ct-form-section{padding:40px clamp(20px,5vw,96px) 80px;}
.ct-form-lead{font-size:14px;margin:0 0 18px;font-weight:500;}
.ct-form{display:flex;flex-direction:column;gap:18px;}
.ct-row{display:grid;grid-template-columns:1fr 1fr;gap:30px;}
.ct-field{display:flex;flex-direction:column;gap:8px;}
.ct-field-full{grid-column:1 / -1;}
.ct-field span{font-size:13px;font-weight:500;}
.ct-field span em{color:#c0392b;font-style:normal;margin-left:2px;}
.ct-field input,.ct-field textarea{
  width:100%;box-sizing:border-box;border:1px solid #000000;background:#fff;
  padding:10px 14px;font-family:inherit;font-size:14px;outline:none;border-radius:0;
  transition:border-color .25s,box-shadow .25s;
}
.ct-field textarea{min-height:90px;resize:vertical;}
.ct-field input:focus,.ct-field textarea:focus{border-color:#7ec0ee;box-shadow:0 0 0 3px rgba(126,192,238,.18);}
.ct-fineprint{font-size:11px;color:#6b7785;line-height:1.55;margin:6px 0 0;max-width:100ch;}
.ct-check{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:500;margin:4px 0;cursor:pointer;}
.ct-check input{width:14px;height:14px;}
.ct-submit{align-self:flex-start;background:rgba(0,0,0,.35);color:#fff;border:none;padding:10px 32px;border-radius:999px;font-size:13px;cursor:pointer;letter-spacing:.04em;margin-top:14px;font-family:inherit;}
.ct-submit:hover{background:#9EE3DE;}

/* ===========================================================================
   8. PAGE-LOCAL — OFFICE / CONTACT INFO
   =========================================================================== */
.ct-office{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:0 clamp(20px,5vw,96px) 60px;align-items:stretch;}
.ct-office-img{display:block;text-decoration:none;position:relative;border-radius:0;overflow:hidden;}
.ct-office-img .pp-image{aspect-ratio:1.35/1;overflow:hidden;background:#dadcde;}
.ct-office-img .pp-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.7,.3,1),filter .4s ease;}
.ct-office-img:hover .pp-image img{transform:scale(1.06);filter:brightness(1.04);}
.ct-office-caption{position:absolute;left:24px;top:24px;color:#fff;font-size:18px;font-weight:500;text-shadow:0 2px 12px rgba(0,0,0,.35);z-index:2;}
.ct-office-info{background:#eceeef;padding:50px clamp(30px,4vw,60px);display:flex;flex-direction:column;justify-content:center;}
.ct-office-info h3{font-family:'Playfair Display',Georgia,serif;font-size:clamp(26px,2.4vw,32px);font-weight:600;margin:0 0 18px;}
.ct-office-lead{font-size:15px;font-weight:500;margin:0 0 18px;}
.ct-office-line{font-size:14px;color:#3a4a5e;line-height:1.6;margin:0 0 14px;display:flex;gap:10px;align-items:flex-start;}
.ct-office-line i{width:18px;flex:0 0 18px;margin-top:4px;}
.ct-office-socials{display:flex;gap:10px;margin-top:18px;}
.ct-office-socials a{width:32px;height:32px;border:1px solid #000000;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;background:#000000;color:#fff;transition:background .3s,color .3s,border-color .3s,transform .3s;cursor:pointer;}
.ct-office-socials a:hover{background:#fff;color:#000000;border-color:#000000;transform:translateY(-2px);}

/* ===========================================================================
   9. COMMON — OUR CULTURE
   =========================================================================== */
.culture{position:relative;overflow:hidden;height:clamp(280px,22vw,420px);background-position:center;background-size:cover;background-repeat:no-repeat;display:flex;align-items:center;justify-content:center;}
.culture .panel{background:rgba(230,232,235,.18);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff;padding:0 clamp(40px,6vw,90px);width:80%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;}
.culture .panel h3{font-family:'Noto Sans SC','Source Han Sans SC','Jost',sans-serif;font-size:50px;font-weight:700;letter-spacing:-.05em;color:#fff;margin:0;}
.culture .panel p{font-size:30px;line-height:1.7;margin-top:0;color:#fff;max-width:60ch;}

/* ===========================================================================
   10. COMMON — FOOTER
   =========================================================================== */
footer{background:#fff;padding:50px clamp(20px,5vw,96px) 0;}
.foot-top{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:30px;border-bottom:1px solid #eef0f3;padding-bottom:30px;}
.foot-top h4{font-size:24px;font-weight:700;margin-bottom:12px;letter-spacing:-0.01em;text-transform:uppercase;}
.foot-top p{font-size:18px;line-height:1.65;}

/* FOOTER SOCIALS */
.socials{display:flex;gap:10px;align-items:center;align-self:flex-end;}
.socials a{width:32px;height:32px;border:1px solid #000000;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;background:#000000;color:#fff;transition:background .3s ease,color .3s ease,border-color .3s ease,transform .3s ease;}
.socials a:hover{background:#fff;color:#000000;border-color:#000000;transform:translateY(-2px);}
.socials .wechat{position:relative;}
.socials .wechat .qrcode{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);margin-bottom:10px;width:120px;height:120px;background:#fff;border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,0.2);display:none;padding:8px;}
.socials .wechat .qrcode img{width:100%;height:100%;object-fit:contain;border-radius:4px;}
.socials .wechat:hover .qrcode{display:block;}

/* FOOTER COLUMNS */
.foot-bg{background-position:center;background-size:cover;background-repeat:no-repeat;height:auto;margin:0 calc(-1 * clamp(20px,5vw,96px)) 0;padding:0 clamp(20px,5vw,96px);display:flex;flex-direction:column;justify-content:space-between;}
.foot-cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;padding:60px 0 40px;}
.foot-cols h5{font-size:24px;font-weight:700;margin-bottom:14px;letter-spacing:-0.01em;text-transform:uppercase;}
.foot-cols a,.foot-cols p{font-size:18px;line-height:1.5;display:block;}
.foot-cols a{transition:color .25s ease,transform .25s ease;}
.foot-cols a:hover{color:#9EE3DE;transform:translateX(3px);}

/* FOOTER BOTTOM */
.foot-bottom{position:relative;padding:60px 0;text-align:center;}
.foot-bottom .big-logo{display:inline-block;width:20%;max-width:280px;min-width:120px;line-height:0;}
.foot-bottom .big-logo img{width:100%;height:auto;display:block;}
.foot-bottom small{display:block;font-size:12px;margin-top:4px;letter-spacing:0.02em;}

/* ===========================================================================
   11. RESPONSIVE
   =========================================================================== */
@media (max-width:900px){
  .ct-cards{grid-template-columns:1fr;}
  .ct-row{grid-template-columns:1fr;gap:18px;}
  .ct-office{grid-template-columns:1fr;}
  .foot-cols{grid-template-columns:1fr 1fr;}
}
@media (max-width:760px){
  .desk-nav,.nav-right .lang-pill,.nav-right .search-wrap{display:none;}
  .mnav-toggle{display:flex;}
  .foot-cols{grid-template-columns:1fr 1fr;text-align:center;gap:30px;}
  .culture .panel{width:92%;}
  .culture .panel h3{font-size:clamp(28px,6vw,36px);}
  .culture .panel p{font-size:clamp(14px,3vw,18px);line-height:1.5;}
}
@media (max-width:560px){
  .ct-hero-inner{padding:40px 20px;}
  .ct-card{padding:36px 28px 40px;}
  .ct-office-info{padding:36px 28px;}
}
