/* ============================================================
   WayToChina Widgets — section styles (ported 1:1 from the live site)
   Loaded on front-end AND in the Elementor editor.
   ============================================================ */

/* --- section head hanzi watermark (programs uses .wtc-head) --- */
.wtc-head{position:relative;z-index:0;}
.wtc-head>*{position:relative;z-index:1;}
.wtc-head::before{position:absolute;top:50%;left:50%;transform:translate(-50%,-54%);font-family:'Noto Serif SC',serif;font-weight:900;font-size:clamp(8rem,16vw,13rem);line-height:1;color:rgba(233,51,43,.09);pointer-events:none;z-index:0;white-space:nowrap;}
#programs .wtc-head::before{content:"学";left:0!important;right:0!important;width:100%!important;transform:translateY(-50%)!important;text-align:center!important;}
#how-it-works .wtc-head::before{content:"路";}
#services .wtc-head::before{content:"助";}
#team .wtc-head::before{content:"团";}
#testimonials .wtc-head::before{content:"信";}
#partners .wtc-head::before{content:"校";}
#faq .wtc-head::before{content:"问";}

/* --- core section scaffold --- */
.wtc-sec2{padding:68px 20px;}
.wtc-sec2--surface{background:#f7f7f7;}
.wtc-inner{max-width:1300px;margin:0 auto;}
.wtc-shead{max-width:640px;margin:0 auto 40px;text-align:center;position:relative;z-index:0;}
.wtc-shead>*{position:relative;z-index:1;}
.wtc-shead[data-hanzi]::before{content:attr(data-hanzi);position:absolute;top:50%;left:50%;transform:translate(-50%,-54%);font-family:'Noto Serif SC',serif;font-weight:900;font-size:clamp(8rem,16vw,13rem);line-height:1;color:rgba(233,51,43,.09);pointer-events:none;z-index:0;white-space:nowrap;}
.wtc-eb{display:inline-flex;align-items:center;gap:8px;font-size:.78rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#E9332B;margin-bottom:18px;padding:7px 16px;border-radius:999px;background:rgba(233,51,43,.07);border:1px solid rgba(233,51,43,.18);}
.wtc-eb::before{content:"";width:7px;height:7px;border-radius:50%;background:#E9332B;}
.wtc-shead h2{font-size:clamp(1.9rem,3.4vw,2.75rem);color:#1a1a1a;font-weight:700;margin:0 0 14px;line-height:1.15;}
.wtc-shead h2 em{font-style:normal;color:#E9332B;}
.wtc-shead p{color:#4b5563;font-size:1.02rem;line-height:1.6;margin:0;}

/* --- grids --- */
.wtc-g{display:grid;gap:24px;}
.wtc-g5{grid-template-columns:repeat(5,1fr);}
.wtc-g4{grid-template-columns:repeat(4,1fr);}
.wtc-g3{grid-template-columns:repeat(3,1fr);}
@media(max-width:900px){.wtc-g5,.wtc-g4{grid-template-columns:repeat(2,1fr);}.wtc-g3{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.wtc-g5,.wtc-g4,.wtc-g3{grid-template-columns:1fr;}}

/* --- steps (how it works) --- */
.wtc-step{background:#fff;border:1px solid #eaeaea;border-radius:20px;padding:30px 24px;}
.wtc-stepn{width:44px;height:44px;border-radius:50%;background:#E9332B;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:18px;box-shadow:0 6px 16px rgba(233,51,43,.3);}
.wtc-step h3{font-size:1.05rem;margin:0 0 8px;color:#1a1a1a;font-weight:700;}
.wtc-step p{color:#6b7280;font-size:.92rem;margin:0;line-height:1.5;}

/* --- service cards --- */
.wtc-svc{background:#fff;border:1px solid #eaeaea;border-radius:20px;padding:34px 28px;display:flex;flex-direction:column;transition:.25s;}
.wtc-svc:hover{box-shadow:0 20px 50px rgba(16,16,20,.13);transform:translateY(-4px);}
.wtc-svci{width:56px;height:56px;border-radius:14px;background:#fdeceb;color:#E9332B;display:flex;align-items:center;justify-content:center;margin-bottom:22px;}
.wtc-svci svg{width:26px;height:26px;}
.wtc-svc h3{font-size:1.15rem;margin:0 0 10px;color:#1a1a1a;font-weight:700;}
.wtc-svc p{color:#6b7280;font-size:.94rem;margin:0 0 22px;line-height:1.5;}
.wtc-more{margin-top:auto;display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:.92rem;color:#E9332B;text-decoration:none;}
.wtc-more svg{width:16px;height:16px;}
.wtc-more:hover{color:#c4271f;}

/* --- stats band --- */
.wtc-band{background:radial-gradient(120% 140% at 85% -20%,rgba(233,51,43,.38) 0%,transparent 55%),linear-gradient(120deg,#0f1730 0%,#141019 55%,#241016 100%);color:#fff;padding:60px 20px;overflow:hidden;}
.wtc-stat{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:34px 20px;text-align:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);}
.wtc-stat .val{font-size:clamp(2.2rem,4vw,3.2rem);font-weight:700;letter-spacing:-.02em;line-height:1.1;}
.wtc-stat .lab{margin-top:14px;padding-top:14px;font-size:.9rem;font-weight:500;color:rgba(255,255,255,.82);}

/* --- team --- */
.wtc-tc{text-align:center;}
.wtc-tc figure{border-radius:20px;overflow:hidden;background:#f7f7f7;margin:0 0 16px;aspect-ratio:4/5;}
.wtc-tc img{width:100%;height:100%;object-fit:cover;transition:transform .35s;}
.wtc-tc:hover img{transform:scale(1.05);}
.wtc-tc h3{font-size:1.02rem;margin:0;color:#1a1a1a;font-weight:700;}
.wtc-tc .role{color:#6b7280;font-size:.85rem;margin-top:3px;}

/* --- testimonials reels --- */
.wtc-reel{position:relative;aspect-ratio:9/16;border-radius:20px;overflow:hidden;background:#101014;border:1px solid #eaeaea;box-shadow:0 8px 24px rgba(16,16,20,.06);}
.wtc-reel img{width:100%;height:100%;object-fit:cover;}
.wtc-reel .sh{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.15) 45%,rgba(0,0,0,.82) 100%);}
.wtc-reel .cap{position:absolute;left:0;right:0;bottom:0;padding:18px 18px 20px;color:#fff;z-index:2;}
.wtc-reel .q{font-size:.86rem;line-height:1.5;color:rgba(255,255,255,.92);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:12px;}
.wtc-reel .nm{font-weight:600;font-size:.95rem;}
.wtc-reel .pr{font-size:.78rem;color:rgba(255,255,255,.7);}

/* --- partners marquee --- */
.wtc-marq{overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);}
.wtc-mtrack{display:flex;gap:20px;width:max-content;animation:wtcmarq 38s linear infinite;}
.wtc-marq:hover .wtc-mtrack{animation-play-state:paused;}
@keyframes wtcmarq{to{transform:translateX(-50%);}}
.wtc-chip2{display:flex;align-items:center;gap:12px;padding:14px 24px;border:1px solid #eaeaea;border-radius:999px;background:#fff;white-space:nowrap;}
.wtc-chip2 .b{width:44px;height:44px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.76rem;color:#E9332B;background:#fdeceb;border:1px solid #f6c5c2;}
.wtc-chip2 .pn{font-weight:600;color:#1a1a1a;font-size:.92rem;}
.wtc-chip2 .pc{color:#6b7280;font-size:.78rem;}

/* --- faq --- */
.wtc-faq{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:12px;}
.wtc-fitem{background:#fff;border:1px solid #eaeaea;border-radius:14px;overflow:hidden;transition:.25s;}
.wtc-fitem.open{box-shadow:0 8px 24px rgba(16,16,20,.08);border-color:transparent;}
.wtc-fq{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;text-align:left;font-weight:600;font-size:1.02rem;color:#1a1a1a;background:none;border:0;cursor:pointer;font-family:'Inter Tight',sans-serif;}
.wtc-chev{flex:none;width:30px;height:30px;border-radius:50%;background:#f7f7f7;color:#1a1a1a;display:flex;align-items:center;justify-content:center;transition:.25s;}
.wtc-fitem.open .wtc-chev{transform:rotate(180deg);background:#E9332B;color:#fff;}
.wtc-chev svg{width:16px;height:16px;}
.wtc-fa{max-height:0;overflow:hidden;transition:max-height .3s ease;}
.wtc-fa-in{padding:0 24px 22px;color:#4b5563;font-size:.96rem;line-height:1.6;}
#faq .wtc-fitem:hover{background:#fff!important;}
#faq .wtc-fitem:not(.open):hover{border-color:#eaeaea!important;box-shadow:none!important;}
#faq .wtc-fq:hover,#faq .wtc-fq:focus{background:transparent!important;color:#1a1a1a!important;}

/* --- cta --- */
.wtc-cta{background:#101014;border-radius:28px;padding:56px 48px;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;position:relative;overflow:hidden;}
.wtc-cta::before{content:"";position:absolute;inset:auto auto -70% -6%;width:40%;aspect-ratio:1;background:radial-gradient(circle,rgba(233,51,43,.3),transparent 65%);}
.wtc-cta h2{color:#fff;font-size:clamp(1.4rem,2.4vw,1.9rem);font-weight:700;margin:0;max-width:640px;position:relative;line-height:1.3;}
.wtc-cta h2 em{font-style:normal;color:#E9332B;}
.wtc-btn-red{display:inline-flex;align-items:center;justify-content:center;padding:16px 34px;border-radius:999px;background:#E9332B;color:#fff;font-weight:600;font-size:1.02rem;text-decoration:none;white-space:nowrap;position:relative;box-shadow:0 6px 18px rgba(233,51,43,.28);transition:background-color .2s ease,color .2s ease,box-shadow .2s ease;}
.wtc-btn-red:hover{background:#c4271f!important;color:#fff!important;}

/* --- proof / you could be next --- */
.wtc-proof{background:#101014;color:#fff;overflow:hidden;position:relative;padding:84px 20px;}
.wtc-proof-grid{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center;}
@media(max-width:900px){.wtc-proof-grid{grid-template-columns:1fr;}}
.wtc-proof h2{font-size:clamp(1.8rem,3vw,2.5rem);font-weight:700;margin:0 0 16px;line-height:1.2;}
.wtc-proof h2 em{font-style:normal;color:#E9332B;}
.wtc-proof p{color:rgba(255,255,255,.8);font-size:1.05rem;line-height:1.6;margin:0 0 24px;}
.wtc-vframe{position:relative;border-radius:28px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.1);aspect-ratio:16/9;}
.wtc-vframe img{width:100%;height:100%;object-fit:cover;}
.wtc-play{position:absolute;inset:0;margin:auto;width:84px;height:84px;border-radius:50%;background:#E9332B;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 12px rgba(233,51,43,.25),0 14px 40px rgba(0,0,0,.45);border:0;cursor:pointer;}

/* --- programs slider --- */
#programs .wtc-pwrap{width:100%;}
#programs .wtc-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px;flex-wrap:wrap;}
#programs .wtc-toggle{display:inline-flex;background:#f7f7f7;border:1px solid #eaeaea;border-radius:999px;padding:5px;}
#programs .wtc-toggle button{padding:9px 26px;border-radius:999px;font-weight:600;font-size:.92rem;color:#6b7280;border:0;background:transparent;cursor:pointer;font-family:'Inter Tight',sans-serif;transition:.2s;}
#programs .wtc-toggle button.is-active{background:#E9332B;color:#fff;box-shadow:0 4px 14px rgba(233,51,43,.32);}
#programs .wtc-arrows{display:flex;gap:10px;}
#programs .wtc-arrow{width:44px;height:44px;border-radius:50%;border:1.5px solid #eaeaea;display:inline-flex;align-items:center;justify-content:center;color:#1a1a1a;background:#fff;cursor:pointer;transition:.2s;}
#programs .wtc-arrow:hover{border-color:#E9332B;color:#E9332B;}
#programs .wtc-arrow svg{width:20px;height:20px;}
#programs .wtc-ptrack{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;padding:4px 0;}
#programs .wtc-ptrack::-webkit-scrollbar{display:none;}
#programs .wtc-pcard{flex:0 0 calc((100% - 48px)/3);scroll-snap-align:start;background:#fff;border:1px solid #eaeaea;border-radius:20px;padding:26px;display:flex;flex-direction:column;transition:box-shadow .25s,transform .25s,border-color .25s;}
#programs .wtc-pcard:hover{box-shadow:0 20px 50px rgba(16,16,20,.13);transform:translateY(-4px);border-color:#f6c5c2;}
#programs .wtc-ptop{display:flex;align-items:center;gap:14px;margin-bottom:18px;}
#programs .wtc-ubadge{width:52px;height:52px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.78rem;letter-spacing:.02em;color:#E9332B;background:#fdeceb;border:1px solid #f6c5c2;}
#programs .wtc-deg{display:inline-block;font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#E9332B;background:#fdeceb;border-radius:999px;padding:3px 10px;margin-bottom:6px;}
#programs .wtc-pcard h3{font-size:1.18rem;margin:0 0 2px;color:#1a1a1a;font-weight:700;line-height:1.25;}
#programs .wtc-uname{color:#6b7280;font-size:.9rem;margin:0 0 18px;}
#programs .wtc-pspecs{list-style:none;border-top:1px solid #eaeaea;margin:0 0 22px;padding:0;}
#programs .wtc-pspecs li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eaeaea;font-size:.92rem;}
#programs .wtc-pspecs .k{color:#6b7280;}
#programs .wtc-pspecs .v{color:#1a1a1a;font-weight:600;text-align:right;}
#programs .wtc-pspecs .fee{color:#E9332B;}
#programs .wtc-btn-outline{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;padding:13px 26px;border-radius:999px;font-weight:600;font-size:.95rem;border:1.5px solid #E9332B;color:#E9332B;background:transparent;text-decoration:none;transition:.2s;}
#programs .wtc-btn-outline:hover{background:#E9332B;color:#fff;}
@media(max-width:900px){#programs .wtc-pcard{flex-basis:calc((100% - 24px)/2);}}
@media(max-width:600px){#programs .wtc-pcard{flex-basis:86%;}}

/* --- force Inter Tight across section text --- */
.wtc-sec2 h2,.wtc-band h2,.wtc-proof h2,.wtc-cta h2,.wtc-shead h2,.wtc-shead .wtc-eb,.wtc-shead p,
.wtc-svc h3,.wtc-svc p,.wtc-step h3,.wtc-step p,.wtc-tc h3,.wtc-tc .role,.wtc-fq,.wtc-fa-in,
.wtc-reel .nm,.wtc-reel .pr,.wtc-reel .q,.wtc-chip2 .pn,.wtc-chip2 .pc,
.wtc-svc,.wtc-step,.wtc-stat,.wtc-cta,.wtc-proof{font-family:'Inter Tight',ui-sans-serif,system-ui,-apple-system,sans-serif;}
