/*
Theme Name: Farista IT Avenue
Version: 32.0.0
Requires at least: 6.0
Requires PHP: 7.4
Description: Cinematic procedural motion technology theme.
*/
:root{--ink:#071020;--white:#f4f7ff;--accent:#a6caff}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-snap-type:y proximity}body{margin:0;background:var(--ink);color:var(--white);font:16px/1.6 system-ui,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}#stage{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 75% 45%,#183c78,#080e20 65%)}header,main,footer{position:relative;z-index:1}header{position:fixed;top:16px;left:4%;right:4%;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:8px 16px;background:#0b142dc9;backdrop-filter:blur(24px);border:1px solid #ffffff26;border-radius:24px}.brand img{width:100px;height:62px;object-fit:contain;border-radius:8px}nav{display:flex;gap:5px;padding:5px;border:1px solid #ffffff18;border-radius:40px;background:#ffffff08}nav a{padding:9px 19px;font-size:13px;border-radius:30px;transition:.3s}nav a:hover,nav a.active{background:#ffffff20}.menu{display:none}.section{min-height:100svh;padding:140px 8vw 90px;display:flex;flex-direction:column;justify-content:center;scroll-snap-align:start;position:relative}.copy{width:min(570px,100%);position:relative;text-shadow:0 2px 30px #071020}.eyebrow{font-size:12px;letter-spacing:.19em;text-transform:uppercase;color:#a6caff}h1,h2{font-size:clamp(52px,7.2vw,108px);line-height:.98;letter-spacing:-.065em;margin:20px 0;font-weight:550}h2{font-size:clamp(48px,6vw,88px)}em{font-style:normal;color:#b6cdff}p{color:#bac8df;max-width:430px;font-size:17px}.cta{display:inline-flex;align-items:center;gap:26px;background:linear-gradient(135deg,#eef4ff,#9abaff);color:#0a1530;border:1px solid #fff8;border-radius:50px;padding:8px 8px 8px 23px;margin-top:20px;font-weight:650;box-shadow:0 8px 35px #699aff40;transition:transform .3s,box-shadow .3s}.cta b{display:grid;place-items:center;background:#101c39;color:white;border-radius:50%;width:39px;height:39px;transition:transform .3s}.cta:hover{transform:translateY(-4px);box-shadow:0 12px 45px #83baff88}.cta:hover b{transform:rotate(35deg)}.top{margin:0;font-size:13px;padding-left:15px}.top b{width:30px;height:30px}.scene-label{position:absolute;right:8vw;bottom:12vh;font:11px monospace;color:#b7cbef;letter-spacing:.1em}.scene-label span{display:block;margin-top:8px;color:#8bffc8}.scrollhint{position:absolute;bottom:5vh;font-size:12px;color:#b6cdff}.tabs{display:grid;gap:7px;max-width:420px;margin-top:24px}.solution{display:flex;justify-content:space-between;text-align:left;background:#182b50a8;border:1px solid #a6caff35;border-radius:14px;padding:12px 17px;backdrop-filter:blur(16px);transition:.25s}.solution:hover,.solution.active{background:#a6caff;color:#071020;transform:translateX(7px)}#detail{min-height:55px}.progress{position:fixed;top:0;height:2px;background:#a6caff;z-index:9}.pause{position:fixed;bottom:18px;right:18px;z-index:8;background:#102047b8;border:1px solid #ffffff35;border-radius:30px;padding:8px 14px;font-size:12px}footer{padding:24px 8vw;color:#bcc9e0;background:#071020b0}.paused *{scroll-behavior:auto!important}@media(max-width:760px){header{top:8px;left:3%;right:3%}.brand img{width:80px;height:50px}.top{display:none}.menu{display:block;background:#ffffff12;border:1px solid #ffffff35;border-radius:25px;padding:7px 15px}nav{display:none;position:absolute;top:100%;right:0;left:0;background:#101c39;border-radius:18px;flex-direction:column}nav.open{display:flex}.section{padding:35vh 6vw 80px;min-height:100svh}.copy{background:linear-gradient(90deg,#071020a0,transparent)}.scene-label{display:none}h1,h2{font-size:clamp(45px,12vw,75px)}p{font-size:15px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;scroll-snap-type:none}*{transition:none!important}}
html{scroll-snap-type:none}.brand img{width:190px;height:56px;object-fit:contain}.section .copy{max-width:45vw}.hero .copy{z-index:2}.cta{background:linear-gradient(120deg,#fff0d9,#ff9f52);box-shadow:0 8px 32px #ff883344}.eyebrow{color:#ffb777}@media(max-width:760px){.section .copy{max-width:100%}.brand img{width:150px}.section{padding-top:42vh}}
body{background:linear-gradient(135deg,#090e20,#141035 55%,#080e20)}header{top:20px}.admin-bar header{top:52px}.art{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1}.section{isolation:isolate;overflow:hidden}.copy{z-index:1}h1,h2{line-height:.98}@media(max-width:760px){header{top:20px}.admin-bar header{top:66px}.section{padding-top:42vh}.section .copy{max-width:100%}}
/* One continuous scene, bounded away from text. */
.art{display:none}#motion-stage{position:fixed;right:3vw;top:17vh;width:51vw;height:72vh;z-index:0;pointer-events:none}main{background:transparent}.section{overflow:visible}.copy{position:relative;z-index:2}h1,h2{line-height:.98} .section .copy{max-width:43vw} @media(max-width:760px){#motion-stage{width:92vw;right:4vw;top:15vh;height:35vh}.section .copy{max-width:100%;background:linear-gradient(90deg,#090e20ee,#090e2099)}.section{padding-top:52vh}} 

html{scroll-snap-type:none!important}.section{scroll-snap-align:none!important}#motion-stage{will-change:transform} @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.digital-services{list-style:none;padding:0;margin:16px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr));gap:9px;max-width:520px}.service-tile{position:relative;overflow:hidden;display:flex;align-items:center;gap:9px;min-height:54px;padding:10px 12px;border:1px solid #a6caff35;border-radius:12px;background:linear-gradient(125deg,#24335baa,#141b36bb);font-size:12px;font-weight:600;line-height:1.3;transition:transform .3s,border-color .3s,box-shadow .3s}.service-tile svg{width:23px;height:23px;flex:none;color:#ffb777;transition:transform .4s}.service-tile:hover{transform:translateY(-3px);border-color:#ffb77799;box-shadow:0 6px 20px #ff883322}.service-tile:hover svg{transform:scale(1.16)}.service-tile:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 35%,#ffffff12 50%,transparent 65%);transform:translateX(-110%);animation:farista-tile-shine 8s ease-in-out infinite}.service-tile:nth-child(2n):after{animation-delay:2s}.service-tile:nth-child(3n):after{animation-delay:4s}@keyframes farista-tile-shine{0%,65%{transform:translateX(-110%)}85%,100%{transform:translateX(110%)}}.farista-footer-contact{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px;margin-bottom:15px;border-bottom:1px solid #ffffff20}.farista-footer-contact address{font-style:normal;max-width:560px}.farista-whatsapp{display:inline-flex;align-items:center;gap:9px;padding:10px 16px;border-radius:30px;background:#123f35;border:1px solid #53d89877;color:#e1fff0;font-weight:600}.farista-whatsapp svg{color:#55e29b}.farista-whatsapp:hover{background:#195b47}@media(prefers-reduced-motion:reduce){.service-tile:after{animation:none}.service-tile:hover{transform:none}}
/* Digital capability cards — V16 */
.digital-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:520px;perspective:850px}
.service-tile{--mx:50%;--my:50%;--rx:0deg;--ry:0deg;min-height:93px;padding:13px;gap:12px;isolation:isolate;border-radius:16px;border-color:#a6caff40;background:radial-gradient(ellipse at var(--mx) var(--my),#536b9b55,transparent 75%),linear-gradient(145deg,#253653e8,#10182de8);box-shadow:inset 0 1px 0 #ffffff18,0 5px 17px #0003;font-size:13px;transition:transform .24s ease-out,border-color .3s,box-shadow .3s;transform:rotateX(var(--rx)) rotateY(var(--ry))}
.service-tile svg{width:39px;height:39px;padding:8px;border:1px solid #ffb77744;border-radius:11px;background:linear-gradient(145deg,#ffb77722,#ffb77708);filter:drop-shadow(0 0 8px #ff9d4922)}
.service-tile span{position:relative;z-index:1}.service-tile:hover{transform:translateY(-4px) rotateX(var(--rx)) rotateY(var(--ry));border-color:#ffb777cc;box-shadow:0 12px 28px #0006,0 0 23px #ff9d492a,inset 0 1px 0 #fff3}.service-tile:hover svg{transform:scale(1.12) rotate(-6deg);filter:drop-shadow(0 0 9px #ff9d4999)}
@media(max-width:380px){.service-tile{padding:9px;gap:7px;font-size:12px}.service-tile svg{width:32px;height:32px;padding:6px}}
@media(prefers-reduced-motion:reduce){.service-tile,.service-tile:hover,.service-tile:hover svg{transform:none}}

/* Subtle landscape watermarks beneath the original motion stage. */
#nature-stage{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;opacity:.82;mask-image:linear-gradient(90deg,#0005,#000b 42%,#000 75%)}
#nature-stage i{position:absolute;inset:0;background-position:center;background-size:cover;opacity:0;will-change:opacity}
#nature-stage i:nth-child(1){background-image:url('assets/nature-0.webp');opacity:1}
#nature-stage i:nth-child(2){background-image:url('assets/nature-1.webp')}
#nature-stage i:nth-child(3){background-image:url('assets/nature-2.webp')}
#nature-stage i:nth-child(4){background-image:url('assets/nature-3.webp')}

#nature-stage{opacity:1;mask-image:none;background:#090e20} #nature-stage i{background-blend-mode:normal} #nature-stage:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,14,32,.88) 0%,rgba(9,14,32,.66) 43%,rgba(9,14,32,.30) 100%);pointer-events:none} #motion-stage{filter:drop-shadow(0 0 3px #749cff88)}

#nature-stage i video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block} #nature-stage:after{background:linear-gradient(90deg,#090e20dc,#090e2080 48%,#090e2030)} #motion-stage{filter:drop-shadow(0 0 4px #80baff99)}

/* Isolated viewport-sized background; no section seams. */
body{isolation:isolate} #nature-stage{position:fixed;inset:0;width:100%;height:100dvh;z-index:-1;overflow:hidden} #nature-stage i{display:block;inset:0;filter:none} #nature-stage:after{background:linear-gradient(90deg,#090e20cc 0%,#090e2070 45%,#090e2020 100%)} main,main .section{background:transparent!important} #motion-stage{z-index:0;filter:drop-shadow(0 0 3px #a6caffaa)}


/* Approved looping logo animation, confined to the existing header slot. */
header .brand{display:inline-flex;align-items:center;flex-shrink:0;width:190px;height:56px;overflow:hidden;border-radius:8px}
header .brand picture{display:block;width:100%;height:100%}
header .brand img{display:block;width:100%;height:100%;object-fit:cover;animation:none!important;filter:none!important;border-radius:0}
@media(max-width:760px){header .brand{width:150px;height:56px}}
@media(prefers-reduced-motion:reduce){header .brand img{object-fit:contain}}

header .brand img{object-fit:contain!important;object-position:center;mix-blend-mode:normal}

/* V31: responsive touch layout, desktop styling untouched. */
@media(max-width:900px){
html{scroll-behavior:auto;overflow-x:clip}body{overflow-x:clip}
header{top:12px;left:12px;right:12px;padding:6px 12px;border-radius:18px;gap:10px;backdrop-filter:blur(12px)}
.admin-bar header{top:58px}header .brand{width:150px;height:64px}.top{display:none}.menu{display:block;min-height:44px;padding:7px 16px;background:#ffffff12;border:1px solid #ffffff35;border-radius:25px}
nav{display:none;position:absolute;top:calc(100% + 6px);left:0;right:0;flex-direction:column;background:#101c39;border-radius:16px;padding:8px;max-height:65vh;overflow:auto}nav.open{display:flex}nav a{min-height:44px;padding:12px 18px}
#motion-stage{top:92px;right:4%;width:92%;height:clamp(145px,30svh,260px);filter:none}.admin-bar #motion-stage{top:138px}
.section{min-height:100svh;padding:clamp(265px,calc(110px + 30svh),385px) 6vw 70px;justify-content:flex-start;overflow:clip}.admin-bar .section{padding-top:clamp(310px,calc(156px + 30svh),430px)}
.section .copy{width:100%;max-width:100%;background:linear-gradient(90deg,#090e20e0,#090e2070);border-radius:14px;padding:12px 0;overflow-wrap:anywhere}h1,h2{font-size:clamp(40px,10.5vw,72px);margin:13px 0;line-height:1.02}p{font-size:16px;line-height:1.55;margin:12px 0}.eyebrow{font-size:11px}.cta{gap:14px;margin-top:12px;font-size:14px;max-width:100%;padding-left:16px}.scene-label{display:none}.scrollhint{bottom:18px}.digital-services{gap:9px;max-width:none}.service-tile{min-height:78px;padding:10px;gap:8px;font-size:12px}.service-tile span{min-width:0}.service-tile svg{width:32px;height:32px;padding:6px}.farista-footer-contact{align-items:flex-start;flex-direction:column}footer{padding:24px 6vw;font-size:14px}#nature-stage:after{background:linear-gradient(180deg,#090e2040,#090e20a0 45%,#090e20cb)}
}
@media(max-width:350px){.digital-services{grid-template-columns:1fr}.service-tile{min-height:58px}}
@media(max-width:900px) and (orientation:landscape) and (max-height:500px){#motion-stage{width:38vw;right:3vw;top:95px;height:60svh}.section,.admin-bar .section{padding:110px 44vw 45px 5vw}.section .copy{background:none}h1,h2{font-size:40px}.digital-services{grid-template-columns:1fr}.scrollhint{display:none}}
@media(pointer:coarse){.service-tile:hover{transform:none}.service-tile:after{animation:none}}

/* V32: mobile scene lives in document flow, never over copy. */
@media(max-width:900px){
header{position:sticky;top:8px;left:auto;right:auto;margin:8px 12px 0;width:auto;z-index:10}.admin-bar header{top:54px}
#motion-stage.mobile-scene{position:relative;inset:auto;width:100%;height:clamp(160px,29svh,245px);display:block;flex:none;order:-1;margin:0;z-index:0;filter:none}
.section,.admin-bar .section{min-height:0;padding:24px 6vw 44px;gap:8px;overflow:visible;justify-content:flex-start;scroll-margin-top:100px}
.section .copy{background:none!important;padding:0;width:100%;max-width:100%;border-radius:0;text-shadow:0 2px 8px #071020;overflow-wrap:normal}
h1,h2{font-size:clamp(38px,10.5vw,65px);line-height:1.04}.scrollhint{position:static;margin-top:10px}.digital-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.service-tile{font-size:14px;min-height:82px;padding:10px;line-height:1.35}.service-tile svg{flex-shrink:0}.service-tile span{overflow-wrap:anywhere}.cta b{flex-shrink:0}#nature-stage:after{background:linear-gradient(180deg,#090e204d,#090e20a0 65%,#090e20c0)}
}
@media(max-width:380px){.digital-services{grid-template-columns:1fr}.service-tile{min-height:58px}}

.mobile-scene-space{display:none}@media(max-width:900px){.mobile-scene-space:not([hidden]){display:block;height:clamp(160px,29svh,245px);flex:none;order:-1}}
