/*
Theme Name: Upswing
Description: E-commerce growth agency theme. Every text, image, color and link is editable in Appearance > Customize > Upswing Theme. Contact form via Contact Form 7 shortcode.
Version: 1.0
Text Domain: upswing
*/
:root{--g:#E0A23E;--g1:#EDB961;--g2:var(--g2);--d1:#111;--d2:#1c1c1c;--p1:#FFE2AE;--p2:#FFF8EC;--grad:linear-gradient(135deg,var(--g1),var(--g2));--mut:#555;--dark:radial-gradient(ellipse 35% 45% at 4% 0,color-mix(in srgb,var(--g) 50%,transparent),transparent),radial-gradient(ellipse 30% 60% at 100% 100%,color-mix(in srgb,var(--g) 55%,transparent),transparent),linear-gradient(var(--d1),var(--d2));--peach:linear-gradient(150deg,var(--p1) 0%,var(--p2) 55%,var(--p1) 100%)}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'DM Sans',sans-serif;color:#000;background:#fff;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}ul{list-style:none}
:root{--w:1400px}
.wrap{max-width:calc(var(--w) + 48px);margin:0 auto;padding:0 24px}
.c{text-align:center}
.eb{font-size:16px;letter-spacing:.16em;text-transform:uppercase;color:var(--g);font-weight:400}
h1,h2{font-weight:500;letter-spacing:-.04em}
h2{font-size:64px;line-height:1.08;margin-top:34px}
.sub{font-size:20px;line-height:1.45;color:var(--mut);letter-spacing:.02em;max-width:820px;margin:34px auto 0}
.gold{background:linear-gradient(90deg,var(--g),var(--g2) 90%);-webkit-background-clip:text;background-clip:text;color:transparent}
.btn{display:inline-flex;align-items:center;gap:12px;height:48px;padding:0 18px;border-radius:999px;background:var(--grad);font-size:16px;font-weight:500;color:#111;border:0;cursor:pointer;font-family:inherit}
.btn{white-space:nowrap;flex-shrink:0}
.btn svg{width:28px;height:12px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.link{font-size:14px;font-weight:500}
:focus-visible{outline:2px solid var(--g);outline-offset:3px}
/* header */
header{height:139px;display:flex;align-items:center;justify-content:space-between;gap:32px;padding:0 40px;background:#fff}
.logo{display:flex;align-items:center;gap:8px;flex-shrink:0;white-space:nowrap;font-size:34px;font-weight:800;letter-spacing:-.03em}
.logo svg{width:44px;height:48px}.logo b{color:var(--g2)}
nav{display:flex;gap:clamp(20px,2.7vw,49px);font-size:20px;color:#333;white-space:nowrap}
nav a:hover{color:var(--g2)}
/* hero */
.hero{background:var(--dark);height:867px;padding-top:112px;color:#fff;text-align:center}
.hero h1{font-size:92px;line-height:.95;margin-top:44px}
.hero p{font-size:22px;line-height:1.35;max-width:730px;margin:44px auto 54px;letter-spacing:.01em}
/* services */
.svc{padding:86px 0 90px}
.grid8{--line:#333;display:grid;grid-template-columns:repeat(3,1fr);max-width:none;margin:100px 0 0;border:1px solid var(--line);border-radius:60px;overflow:hidden}
.card{padding:32px 31px 34px;height:317px;box-shadow:1px 0 0 var(--line),0 1px 0 var(--line);display:flex;flex-direction:column}

.ib{width:58px;height:58px;border:1px solid #000;border-radius:12px;display:grid;place-items:center}
.ib .ic{width:26px;height:26px}
.card h3{font-weight:500;font-size:24px;letter-spacing:-.03em;line-height:1.05;margin-top:42px;min-height:52px}
.card p{font-size:14px;line-height:1.35;color:#333;max-width:400px;margin-top:30px;flex:1}
/* why */
.why{background:var(--peach);padding:100px 0 80px}
.why .sub{color:#555}
.cols4{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:72px;text-align:left}
.cols4 h3{font-size:24px;font-weight:500;letter-spacing:-.03em;line-height:1.05;margin:20px 0 40px}
.cols4 p{font-size:13.5px;line-height:1.35;color:#444;max-width:240px}
.cols4 .ic{width:40px;height:40px}
/* process */
.proc{padding:100px 0 110px}
.steps{display:grid;grid-template-columns:repeat(5,1fr);margin-top:72px;position:relative}
.steps:before{content:"";position:absolute;left:10%;right:10%;top:38px;height:2px;background:var(--g)}
.step{text-align:center;padding:0 12px}
.num{width:76px;height:76px;border-radius:50%;border:2px solid var(--g);background:#fff;display:grid;place-items:center;margin:0 auto;font-size:26px;position:relative}
.step .ic{color:var(--g);margin-top:50px;width:28px;height:28px}
.step h3{font-size:22px;font-weight:500;letter-spacing:-.03em;margin:14px 0 22px}
.step p{font-size:14px;line-height:1.35;color:#444;max-width:200px;margin:0 auto}
/* results */
.res{background:var(--dark);color:#fff;padding:122px 0 112px}
.res .sub{color:#fff}
.panel{display:grid;grid-template-columns:repeat(4,1fr);max-width:1074px;margin:68px auto 0;border:2px solid #fff;border-radius:44px;padding:28px 12px 30px;background:rgba(30,30,30,.7)}
.panel div{text-align:center;padding:0 16px}
.panel big{display:block;font-size:56px;font-weight:300;color:var(--g);letter-spacing:.05em;line-height:1.1}
.panel h3{font-weight:500;font-size:20px;letter-spacing:-.03em;line-height:1.05;margin:10px 0 28px;min-height:42px}
.panel p{font-size:14px;line-height:1.35}
/* cases */
.cases{padding:112px 0 100px}
.cg{display:grid;grid-template-columns:repeat(3,324px);gap:70px;justify-content:center;margin-top:86px}
.cs{height:470px;border:1px solid #000;border-radius:40px;overflow:hidden;display:flex;flex-direction:column}
.cs i{height:213px;background:#D9D9D9}
.cs div{padding:26px 28px 28px;display:flex;flex-direction:column;flex:1}
.cs small{font-size:12px;color:var(--g);letter-spacing:.04em;text-transform:uppercase}
.cs h3{font-size:18px;font-weight:500;margin:12px 0 14px}
.cs p{font-size:13.5px;line-height:1.4;color:#444}
.tags{display:flex;gap:12px;margin:14px 0 auto}
.tags span{font-size:8px;background:#F6F5EF;padding:4px 8px;border-radius:2px;min-width:80px}
/* about */
.about{background:var(--peach);padding:110px 0 100px}
.about .sub{max-width:1000px;margin-top:40px}.about .sub+.sub{margin-top:28px;max-width:860px}
.chk{display:grid;grid-template-columns:repeat(4,1fr);margin-top:84px;padding:0 64px;font-size:19px;font-weight:500;text-align:left}
.chk li{display:flex;gap:14px;align-items:center}
.chk .ic{width:26px}
/* cta */
.cta{background:var(--dark);color:#fff;padding:112px 0 100px;text-align:center}
.cta h2{margin-top:0}
.cta p{font-size:22px;letter-spacing:.02em;margin:54px 0 62px}
/* contact */
.contact{padding:104px 0 94px}
.cw{display:grid;grid-template-columns:1fr 652px;gap:88px;max-width:calc(var(--w) + 128px);margin:0 auto;padding:0 64px;align-items:start}
.contact .eb{text-transform:none;letter-spacing:.2em;font-size:16px}
.contact h2{font-size:64px;margin-top:20px}
.contact .sub{margin:36px 0 0;max-width:520px;font-size:24px;line-height:1.35}
.ci{display:flex;align-items:center;gap:26px;margin-top:32px;color:#777;font-size:16px}
.ci+.ci{margin-top:22px}
.sq{width:56px;height:50px;border-radius:6px;background:var(--grad);display:grid;place-items:center;color:#111}
.soc{display:flex;gap:16px;margin-top:104px}.soc .sq{width:44px;height:38px}
.fcard{background:#fff;border-radius:60px;box-shadow:0 8px 30px rgba(0,0,0,.14);padding:48px 34px 36px}









/* footer */
footer{background:linear-gradient(160deg,#EBC996,#E8E1D4 60%);padding:64px 0 60px}
.fg{display:grid;grid-template-columns:480px 240px 175px 1fr;max-width:calc(var(--w) + 128px);margin:0 auto;padding:0 64px}
footer p,footer li{font-size:15px;color:#555;line-height:1.35}
footer h4{font-size:15px;font-weight:700;margin-bottom:16px}
footer li{margin-bottom:21px}
footer .logo{font-size:28px}footer .logo svg{width:38px}
footer .fp{font-weight:500;max-width:240px;margin:22px 0 22px 4px;color:#444}
.soc.f{margin:0 0 0 0}.soc.f .sq{background:#fff;width:28px;height:24px;border-radius:3px}
/* responsive */
@media(max-width:1360px){header{padding:0 24px;gap:20px}nav{font-size:17px}.logo{font-size:30px}header .btn{font-size:14px;padding:0 14px}}
@media(max-width:1100px){h2,.contact h2{font-size:46px}.hero h1{font-size:64px}.grid8,.cols4,.panel{grid-template-columns:repeat(2,1fr)}.cg{grid-template-columns:repeat(2,324px);gap:32px}.cw,.fg{grid-template-columns:1fr;gap:48px}nav{display:none}.cols4{gap:40px}}
@media(max-width:700px){h2,.contact h2{font-size:34px}.hero{height:auto;padding-bottom:80px}.hero h1{font-size:44px}.sub,.hero p,.cta p{font-size:16px}.grid8,.cols4,.panel,.steps,.chk{grid-template-columns:1fr}.steps:before{display:none}.step{margin-bottom:32px}.cg{grid-template-columns:1fr}.cs{height:auto}.chk{padding:0 16px;gap:16px}.cw,.fg{padding:0 24px}.fcard{border-radius:32px}.card{height:auto}header{padding:0 20px}.grid8{border-radius:32px}}

/* ===== Hover animations (minimal) ===== */
:root{--ease:cubic-bezier(.22,.61,.36,1)}
nav a{position:relative;transition:color .25s var(--ease)}
nav a:after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:var(--g);transform:scaleX(0);transform-origin:right;transition:transform .35s var(--ease)}
.btn{transition:transform .3s var(--ease),box-shadow .3s var(--ease),filter .3s var(--ease)}
.btn svg,.link svg{transition:transform .3s var(--ease)}
.card{transition:background-color .35s var(--ease)}
.ib{transition:background .35s var(--ease),border-color .35s var(--ease),transform .35s var(--ease)}
.link{display:inline-flex;align-items:center;gap:4px}
.cols4 .ic,.step .ic{transition:transform .35s var(--ease)}
.num{transition:background .35s var(--ease),color .35s var(--ease),transform .35s var(--ease),border-color .35s var(--ease)}
.panel div,.panel big{transition:transform .35s var(--ease),color .35s var(--ease)}
.cs{transition:transform .4s var(--ease),box-shadow .4s var(--ease)}
.cs i{transition:transform .7s var(--ease),background-color .4s var(--ease)}
.sq{transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
footer li a{display:inline-block;transition:color .25s var(--ease),transform .25s var(--ease)}



@media(hover:hover){
nav a:hover:after{transform:scaleX(1);transform-origin:left}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(201,138,34,.35);filter:brightness(1.05)}
.btn:hover svg{transform:translateX(5px)}
.btn:active{transform:translateY(0);box-shadow:none}
.card:hover{background:rgba(224,162,62,.07)}
.card:hover .ib{background:var(--grad);border-color:transparent;transform:translateY(-3px)}
.card:hover .link svg,.cs:hover .link svg{transform:translate(3px,-3px)}
.cols4>div:hover .ic,.step:hover .ic{transform:translateY(-4px)}
.step:hover .num{background:var(--grad);border-color:transparent;color:#111;transform:scale(1.06)}
.panel div:hover{transform:translateY(-4px)}
.panel div:hover big{color:#F2BE63}
.cs:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(0,0,0,.12)}
.cs:hover i{transform:scale(1.05);background-color:#cfcfcf}
.sq:hover{transform:translateY(-3px);box-shadow:0 8px 16px rgba(201,138,34,.3)}
footer li a:hover{color:#000;transform:translateX(4px)}
.logo{transition:opacity .25s}.logo:hover{opacity:.8}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

/* ===== Responsive ===== */
html{scroll-behavior:smooth}body{overflow-x:clip}
.card{text-align:left}
.nav-cta,.burger{display:none}
.ft{display:flex;justify-content:space-between;align-items:center;width:100%;background:none;border:0;font:inherit;font-weight:700;font-size:15px;color:inherit;text-align:left;padding:0;pointer-events:none;cursor:default}
.chev{display:none;width:12px;height:8px;transition:transform .3s var(--ease)}
.cw .fcard{width:100%;max-width:652px}
@media(max-width:1250px){
.fg{grid-template-columns:1.4fr 1fr 1fr 1fr}
.cw{grid-template-columns:1fr minmax(0,560px);gap:48px;padding:0 40px}.contact h2{font-size:52px}
.cg{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.cs{height:auto;min-height:440px}
}
@media(max-width:1100px){
header{position:relative;z-index:50;height:84px;padding:0 24px}
header>.btn{display:none}
.logo{font-size:28px}.logo svg{width:38px;height:42px}
.burger{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:44px;height:44px;border:0;background:none;cursor:pointer;flex-shrink:0}
.burger span{width:26px;height:2px;background:#111;border-radius:2px;transition:transform .3s var(--ease),opacity .2s}
header.open .burger span:nth-child(1){transform:translateY(8px) rotate(45deg)}
header.open .burger span:nth-child(2){opacity:0}
header.open .burger span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
nav{display:flex;flex-direction:column;gap:0;position:absolute;top:100%;left:0;right:0;background:#fff;padding:0 24px;max-height:0;overflow:hidden;visibility:hidden;transition:max-height .4s var(--ease),visibility .4s,padding .4s}
header.open nav{max-height:560px;visibility:visible;padding-bottom:24px;box-shadow:0 24px 32px rgba(0,0,0,.08)}
nav a{font-size:19px;padding:16px 0;border-bottom:1px solid #eee}
nav a:after{display:none}
nav .nav-cta{display:inline-flex;justify-content:center;margin-top:20px;padding:0 18px;font-size:16px;color:#111;border:0}
.hero{height:auto;padding:96px 24px 110px}.hero h1{font-size:clamp(42px,9vw,80px)}.hero p{font-size:20px}
h2,.contact h2{font-size:clamp(32px,5.4vw,48px)}
.svc,.why,.proc,.res,.cases,.about,.cta,.contact{padding-top:80px;padding-bottom:80px}
.grid8{margin-top:56px}.cols4{margin-top:56px}
.fg{grid-template-columns:repeat(3,1fr);gap:40px 32px;padding:0 40px}.fg>div:first-child{grid-column:1/-1}
.cw{grid-template-columns:1fr;gap:48px;padding:0 40px}.contact .sub{max-width:none}
.chk{grid-template-columns:repeat(2,1fr);gap:20px 40px;padding:0 40px}
}
@media(max-width:900px){
.cg{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:20px;margin:48px -24px 0;padding:0 24px 24px;scroll-padding:0 24px;scrollbar-width:none}
.cg::-webkit-scrollbar{display:none}
.cs{flex:0 0 min(78vw,324px);scroll-snap-align:start;height:470px}
}
@media(max-width:700px){
.wrap{padding:0 20px}
h2 br{display:none}h2,.contact h2{font-size:32px;margin-top:20px}
.eb,.contact .eb{font-size:13px}.hero .eb{font-size:13px!important}
.sub{font-size:16px;margin-top:20px}.hero p{font-size:17px;margin:28px auto 36px}.cta p{font-size:17px;margin:28px 0 36px}
.hero{padding:64px 20px 72px}.hero h1{font-size:clamp(38px,12vw,52px);margin-top:28px}
.svc,.why,.proc,.res,.cases,.about,.cta,.contact{padding-top:64px;padding-bottom:64px}
/* services: 2 columns */
.grid8{grid-template-columns:repeat(2,1fr);border-radius:28px;margin-top:40px}
.card{padding:20px 16px 22px;height:auto;min-height:270px}

.ib{width:46px;height:46px}.ib .ic{width:22px;height:22px}
.card h3{font-size:18px;margin-top:22px;min-height:58px}.card p{font-size:13px;margin-top:10px;max-width:none}
/* why: 2 columns */
.cols4{grid-template-columns:repeat(2,1fr);gap:36px 20px;margin-top:40px}
.cols4 h3{font-size:19px;margin:12px 0 12px}.cols4 p{font-size:13px}.cols4 .ic{width:34px;height:34px}
/* process: slider */
.steps{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin:44px -20px 0;padding:0 20px 12px;scrollbar-width:none}
.steps::-webkit-scrollbar{display:none}
.step{flex:0 0 62vw;scroll-snap-align:center;margin:0}
.step:not(:last-child) .num:after{content:"";position:absolute;left:100%;top:50%;width:calc(62vw - 76px);height:2px;background:var(--g)}
/* results: 2 columns */
.panel{grid-template-columns:repeat(2,1fr);gap:28px 0;border-radius:28px;padding:24px 4px;margin-top:40px}
.panel big{font-size:40px}.panel h3{font-size:17px;min-height:36px;margin:6px 0 12px}.panel p{font-size:12.5px}.panel div{padding:0 10px}
/* cases slider tweaks */
.cg{margin:40px -20px 0;padding:0 20px 24px;scroll-padding:0 20px}
/* about */
.chk{grid-template-columns:repeat(2,1fr);gap:20px 12px;padding:0;font-size:15px;margin-top:44px}
.chk li{gap:8px}
/* contact */
.cw{padding:0 20px;gap:40px}.contact .sub{font-size:18px}
.ci{gap:16px;margin-top:20px}.soc{margin-top:36px}
.fcard{padding:32px 20px 28px;border-radius:32px}
/* footer: collapsible */
footer{padding:48px 0 40px}
.fg{grid-template-columns:1fr;gap:0;padding:0 20px}.fg>div:first-child{margin-bottom:28px}
.fcol{border-top:1px solid rgba(0,0,0,.14)}.fcol:last-child{border-bottom:1px solid rgba(0,0,0,.14)}
footer h4{margin:0}
.ft{pointer-events:auto;cursor:pointer;padding:18px 0}.chev{display:block}
.fcol ul{max-height:0;overflow:hidden;transition:max-height .35s var(--ease)}
.fcol.open ul{max-height:320px}.fcol.open .chev{transform:rotate(180deg)}
.fcol li{margin-bottom:14px}.fcol li:first-child{margin-top:2px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ===== Case slider fixes ===== */
.cs .tags{flex:none;flex-direction:row;flex-wrap:wrap;gap:8px 10px;padding:0;margin:14px 0 auto}
.cs .tags span{min-width:0;white-space:nowrap}
.cs .link{margin-top:20px}
@media(max-width:900px){
.cg{justify-content:flex-start;align-items:stretch}
.cs{flex:0 0 min(78vw,324px);min-width:0}
}

/* ===== WordPress additions ===== */
.custom-logo{height:48px;width:auto;max-width:100%;display:block}footer .custom-logo{height:40px}
.ic-img{object-fit:contain;display:block}.ib .ic-img{width:26px;height:26px}.cols4 .ic-img{width:40px;height:40px}.step .ic-img{width:28px;height:28px;margin:50px auto 0}
.ar-s{width:10px;height:10px}
.cs i img{width:100%;height:100%;object-fit:cover;display:block}
.ci a{color:inherit}






.entry{padding:64px 24px;max-width:820px;line-height:1.7}.entry h1{font-size:40px;margin-bottom:20px;letter-spacing:-.03em}.entry p{margin-bottom:1em}
@media(max-width:700px){.cols4 .ic-img{width:34px;height:34px}}
/* services: whole card clickable (stretched link) + complete last row */
.card{position:relative;cursor:pointer}
.card .link::after{content:"";position:absolute;inset:0}
.card:focus-within{outline:2px solid var(--g);outline-offset:-4px}
.card .link:focus-visible{outline:0}
@media(min-width:1101px){
.card:last-child:nth-child(3n+1){grid-column:span 3}
.card:last-child:nth-child(3n+2){grid-column:span 2}
}
@media(max-width:1100px){.card:last-child:nth-child(odd){grid-column:span 2}}
