/*
Theme Name: TANDEM Finance
Author: TANDEM
Version: 5.6
Description: TANDEM verslo finansų architektūros svetainė
*/
:root{--green:#0f2e2a;--sage:#5a9078}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--green);font:16px/1.6 Arial,sans-serif}a{text-decoration:none;color:inherit}.container{max-width:1160px;padding:0 26px;margin:auto}.header{position:sticky;top:0;background:#fffffff2;z-index:9;border-bottom:1px solid #e5eae7}.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:25px}.logo{font-size:28px;letter-spacing:.22em;font-weight:bold}.logo em{color:var(--sage);font-style:normal}.navlinks{display:flex;align-items:center;gap:25px;font-size:13px}.button{display:inline-block;background:var(--green);color:white;padding:13px 23px;border-radius:3px;font-size:14px;border:0;cursor:pointer}.button:hover{background:#326252}.hero{background:linear-gradient(110deg,#fafbf9,#dce6e0)}.hero .container{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;min-height:565px}.heroimage{height:450px;background:url(assets/tandem-hero-v40.webp) center/cover;clip-path:polygon(17% 12%,70% 0,100% 20%,100% 100%,0 100%,0 35%)}.eyebrow{font-size:11px;letter-spacing:.25em;font-weight:bold;text-transform:uppercase}h1{font-size:clamp(40px,5vw,62px);line-height:1.1;letter-spacing:-.04em;margin:16px 0}h2{font-size:clamp(30px,3.5vw,43px);line-height:1.2;letter-spacing:-.03em;margin:12px 0 22px}h3{font-size:20px;line-height:1.25}.subtitle{font-size:22px;color:#607975}.section{padding:85px 0}.light{background:#f6f8f6}.dark{background:#0e2c2a;color:white}.dark p{color:#cbd8d2}.two{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.quote{padding:55px;background:#e2ebe6;font-size:30px;line-height:1.35}.quote small{display:block;margin-top:30px;font-size:14px}.muted{color:#627875}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:35px}.card{border:1px solid #dce5df;background:white;padding:28px;min-height:225px}.card small{color:var(--sage);letter-spacing:.18em}.card p,.person p{color:#647a75;font-size:14px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:35px}.step{border-top:1px solid #77948a;padding-top:20px}.step strong{color:#91bda6}.people{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.person{border-top:1px solid #dce5df;padding-top:16px}.banner{height:210px;background:url(assets/tandem-hero-v40.webp) center/cover}.contact{background:#e9f0ec}.form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form input:not([type=checkbox]),.form select,.form textarea{width:100%;border:1px solid #d3ddd7;padding:14px;font:inherit;background:white}.form textarea,.form .wide{grid-column:1/-1}.form textarea{min-height:105px}.consent{font-size:12px;display:flex;gap:10px;align-items:start}.hidden{position:absolute;left:-9999px}.footer{background:#071e1d;color:white;padding:35px 0;font-size:13px}.footer .container{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.mobile{display:none}.status{padding:12px;background:#d1e9d8;margin-bottom:15px}@media(max-width:850px){.mobile{display:block;border:1px solid #ddd;background:white;padding:10px}.navlinks{display:none;position:absolute;top:78px;left:0;right:0;background:white;padding:25px;flex-direction:column}.navlinks.show{display:flex}.hero .container,.two{grid-template-columns:1fr}.hero .container{padding-top:45px}.heroimage{height:280px}.cards,.people{grid-template-columns:1fr 1fr}.steps{grid-template-columns:1fr 1fr}.section{padding:55px 0}}@media(max-width:550px){.cards,.people,.steps,.form{grid-template-columns:1fr}.form textarea,.form .wide{grid-column:auto}.quote{padding:32px;font-size:24px}.logo{font-size:23px}}

.language-switch{white-space:nowrap;font-size:13px;margin-left:12px}.language-switch a{color:inherit;text-decoration:none}.language-switch a[aria-current="page"]{font-weight:800;text-decoration:underline}


/* TANDEM visual redesign v2.0 — preserves existing WordPress contact settings and bilingual content */
:root{--green:#0b2927;--sage:#548c75;--cream:#f7f8f5}
body{font-family:Arial,Helvetica,sans-serif;background:var(--cream);color:var(--green)}
.container{max-width:1370px;padding:0 46px}
.header{background:rgba(250,251,249,.97);box-shadow:0 3px 25px #0b29270a;border-bottom:1px solid #e5eae5}
.nav{min-height:82px}.logo{font-size:27px;letter-spacing:.26em;font-weight:700}.logo em{font-size:17px;letter-spacing:0;margin-left:6px}.navlinks{gap:24px}.navlinks>a:not(.button):hover{color:var(--sage)}
.button{border-radius:2px;padding:15px 24px;font-weight:600;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}
.hero{position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(246,249,247,.97) 0%,rgba(246,249,247,.93) 34%,rgba(246,249,247,.3) 68%,rgba(246,249,247,.05) 100%),url('assets/tandem-hero-v40.webp') center 54%/cover no-repeat}
.hero:after{content:'';position:absolute;right:-7%;top:-20%;width:26%;height:140%;border-left:65px solid #ffffff4d;transform:skewX(-29deg);pointer-events:none}
.hero .container{display:flex;align-items:center;min-height:680px;position:relative;z-index:1}
.hero .container>div:first-child{max-width:670px;background:rgba(247,249,246,.42);padding:24px 22px 28px 0}
.heroimage{display:none}
.hero h1{font-size:clamp(48px,5.2vw,78px);max-width:750px;line-height:1.055;margin:20px 0 22px;letter-spacing:-.052em}
.hero .subtitle{font-size:26px;color:#526c67;margin:0 0 18px}
.hero p:not(.subtitle){max-width:540px;font-size:16px;line-height:1.8}
.eyebrow{letter-spacing:.26em;font-size:11px}
h2{font-size:clamp(34px,3.5vw,50px);letter-spacing:-.045em}
.section{padding:105px 0}
#apie{background:linear-gradient(115deg,#fff 0%,#f3f6f3 100%)}
#apie .two{grid-template-columns:1.05fr .95fr;gap:110px}
#apie ul{padding-left:20px;color:#5a706b;line-height:1.9}
.quote{position:relative;background:#e3ebe7;padding:75px 60px;font-size:clamp(27px,2.6vw,40px);letter-spacing:-.035em;min-height:360px;display:flex;flex-direction:column;justify-content:center}
.quote:before{content:'';height:2px;width:45px;background:var(--sage);position:absolute;top:42px;left:60px}
.quote small{font-size:13px;letter-spacing:0}
.light{background:#f7f9f7}.cards{grid-template-columns:repeat(3,1fr);gap:1px;background:#dbe4df;border:1px solid #dbe4df;margin-top:48px}
.card{border:0;min-height:275px;padding:36px;background:#f9fbf9;transition:background .2s}.card:hover{background:#e9f1eb}.card small{font-weight:700}.card h3{font-size:21px;margin-top:24px}
.dark{background:linear-gradient(90deg,rgba(4,29,28,.97),rgba(7,40,39,.86)),url('assets/tandem-hero-v40.webp') center 62%/cover;color:white}
.dark .step{border-top:1px solid #86a89b}.dark .step h3{font-size:19px}
#kam{background:#fff}.people{grid-template-columns:repeat(5,1fr);gap:18px;margin-top:50px}.person{padding-top:22px}.person h3{font-size:17px}
.banner{height:310px;background:linear-gradient(90deg,#092825c9,#09282500),url('assets/tandem-hero-v40.webp') center 63%/cover}
.contact{background:#e6eeea}.contact .two{grid-template-columns:.9fr 1.1fr;gap:85px}.contact h2{max-width:540px}
.form{padding:30px;background:#f5f8f6;border:1px solid #d5e0da}.form input:not([type=checkbox]),.form select,.form textarea{border:1px solid #d7e0da;border-radius:0;font-size:14px}.form .button{font-size:15px}
.footer{padding:50px 0;background:#061d1c}
@media(max-width:1050px){.navlinks{gap:13px;font-size:12px}.container{padding:0 28px}.people{grid-template-columns:repeat(3,1fr)}#apie .two{gap:45px}.hero .container{min-height:610px}}
@media(max-width:850px){.hero{background:linear-gradient(90deg,rgba(246,249,247,.94),rgba(246,249,247,.5)),url('assets/tandem-hero-v40.webp') 56% center/cover}.hero .container{min-height:590px}.hero .container>div:first-child{max-width:610px}.hero h1{font-size:clamp(43px,7vw,64px)}.navlinks{gap:18px}.cards{grid-template-columns:repeat(2,1fr)}.contact .two,#apie .two{grid-template-columns:1fr}.section{padding:70px 0}.quote{min-height:260px}}
@media(max-width:550px){.container{padding:0 22px}.nav{min-height:72px}.navlinks{top:72px}.hero .container{min-height:600px;align-items:flex-start;padding-top:74px}.hero h1{font-size:44px}.hero .subtitle{font-size:20px}.hero p:not(.subtitle){font-size:14px}.hero{background:linear-gradient(180deg,#f7faf7ee 0%,#f7faf7df 49%,#f7faf788 100%),url('assets/tandem-hero-v40.webp') 55% center/cover}.hero:after{display:none}.cards,.people{grid-template-columns:1fr}.quote{padding:65px 30px 35px}.quote:before{left:30px}.form{padding:18px}.banner{height:180px}}

/* TANDEM team */
.team-section{background:#f1f5f1}
.team-section h2{max-width:900px;margin:16px 0 18px}
.team-intro{max-width:830px;color:#536d66;font-size:18px;line-height:1.75;margin-bottom:46px}
.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.team-card{display:grid;grid-template-columns:42% 58%;background:#fff;min-height:380px;overflow:hidden;border:1px solid #dbe5df}
.team-media{min-height:360px;background:#dfe8e3}
.team-portrait{width:100%;height:100%;object-fit:cover;display:block}
.team-placeholder{height:100%;min-height:360px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#c8d9d0,#688f7c);font-size:68px;letter-spacing:.06em;color:#fff;font-weight:600}
.team-content{padding:35px 30px;display:flex;flex-direction:column}
.team-role{text-transform:uppercase;font-size:10px;letter-spacing:.13em;color:#56866e;font-weight:700}
.team-content h3{font-size:26px;line-height:1.1;margin:14px 0 18px}
.team-content p{color:#526963;font-size:14px;line-height:1.75;margin:0 0 25px}
.team-link{color:#0b2927;font-size:13px;font-weight:700;text-decoration:none;margin-top:auto;border-bottom:1px solid #719887;padding-bottom:8px;align-self:flex-start}
.team-outro{margin-top:30px;font-size:17px;font-weight:600}
.team-outro a{color:#548c75}
@media(max-width:1100px){.team-card{grid-template-columns:1fr}.team-media,.team-placeholder{height:280px;min-height:280px}}
@media(max-width:700px){.team-grid{grid-template-columns:1fr}.team-card{grid-template-columns:1fr}.team-media,.team-placeholder{height:320px;min-height:320px}.team-content{padding:28px}.team-intro{font-size:16px}}

/* TANDEM 2.4 — clean hero image without baked-in branding */
.hero{background-image:linear-gradient(90deg,rgba(248,250,248,.98) 0%,rgba(248,250,248,.93) 30%,rgba(248,250,248,.69) 49%,rgba(248,250,248,.08) 76%),url('assets/tandem-hero-v40.webp');background-position:center,center 52%;background-size:cover}
.hero .container>div:first-child{background:transparent}
.hero:after{opacity:.55}
.services-intro{max-width:760px;color:#607975;font-size:17px;line-height:1.7}
#paslaugos .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
#paslaugos .card{min-height:240px;display:flex;flex-direction:column}
#paslaugos .card h3{margin:18px 0 8px}
#paslaugos .card p{margin:0}
@media(max-width:850px){#paslaugos .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{background-image:linear-gradient(90deg,rgba(248,250,248,.96),rgba(248,250,248,.45)),url('assets/tandem-hero-v40.webp')}}
@media(max-width:550px){#paslaugos .cards{grid-template-columns:1fr}.hero{background-image:linear-gradient(180deg,rgba(248,250,248,.97) 0%,rgba(248,250,248,.85) 58%,rgba(248,250,248,.4) 100%),url('assets/tandem-hero-v40.webp');background-position:center,58% center}}

/* v2.5: compact, circular LinkedIn-style team profile photos */
.team-card{grid-template-columns:1fr;min-height:0;overflow:visible;padding:30px;align-content:start}
.team-media{width:132px;height:132px;min-height:0;margin:0 0 12px;background:transparent;border-radius:50%;overflow:hidden;border:3px solid #fff;box-shadow:0 0 0 1px #dbe5df,0 8px 24px rgba(11,41,39,.09);flex-shrink:0}
.team-portrait{width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;object-position:center 24%;border-radius:50%;display:block}
.team-placeholder{height:100%;min-height:0;border-radius:50%;font-size:35px}
.team-content{padding:0;display:flex;flex-direction:column}
.team-content h3{margin:10px 0 12px}
.team-content p{margin-bottom:20px}
@media(max-width:1100px){.team-card{grid-template-columns:1fr}.team-media,.team-placeholder{height:132px;min-height:0}}
@media(max-width:700px){.team-grid{grid-template-columns:1fr}.team-card{grid-template-columns:1fr;padding:25px}.team-media,.team-placeholder{height:116px;min-height:0}.team-media{width:116px}.team-content{padding:0}}

/* v2.6 original TANDEM logo in header */
.header .logo{display:inline-flex;align-items:center;flex-shrink:0;line-height:1;letter-spacing:normal}
.header .logo img{display:block;width:180px;height:auto;max-width:100%}
@media(max-width:550px){.header .logo img{width:145px}}

/* v2.7 – original TANDEM wordmark, balanced team cards and social footer */
.header .logo img{width:178px;height:auto;object-fit:contain}
.team-grid{align-items:stretch;gap:28px}
.team-card{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr;gap:0;padding:30px 32px 28px;border:1px solid #d9e5df;border-radius:10px;background:#fff;box-shadow:0 8px 28px rgba(9,42,37,.035)}
.team-media{width:112px;height:112px;min-height:0;margin:0 0 18px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #c9d9d1,0 6px 18px rgba(11,41,39,.10)}
.team-portrait{width:100%;height:100%;object-fit:cover;object-position:center 23%;border-radius:50%}
.team-content{display:flex;flex-direction:column;align-items:flex-start;min-height:0;padding:0}
.team-role{order:2;margin-bottom:14px;line-height:1.5;letter-spacing:.11em}
.team-content h3{order:1;margin:0 0 8px;font-size:25px;line-height:1.2}
.team-content p{order:3;margin:0 0 22px;color:#526963;font-size:14px;line-height:1.8;max-width:56ch}
.team-link{order:4;margin-top:auto;padding-top:6px}
.footer{padding:34px 0}
.footer .footer-inner{display:flex;align-items:center;justify-content:space-between;gap:26px;flex-wrap:wrap}
.footer-brand{display:flex;flex-direction:column;gap:4px}
.footer-brand strong{font-size:20px;letter-spacing:.22em}
.footer-brand span{color:#b9cbc5;font-size:12px}
.footer-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.footer-email{color:#d9e9e1;font-size:13px;overflow-wrap:anywhere}
.social-links{display:flex;align-items:center;gap:10px}
.social-links a{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #52716a;border-radius:50%;color:#fff;transition:background .2s,border-color .2s}
.social-links a:hover,.social-links a:focus-visible{background:#386b59;border-color:#90baa5}
.social-links svg{width:19px;height:19px;display:block}
@media(max-width:700px){.team-card{padding:26px}.team-media{width:104px;height:104px;min-height:0}.team-content h3{font-size:23px}.footer .footer-inner,.footer-actions{align-items:flex-start;flex-direction:column;gap:16px}.header .logo img{width:145px}}

/* v2.8 – compact, aligned footer and original cropped wordmark */
.header .logo img{width:174px;height:auto;max-height:42px;object-fit:contain}
.footer{padding:27px 0;background:#082a27;color:#f4faf7}
.footer .footer-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px}
.footer .footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.footer .footer-brand strong{font-size:18px;letter-spacing:.22em;line-height:1.15}
.footer .footer-brand span{font-size:11px;color:#b8ccc4;line-height:1.5}
.footer .footer-actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:18px;min-width:0}
.footer .footer-email{font-size:12px;line-height:1.4;text-decoration:none;color:#dbeae4}
.footer .social-links{display:flex;align-items:center;gap:7px;flex-shrink:0}
.footer .social-links a{width:30px;height:30px;min-width:30px;min-height:30px;border-radius:50%;border:1px solid #54756b;color:#eaf5ef;display:inline-flex;align-items:center;justify-content:center;transition:background .2s ease,border-color .2s ease}
.footer .social-links svg{width:14px;height:14px;display:block}
.footer .social-links a:hover,.footer .social-links a:focus-visible{background:#326652;border-color:#91b7a6;outline-offset:3px}
@media(max-width:700px){.header .logo img{width:145px}.footer{padding:25px 0}.footer .footer-inner{grid-template-columns:1fr;gap:16px;align-items:start}.footer .footer-actions{flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px}.footer .social-links a{width:30px;height:30px}}

/* v2.9 definitive header and footer overrides */
body .header .nav>a.logo{display:flex;align-items:center;justify-content:flex-start;flex:0 0 auto;padding:0;margin:0;line-height:0}
body .header .nav>a.logo img{display:block;width:166px!important;max-width:166px!important;height:auto!important;max-height:38px!important;object-fit:contain;object-position:left center}
body .footer{display:block!important;background:#082a27!important;color:#f4faf7!important;padding:26px 0!important}
body .footer>.footer-inner,body .footer>.container.footer-inner{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;max-width:1370px;margin:0 auto}
body .footer .footer-brand{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important}
body .footer .footer-brand strong{font-size:17px;letter-spacing:.19em;line-height:1.2}
body .footer .footer-brand span{font-size:11px;line-height:1.5;color:#c5d6ce}
body .footer .footer-actions{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:20px!important}
body .footer .footer-email{font-size:12px;color:#e5f0eb;text-decoration:none}
body .footer .social-links{display:flex!important;align-items:center!important;gap:8px!important}
body .footer .social-links a{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:0!important;border:1px solid #54756b;border-radius:50%;color:#eaf5ef}
body .footer .social-links a svg{display:block!important;width:14px!important;height:14px!important;flex:0 0 14px!important}
@media(max-width:800px){body .footer>.container.footer-inner{grid-template-columns:1fr!important;gap:16px!important}body .footer .footer-actions{justify-content:space-between!important;flex-wrap:wrap!important}body .header .nav>a.logo img{width:145px!important;max-width:145px!important}}

/* v3.0 – footer aligned to supplied visual reference */
body .tandem-footer{background:#0a2020!important;color:#f3f7f4!important;padding:0!important;font-size:12px}
body .tandem-footer .footer-main{display:grid!important;grid-template-columns:minmax(250px,1fr) auto auto!important;align-items:center!important;gap:42px!important;padding-top:23px;padding-bottom:21px;max-width:1160px;margin:auto}
.tandem-footer .footer-brandline{display:flex;align-items:center;gap:15px;min-width:0}
.tandem-footer .footer-wordmark{display:inline-flex;align-items:center;flex-shrink:0;line-height:0}
.tandem-footer .footer-wordmark img{display:block;width:142px;height:auto;max-height:30px;object-fit:contain;filter:brightness(0) invert(1)}
.tandem-footer .footer-tagline{padding-left:14px;border-left:1px solid #607571;white-space:nowrap;font-size:10px;color:#d6e1dc}
.tandem-footer .footer-nav{display:flex;align-items:center;justify-content:flex-end;gap:23px;white-space:nowrap}
.tandem-footer .footer-nav a{font-size:11px;color:#e4ede8}.tandem-footer .footer-nav a:hover{text-decoration:underline}
.tandem-footer .footer-social{display:flex;align-items:center;justify-content:flex-end;gap:15px}
.tandem-footer .footer-social a{display:inline-flex;align-items:center;justify-content:center;width:20px;height:24px;color:#fff;border:0;background:none;padding:0;border-radius:0}
.tandem-footer .footer-social svg{width:17px;height:17px;display:block}.tandem-footer .footer-social a:hover{color:#91bba7}
body .tandem-footer .footer-bottom{display:flex!important;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid #405553;padding-top:12px;padding-bottom:14px;font-size:10px;color:#bdccc5;max-width:1160px;margin:auto}
.tandem-footer .footer-bottom a{color:#dbe7df}
@media(max-width:1050px){body .tandem-footer .footer-main{grid-template-columns:1fr auto!important;gap:18px!important}.tandem-footer .footer-nav{grid-column:1 / -1;grid-row:2;justify-content:flex-start;flex-wrap:wrap}.tandem-footer .footer-social{grid-column:2;grid-row:1}}
@media(max-width:600px){body .tandem-footer .footer-main{grid-template-columns:1fr auto!important;gap:15px!important;padding-top:22px;padding-bottom:18px}.tandem-footer .footer-wordmark img{width:112px}.tandem-footer .footer-tagline{font-size:9px;white-space:normal}.tandem-footer .footer-brandline{gap:9px}.tandem-footer .footer-nav{gap:13px 19px}.tandem-footer .footer-nav a{font-size:11px}body .tandem-footer .footer-bottom{align-items:flex-start;flex-direction:column;gap:6px}}

/* v3.1 — six services with consistent line icons */
#paslaugos .service-icon{display:flex;align-items:center;justify-content:flex-start;width:36px;height:36px;color:#10332f;margin-bottom:16px;flex-shrink:0}
#paslaugos .service-icon svg{display:block;width:32px;height:32px}
#paslaugos .card h3{margin:0 0 10px}
#paslaugos .card{min-height:255px}

/* v3.3 — audience icons and five-stage process */
#kam .people{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 25px;margin-top:30px}
#kam .person{padding:18px 20px 14px 0;border-top:1px solid #dce5df;min-width:0}
#kam .audience-icon{display:flex;width:38px;height:38px;align-items:center;justify-content:flex-start;color:#10332f;margin:0 0 13px}
#kam .audience-icon svg{width:33px;height:33px;display:block}
#kam .person h3{font-size:18px;margin:0 0 8px}
#kam .person p{margin:0;line-height:1.6}
#procesas .process-lead{max-width:700px}
#procesas .process-five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;margin-top:42px}
#procesas .process-five .step{position:relative;min-width:0;border-top:1px solid #7a9a90;padding:24px 12px 0 0}
#procesas .process-five .step:not(:last-child)::after{content:'→';position:absolute;right:-17px;top:17px;font-size:26px;line-height:1;color:#b0d1c0}
#procesas .process-five .step-number{display:inline-block;color:#9fc6b1;font-size:12px;font-weight:700;letter-spacing:.18em}
#procesas .process-five h3{font-size:19px;margin:12px 0 10px;color:#fff}
#procesas .process-five p{font-size:14px;line-height:1.6;margin:0}
@media(max-width:900px){#procesas .process-five{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:28px}#procesas .process-five .step:nth-child(3)::after{display:none}}
@media(max-width:650px){#kam .people{grid-template-columns:repeat(2,minmax(0,1fr))}#procesas .process-five{grid-template-columns:1fr;gap:13px;margin-top:25px}#procesas .process-five .step{padding:12px 0 26px 55px;border-top:0;border-left:1px solid #7a9a90;margin-left:15px}#procesas .process-five .step-number{position:absolute;left:15px;top:14px}#procesas .process-five .step:not(:last-child)::after{content:'↓';left:12px;right:auto;top:auto;bottom:-6px;font-size:22px}#procesas .process-five .step:nth-child(3)::after{display:block}}
@media(max-width:430px){#kam .people{grid-template-columns:1fr}}

/* v3.4: original horizontal TANDEM logo, consistent header/footer */
body .header .nav>a.logo img{width:190px!important;max-width:190px!important;height:auto!important;max-height:48px!important;object-fit:contain!important;object-position:left center!important}
.tandem-footer .footer-wordmark img{width:168px!important;max-width:168px!important;height:auto!important;max-height:42px!important;object-fit:contain!important;filter:brightness(0) invert(1)!important}
@media(max-width:700px){body .header .nav>a.logo img{width:150px!important;max-width:150px!important}.tandem-footer .footer-wordmark img{width:135px!important;max-width:135px!important}}

/* v3.5 – expanded team biographies */
.team-card .team-content p{line-height:1.7;}
.team-card .team-content{display:flex;flex-direction:column;align-items:flex-start;}
.team-card .team-link{margin-top:auto;padding-top:18px;}

/* TANDEM v3.6 — original AI architectural hero, responsive layout */
.hero{background-image:linear-gradient(90deg,rgba(248,250,248,.99) 0%,rgba(248,250,248,.96) 27%,rgba(248,250,248,.78) 43%,rgba(248,250,248,.12) 72%),url('assets/tandem-hero-v40.webp');background-position:center,center center;background-size:cover;background-repeat:no-repeat}
@media(max-width:850px){.hero{background-image:linear-gradient(90deg,rgba(248,250,248,.97) 0%,rgba(248,250,248,.85) 45%,rgba(248,250,248,.35) 100%),url('assets/tandem-hero-v40.webp');background-position:center,48% center}}
@media(max-width:550px){.hero{background-image:linear-gradient(180deg,rgba(248,250,248,.98) 0%,rgba(248,250,248,.91) 48%,rgba(248,250,248,.45) 100%),url('assets/tandem-hero-v40.webp');background-position:center,46% center}}

/* v3.8: final HERO asset across all responsive breakpoints. */
.hero{background-image:linear-gradient(90deg,rgba(248,250,248,.99) 0%,rgba(248,250,248,.96) 27%,rgba(248,250,248,.72) 46%,rgba(248,250,248,.08) 77%),url('assets/tandem-hero-v40.webp')!important;background-position:center,center 50%;background-size:cover}
@media(max-width:850px){.hero{background-image:linear-gradient(90deg,rgba(248,250,248,.97),rgba(248,250,248,.72) 55%,rgba(248,250,248,.3)),url('assets/tandem-hero-v40.webp')!important}}
@media(max-width:550px){.hero{background-image:linear-gradient(180deg,rgba(248,250,248,.98) 0%,rgba(248,250,248,.88) 52%,rgba(248,250,248,.4)),url('assets/tandem-hero-v40.webp')!important}}

/* TANDEM v3.9: independent image for banner after Who we help; HERO remains unchanged. */
.banner{background-image:linear-gradient(90deg,rgba(9,40,37,.65),rgba(9,40,37,.05)),url("assets/tandem-kam-padedame-v40.webp")!important;background-position:center,center 51%!important;background-size:cover!important;background-repeat:no-repeat!important}

/* TANDEM v4.0: color-graded matching HERO and secondary banner imagery. */

/* v4.1 — document handover photo above contact section; HERO unchanged */
.banner{background-image:linear-gradient(90deg,rgba(9,40,37,.46),rgba(9,40,37,.05)),url("assets/tandem-dokumentu-perdavimas-v41.webp")!important;background-position:center,center 51%!important;background-size:cover!important}

/* FAQ */
.faq-hero{background:#eef4ef;padding:70px 0 52px}.faq-hero h1{font-size:clamp(36px,4vw,55px);max-width:850px}.faq-layout{max-width:900px;margin:auto;padding:65px 26px 85px}.faq-category{margin:34px 0 12px;font-size:25px}.faq-item{border-bottom:1px solid #d8e5de}.faq-item summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:19px 0;font-weight:700;font-size:17px}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{content:'+';font-size:24px;color:#54806d;font-weight:400}.faq-item[open] summary:after{content:'−'}.faq-answer{padding:0 25px 18px 0;color:#506c60;line-height:1.75}.faq-cta{background:#10332e;color:white;padding:45px 40px;margin-top:48px}.faq-cta p{color:#d8e6df}.faq-cta .button{background:#fff;color:#10332e}.faq-cta .button:hover{background:#e6f1ea}@media(max-width:650px){.faq-hero{padding:46px 0 36px}.faq-layout{padding:35px 22px 65px}.faq-cta{padding:27px 22px}}


/* v4.9: soft-focus corporate background in TANDEM principle section; no standalone photo */
#procesas.dark{background:linear-gradient(90deg,rgba(3,31,28,.69),rgba(3,31,28,.52)),url('assets/tandem-principas-partneriai-v52.webp') center center/cover no-repeat;color:#fff}
#procesas.dark p{color:#e0e9e3}
@media(max-width:650px){#procesas.dark{background-position:55% center}}

/* v5.4: updated partners image; subtle ~20% soft-focus effect and green contrast overlay */
#procesas.dark{background-image:linear-gradient(90deg,rgba(3,31,28,.72) 0%,rgba(3,31,28,.54) 50%,rgba(3,31,28,.38) 100%),url("assets/tandem-principas-partneriai-v54.webp")!important;background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important}

/* v5.6 — DUK kainodaros lentelė */
.faq-table-scroll{overflow-x:auto;margin:14px 0}.faq-pricing-table{width:100%;border-collapse:collapse;font-size:15px;min-width:350px}.faq-pricing-table th,.faq-pricing-table td{text-align:left;padding:12px 14px;border-bottom:1px solid #dce5df}.faq-pricing-table th{background:#e9f0ec;color:#0f2e2a;font-weight:700}.faq-pricing-table td:last-child{font-weight:700;white-space:nowrap}.faq-answer p{margin:10px 0}
