/* =====================================================================
   TALYNEX V3: unified modern layer. Loads LAST on every page.
   Keeps the brand (navy / gold / blue) and adds illustrated icons, richer
   hero, softer depth, motion that answers the visitor, consistent forms.
   ===================================================================== */
:root{
  --v3-navy:#041735;--v3-navy2:#0a2a63;--v3-blue:#0b57d0;--v3-gold:#f7b718;--v3-orange:#f97316;
  --v3-ink:#0b1b3a;--v3-ink2:#44546f;--v3-line:#e1e8f4;--v3-soft:#f4f7fc;--v3-card:#fff;
  --v3-sh:0 1px 2px rgba(4,23,53,.05),0 12px 30px rgba(4,23,53,.08);
  --v3-sh-lg:0 2px 6px rgba(4,23,53,.06),0 26px 56px rgba(4,23,53,.16);
  --v3-ease:cubic-bezier(.2,.7,.2,1);
}
html[data-theme="dark"]{--v3-ink:#f1f6ff;--v3-ink2:#bccbe2;--v3-line:#23406f;--v3-soft:#0a1a36;--v3-card:#0e2347;
  --v3-sh:0 1px 2px rgba(0,0,0,.3),0 12px 30px rgba(0,0,0,.35);--v3-sh-lg:0 2px 6px rgba(0,0,0,.4),0 26px 56px rgba(0,0,0,.5)}

/* ---------- icons ---------- */
.tx-ic{display:block;width:1em;height:1em;overflow:visible}
.tx-ico-wrap{display:inline-grid;place-items:center;line-height:1;width:1em;height:1em;flex:0 0 auto}
.sv-ico,.sv-fic,.sv-fi,.sv-si,.sv-tile,.delivery-icon,.audience-icon,.about-principle-icon{--ic-accent:#fff4c2}
.sv-ico .tx-ic,.sv-fic .tx-ic,.sv-fi .tx-ic,.sv-si .tx-ic,.sv-tile .tx-ic,.delivery-icon .tx-ic,.audience-icon .tx-ic,.about-principle-icon .tx-ic{width:1em;height:1em;stroke-width:1.5}
html body .sv-ico{width:72px;height:72px;font-size:2.15rem;border-radius:22px}
html body .sv-ico::after{animation:none;border:1.5px solid var(--c1);opacity:.28;inset:-7px;border-radius:28px;transition:transform .5s var(--v3-ease),opacity .3s}
html body .sv-card:hover .sv-ico::after{transform:scale(1.08) rotate(6deg);opacity:.5}
html body .sv-fic,html body .sv-fi{font-size:1.7rem}
html body .sv-tile{font-size:1.9rem}
.ind-ico,.insight-icon,.tx-ico{--ic-accent:var(--b,#f7b718)}
html body .sv-ind .ind-ico{font-size:1.8rem}
html body .sv-why li>.tx-ico-wrap,html body .sv-why2 li>.tx-ico-wrap{font-size:1.7rem;color:var(--v3-blue);--ic-accent:var(--v3-gold)}
html body .sv-sub .tx-ico-wrap{font-size:1.5rem;margin-right:10px;color:var(--v3-blue);--ic-accent:var(--v3-gold);vertical-align:-.28em}
html body .sv-tblwrap td>.tx-ico-wrap{font-size:1.25rem;margin-right:10px;color:var(--v3-blue);--ic-accent:var(--v3-gold);vertical-align:-.25em}
html body .sv-pic .float .tx-ico-wrap,html body .float .tx-ico-wrap{font-size:1.7rem;--ic-accent:var(--v3-gold)}

/* ---------- inner page hero ---------- */
html body .page-hero{position:relative;overflow:hidden;isolation:isolate;padding:84px 0 92px;
  background:radial-gradient(60% 90% at 88% 0%,rgba(247,183,24,.26),transparent 62%),radial-gradient(50% 80% at 0% 100%,rgba(11,87,208,.5),transparent 60%),linear-gradient(120deg,#041735 0%,#0a2a63 70%,#0b3f9a 130%)}
html body .page-hero::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:46px 46px;-webkit-mask-image:linear-gradient(90deg,#000 20%,transparent 85%);mask-image:linear-gradient(90deg,#000 20%,transparent 85%)}
html body .page-hero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:34px;background:var(--tx-bg,#fff);clip-path:ellipse(60% 100% at 50% 100%);z-index:1}
html body .page-hero .container{position:relative}
html body .page-hero h1{font-size:clamp(2.3rem,5vw,4rem);max-width:15em;text-wrap:balance}
html body .page-hero .lead{color:#d5e1f5;font-size:1.15rem;max-width:40em}
html body .page-hero .crumb{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:center;padding:7px 14px;margin-bottom:22px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);font-size:.84rem;backdrop-filter:blur(8px)}
html body .page-hero .crumb a{color:var(--v3-gold)}
.tx-hero-art{position:absolute;right:2%;top:50%;width:clamp(150px,22vw,270px);aspect-ratio:1;transform:translateY(-50%);display:grid;place-items:center;font-size:clamp(5rem,10vw,8.6rem);color:#fff;--ic-accent:var(--v3-gold);pointer-events:none}
.tx-hero-art .tx-ic{position:relative;z-index:1;filter:drop-shadow(0 18px 30px rgba(0,0,0,.3));stroke-width:1.1}
.tx-hero-art::before{content:"";position:absolute;inset:14%;border-radius:36%;background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(10px);transform:rotate(-8deg)}
.tx-hero-ring{position:absolute;inset:0;border-radius:50%;border:1.5px dashed rgba(247,183,24,.5);animation:txspin 40s linear infinite}
.tx-hero-ring.r2{inset:-14%;border-style:solid;border-color:rgba(255,255,255,.1);animation-duration:70s;animation-direction:reverse}
@keyframes txspin{to{transform:rotate(360deg)}}
@media(max-width:900px){.tx-hero-art{display:none}html body .page-hero{padding:64px 0 76px}}

/* ---------- reveal ---------- */
.tx-pre{opacity:0;transform:translateY(16px)}
.tx-pre.tx-in{opacity:1;transform:none;transition:opacity .6s var(--v3-ease) var(--tx-d,0ms),transform .6s var(--v3-ease) var(--tx-d,0ms)}

/* ---------- progress bar + header ---------- */
.tx-progress{position:fixed;left:0;top:0;height:3px;width:100%;transform-origin:0 50%;transform:scaleX(0);background:linear-gradient(90deg,var(--v3-gold),var(--v3-orange));z-index:2000;pointer-events:none}
html body .site-header{transition:box-shadow .3s,background .3s}
html body .site-header.tx-scrolled{box-shadow:0 10px 30px rgba(4,23,53,.12)}
html body .btn,html body .sv-btn{transition:transform .25s var(--v3-ease),box-shadow .25s,background .25s}
html body .btn:active,html body .sv-btn:active{transform:translateY(0) scale(.98)}

/* ---------- card family: lift + pointer glow ---------- */
html body .sv-card,html body .sv-feat,html body .sv-ind a,html body .team-card,html body .about-principle-card,html body .product-card,html body .insight-card,html body .sv-steps li{position:relative;overflow:hidden;border-radius:24px;transition:transform .35s var(--v3-ease),box-shadow .35s,border-color .35s}
html body .sv-feat::after,html body .sv-ind a::after,html body .team-card::after,html body .about-principle-card::after,html body .product-card::after,html body .insight-card::after,html body .sv-steps li::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .3s;background:radial-gradient(260px circle at var(--mx,50%) var(--my,0),rgba(247,183,24,.14),transparent 70%)}
html body .sv-feat:hover::after,html body .sv-ind a:hover::after,html body .team-card:hover::after,html body .about-principle-card:hover::after,html body .product-card:hover::after,html body .insight-card:hover::after,html body .sv-steps li:hover::after{opacity:1}
html body .sv-feat:hover,html body .sv-ind a:hover,html body .team-card:hover,html body .about-principle-card:hover,html body .product-card:hover,html body .insight-card:hover{transform:translateY(-6px);box-shadow:var(--v3-sh-lg)}
html body .sv-go i,html body .sv-go .tx-ico-wrap,html body .ind-go i{transition:transform .3s var(--v3-ease)}
html body .sv-card:hover .sv-go i,html body .sv-ind a:hover .ind-go i{transform:translateX(5px)}

/* ---------- services overview ---------- */
html body .sv-statpanel{gap:14px}
html body .sv-statpanel li{border-radius:22px;box-shadow:var(--v3-sh);transition:transform .3s var(--v3-ease)}
html body .sv-statpanel li:hover{transform:translateY(-4px)}
html body .sv-steps{position:relative}
html body .sv-steps li{box-shadow:var(--v3-sh)}
html body .sv-si{font-size:1.7rem}
html body .sv-ind li a{box-shadow:var(--v3-sh)}
html body .sv-ind .ind-ico{box-shadow:0 12px 24px -8px var(--a,#0b57d0)}

/* "One project. One team." is now a real button */
html body a.sv-one{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:16px 26px;border-radius:999px;font-weight:800;font-size:1.05rem;letter-spacing:.01em;color:#041735!important;background:linear-gradient(135deg,#ffcf3d,#f7a41b);box-shadow:0 14px 34px -8px rgba(247,163,27,.7),inset 0 1px 0 rgba(255,255,255,.5);cursor:pointer;text-decoration:none;position:relative;z-index:3;transition:transform .3s var(--v3-ease),box-shadow .3s}
html body a.sv-one:hover{transform:translateY(-3px);box-shadow:0 20px 40px -8px rgba(247,163,27,.8),inset 0 1px 0 rgba(255,255,255,.5)}
html body a.sv-one:active{transform:scale(.97)}
html body a.sv-one:focus-visible{outline:3px solid #fff;outline-offset:3px}
html body a.sv-one .tx-ico-wrap{font-size:1.35rem;--ic-accent:#fff}
html body a.sv-one>i:last-child{transition:transform .3s var(--v3-ease)}
html body a.sv-one:hover>i:last-child{transform:translateX(5px)}
html body .sv-tl{transition:transform .3s var(--v3-ease)}
html body .sv-tl:hover{transform:translateY(-5px)}
html body .sv-tile{box-shadow:0 14px 28px -10px rgba(4,23,53,.5)}

/* ---------- service inside pages ---------- */
html body .sv-factpanel li{border-radius:20px;box-shadow:var(--v3-sh)}
html body .sv-feat{padding:28px 26px;border:1px solid var(--v3-line);background:var(--v3-card);box-shadow:var(--v3-sh)}
html body .sv-feat .sv-fic{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;margin-bottom:16px;color:#fff;background:linear-gradient(135deg,var(--c1),var(--c2));box-shadow:0 12px 24px -8px var(--c1)}
html body .sv-feat:hover .sv-fic{transform:rotate(-5deg) scale(1.06)}
html body .sv-feat .sv-fic{transition:transform .35s var(--v3-ease)}
html body .sv-pic img{transition:transform .8s var(--v3-ease)}
html body .sv-pic:hover img{transform:scale(1.03)}
html body .sv-pic{overflow:visible}
html body .sv-tblwrap{border-radius:20px;box-shadow:var(--v3-sh)}
html body .sv-tblwrap tbody tr{transition:background .2s}
html body .sv-tblwrap tbody tr:hover{background:rgba(247,183,24,.09)}
html body .sv-faq details{border-radius:18px;transition:box-shadow .3s,border-color .3s}
html body .sv-faq details[open]{box-shadow:var(--v3-sh);border-color:var(--c1,#0b57d0)}

/* ---------- about ---------- */
html body .about-principle-card{padding:32px 28px}
html body .about-principle-icon{width:66px;height:66px;border-radius:22px;display:grid;place-items:center;font-size:2rem;color:#fff;background:linear-gradient(135deg,var(--v3-blue),var(--v3-navy2));box-shadow:0 14px 28px -8px rgba(11,87,208,.55)}
html body .about-principle-card:nth-child(2) .about-principle-icon{background:linear-gradient(135deg,#f7b718,#f97316);color:#041735;--ic-accent:#fff}
html body .about-principle-card:nth-child(3) .about-principle-icon{background:linear-gradient(135deg,#0d9488,#10b981)}
html body .team-card{background:var(--v3-card);border:1px solid var(--v3-line);box-shadow:var(--v3-sh)}
html body .team-photo{overflow:hidden}
html body .team-photo img{transition:transform .7s var(--v3-ease)}
html body .team-card:hover .team-photo img{transform:scale(1.05)}
html body .stat{border-radius:20px;border:1px solid var(--v3-line);transition:transform .3s var(--v3-ease)}
html body .stat:hover{transform:translateY(-4px)}
html body .photo-frame img,html body .about-image-slider{border-radius:30px}

/* ---------- projects ---------- */
html body .project-category-tabs{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
html body .project-category-tabs button,html body .project-category-tabs a{border-radius:999px;transition:transform .25s var(--v3-ease),background .25s,box-shadow .25s}
html body .project-category-tabs button:hover,html body .project-category-tabs a:hover{transform:translateY(-2px)}
html body .project-category-tabs .active,html body .project-category-tabs [aria-selected="true"]{box-shadow:0 12px 26px -8px rgba(11,87,208,.55)}
html body .impact-grid>*{border-radius:22px;box-shadow:var(--v3-sh);transition:transform .3s var(--v3-ease)}
html body .impact-grid>*:hover{transform:translateY(-4px)}
html body .project-detail-image,html body .project-mini-slider{border-radius:26px;overflow:hidden}
html body .project-scope-chips span,html body .project-scope-chips li{border-radius:999px}
html body .project-portfolio-grid>*{border-radius:28px;box-shadow:var(--v3-sh);transition:box-shadow .35s,transform .35s var(--v3-ease)}
html body .project-portfolio-grid>*:hover{box-shadow:var(--v3-sh-lg)}

/* ---------- products + insights ---------- */
html body .product-card{border:1px solid var(--v3-line);box-shadow:var(--v3-sh)}
html body .product-category-filter{display:flex;flex-wrap:wrap;gap:10px}
html body .product-category-filter button{border-radius:999px;transition:transform .25s var(--v3-ease),box-shadow .25s}
html body .product-category-filter button:hover{transform:translateY(-2px)}
html body .insight-card{border:1px solid var(--v3-line);background:var(--v3-card);box-shadow:var(--v3-sh)}
html body .insight-icon{font-size:2rem}

/* ---------- forms (contact, order, estimator) ---------- */
html body .contact-panel{position:relative;overflow:hidden;background:radial-gradient(70% 60% at 100% 0%,rgba(247,183,24,.2),transparent 60%),linear-gradient(150deg,#041735,#0a2a63)}
html body .contact-panel p i,html body .contact-panel p .tx-ico-wrap{display:inline-grid;place-items:center;width:34px;height:34px;margin-right:10px;border-radius:11px;background:rgba(255,255,255,.1);color:var(--v3-gold)}
html body .contact-form{background:var(--v3-card);box-shadow:var(--v3-sh);border-color:var(--v3-line)}
html body .field label{font-weight:700;font-size:.9rem;color:var(--v3-ink)}
html body .field input,html body .field select,html body .field textarea{border:1.5px solid var(--v3-line);border-radius:14px;background:var(--v3-card);color:var(--v3-ink);transition:border-color .2s,box-shadow .2s}
html body .field input:hover,html body .field select:hover,html body .field textarea:hover{border-color:#b9c9e3}
html body .field input:focus,html body .field select:focus,html body .field textarea:focus{outline:0;border-color:var(--v3-blue);box-shadow:0 0 0 4px rgba(11,87,208,.16)}
.tx-flash select{animation:txflash 1.6s ease 2}
@keyframes txflash{0%,100%{box-shadow:0 0 0 0 rgba(247,183,24,0)}50%{box-shadow:0 0 0 6px rgba(247,183,24,.45);border-color:#f7b718}}

/* ---------- global polish ---------- */
html body .footer{background:radial-gradient(60% 50% at 100% 0%,rgba(11,87,208,.35),transparent 60%),#041735}
html body .whatsapp{transition:transform .3s var(--v3-ease),box-shadow .3s}
html body .whatsapp:hover{transform:scale(1.08) rotate(-6deg)}
html body :focus-visible{outline:3px solid var(--v3-gold);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.tx-pre{opacity:1!important;transform:none!important}.tx-hero-ring{animation:none}}

/* ---------- v3 fixes after visual review ---------- */
html body .page-hero .crumb{display:flex;width:fit-content;max-width:100%}
html body .page-hero .eyebrow{display:flex;width:fit-content}
html body .sv-ico{font-size:2.5rem}
html body .sv-sti,html body .sv-si,html body .ind-ico,html body .sv-fic,html body .sv-fi{font-size:1.9rem}
html body .sv-statpanel .sv-sti{font-size:2rem}
html body .sv-tile{font-size:2.3rem}
html body .sv-ico .tx-ic,html body .sv-sti .tx-ic,html body .sv-si .tx-ic,html body .ind-ico .tx-ic,html body .sv-fic .tx-ic,html body .sv-fi .tx-ic,html body .sv-tile .tx-ic{transform:scale(1.12)}
html body .sv-why li>.tx-ico-wrap,html body .sv-why2 li>.tx-ico-wrap{font-size:2rem}

/* five service cards: 3 on the first row, 2 centred below */
@media(min-width:980px){
  html body .sv-cards.pics{display:grid;grid-template-columns:repeat(6,1fr);gap:22px}
  html body .sv-cards.pics>.sv-card{grid-column:span 2}
  html body .sv-cards.pics>.sv-card:nth-child(4){grid-column:2/4}
  html body .sv-cards.pics>.sv-card:nth-child(5){grid-column:4/6}
}
/* project cards: category tag top-left so it never sits on the slider dots */
html body .project-detail-image{position:relative}
html body .project-detail-image .tag{top:14px;left:14px;bottom:auto;right:auto;z-index:4;background:rgba(4,23,53,.78);color:#ffd467;border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(8px);letter-spacing:.06em}
html body .project-category-switcher{padding-top:36px;padding-bottom:12px}
