/*
Theme Name: FIONYX
Theme URI: https://fionyx.com/
Author: FIONYX
Description: Custom ACF-powered WordPress theme for FIONYX software, web, app and design services.
Version: 4.0.0
Text Domain: fionyx
Requires at least: 6.0
Requires PHP: 8.0
*/

/* =========================
   FIONYX Design System
   All spacing / type metrics use px.
   Flexbox is used for layout throughout.
========================= */
:root{
    --fx-bg:#0a0f2b;
    --fx-bg-soft:#11183a;
    --fx-panel:#151f4a;
    --fx-panel-2:#1a2758;
    --fx-text:#f7f9ff;
    --fx-muted:#bdc7e4;
    --fx-cyan:#2fe8ff;
    --fx-green:#83ff91;
    --fx-purple:#7457ff;
    --fx-pink:#ff46cc;
    --fx-border:rgba(255,255,255,.12);
    --fx-shadow:0 24px 70px rgba(0,0,0,.30);
    --fx-radius:8px;
    --fx-radius-sm:8px;
    --fx-container:1240px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
    margin:0;
    background:var(--fx-bg);
    color:var(--fx-text);
    font-family:"Nunito",Arial,sans-serif;
    font-size:18px;
    line-height:30px;
    overflow-x:hidden;
}

img{display:block;max-width:100%;height:auto;}
a{color:inherit;text-decoration:none;}
button,input,textarea,select{font:inherit;}
button{cursor:pointer;}
p{margin:0 0 20px;color:var(--fx-muted);}
ul,ol{margin:0;padding:0;}
h1,h2,h3,h4,h5,h6{margin:0;color:var(--fx-text);font-weight:700;letter-spacing:-1px;}
h1,.h1{font-size:48px;line-height:60px;}
h2,.h2{font-size:40px;line-height:52px;}
h3,.h3{font-size:26px;line-height:38px;}
h4,.h4{font-size:22px;line-height:34px;}
small,.small{font-size:16px;line-height:26px;}
::selection{background:var(--fx-cyan);color:#031020;}
.site-shell{min-height:700px;}
.fx-container{width:100%;max-width:var(--fx-container);margin:0 auto;padding-left:15px;padding-right:15px;}
.fx-section{position:relative;display:flex;width:100%;padding:80px 0;}
.fx-section--tight{padding:80px 0;}
.fx-section--soft{background:linear-gradient(180deg,rgba(16,25,67,.46),rgba(4,7,29,0));}
.fx-section__inner{display:flex;flex-direction:column;width:100%;gap:44px;}
.fx-row{display:flex;align-items:center;justify-content:space-between;gap:48px;width:100%;}
.fx-row--start{align-items:flex-start;}
.fx-stack{display:flex;flex-direction:column;gap:20px;}
.fx-wrap{display:flex;flex-wrap:wrap;gap:24px;}
.fx-center{text-align:center;align-items:center;}
.fx-copy{max-width:720px;}
.fx-copy p:last-child{margin-bottom:0;}
.fx-eyebrow{
    display:inline-flex;align-items:center;gap:10px;width:max-content;
    padding:8px 14px;border:1px solid var(--fx-border);border-radius:999px;
    background:rgba(255,255,255,.04);color:#dce8ff;font-size:16px;line-height:26px;font-weight:700;
}
.fx-eyebrow:before{content:"";width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,var(--fx-cyan),var(--fx-pink));box-shadow:0 0 20px var(--fx-cyan);}
.fx-gradient-text{
    background:linear-gradient(105deg,var(--fx-cyan),#8fffd4 35%,var(--fx-purple) 67%,var(--fx-pink));
    -webkit-background-clip:text;background-clip:text;color:transparent;
}
.fx-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:8px;}
.fx-btn{
    appearance:none;border:0;display:inline-flex;align-items:center;justify-content:center;gap:10px;
    min-height:52px;padding:12px 22px;border-radius:999px;font-size:16px;line-height:28px;font-weight:700;
    transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease,background .25s ease;
}
.fx-btn:hover{transform:translateY(-2px);}
.fx-btn--primary{background:linear-gradient(110deg,var(--fx-cyan),#4cffc7 48%,var(--fx-green));color:#031020;box-shadow:0 12px 38px rgba(47,232,255,.18);}
.fx-btn--secondary{background:rgba(255,255,255,.05);border:1px solid var(--fx-border);color:#fff;}
.fx-btn--secondary:hover{border-color:rgba(47,232,255,.48);background:rgba(47,232,255,.07);}
.fx-link{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:700;font-size:16px;line-height:28px;}
.fx-link span{transition:transform .2s ease;}
.fx-link:hover span{transform:translateX(4px);}
.fx-card{
    position:relative;display:flex;flex-direction:column;gap:18px;overflow:visible;
    background:linear-gradient(145deg,rgba(18,28,75,.88),rgba(7,12,39,.92));
    border:1px solid var(--fx-border);border-radius:var(--fx-radius);padding:30px;box-shadow:var(--fx-shadow);
}
.fx-card:before{display:none;}
.fx-card:hover{border-color:rgba(47,232,255,.28);}
.fx-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;width:100%;}
.fx-section-heading .fx-copy{max-width:710px;}
.fx-section-heading p{margin:14px 0 0;}
.fx-kicker{font-size:16px;line-height:28px;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:var(--fx-cyan);}

/* Header */
.site-header{
    position:fixed;z-index:1000;left:0;right:0;top:0;display:flex;width:100%;
    padding:16px 0;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease,padding .25s ease;
    border-bottom:1px solid transparent;
}
.site-header.is-scrolled{padding:10px 0;background:rgba(10,15,43,.94);backdrop-filter:blur(18px);border-color:var(--fx-border);box-shadow:0 14px 45px rgba(0,0,0,.22);}
.admin-bar .site-header{top:32px;}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;width:100%;}
.site-brand{display:flex;align-items:center;gap:10px;min-width:150px;}
.site-brand img{width:44px;height:44px;object-fit:contain;border-radius:8px;}
.site-brand__name{font-size:22px;line-height:34px;font-weight:700;letter-spacing:2px;color:#fff;}
.site-nav{display:flex;align-items:center;justify-content:center;flex:1;}
.site-nav ul{display:flex;align-items:center;justify-content:center;gap:28px;list-style:none;}
.site-nav a{font-size:16px;line-height:28px;font-weight:700;color:#dce5ff;position:relative;}
.site-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-6px;height:2px;background:linear-gradient(90deg,var(--fx-cyan),var(--fx-pink));transition:right .2s ease;}
.site-nav a:hover:after,.site-nav .current-menu-item>a:after{right:0;}
.header-actions{display:flex;align-items:center;gap:12px;}
.menu-toggle{display:none;width:48px;height:48px;border-radius:8px;border:1px solid var(--fx-border);background:rgba(255,255,255,.04);padding:12px;flex-direction:column;justify-content:center;gap:5px;}
.menu-toggle span{display:block;width:22px;height:2px;background:#fff;transition:.2s ease;}

/* Hero */
.fx-hero{display:flex;position:relative;min-height:720px;padding:158px 0 104px;overflow:hidden;}
.fx-hero:before{content:"";position:absolute;width:620px;height:620px;right:-180px;top:-140px;border-radius:50%;background:radial-gradient(circle,rgba(47,232,255,.19),rgba(47,232,255,0) 70%);filter:blur(2px);}
.fx-hero:after{content:"";position:absolute;width:560px;height:560px;left:-260px;bottom:-280px;border-radius:50%;background:radial-gradient(circle,rgba(255,70,204,.17),rgba(255,70,204,0) 70%);}
.fx-hero__inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:70px;width:100%;}
.fx-hero__content{display:flex;flex-direction:column;gap:20px;max-width:650px;flex:1 1 560px;}
.fx-hero__content p{font-size:19px;line-height:31px;max-width:620px;}
.fx-hero__visual{display:flex;align-items:center;justify-content:center;position:relative;flex:1 1 440px;max-width:500px;}
.fx-hero__orb{position:absolute;width:440px;height:440px;border-radius:50%;border:1px solid rgba(47,232,255,.20);animation:fxFloat 7s ease-in-out infinite;}
.fx-hero__orb:before,.fx-hero__orb:after{content:"";position:absolute;border-radius:50%;}
.fx-hero__orb:before{width:52px;height:52px;right:18px;top:70px;background:linear-gradient(135deg,var(--fx-green),var(--fx-cyan));box-shadow:0 0 50px rgba(47,232,255,.45);}
.fx-hero__orb:after{width:32px;height:32px;left:24px;bottom:82px;background:linear-gradient(135deg,var(--fx-purple),var(--fx-pink));box-shadow:0 0 42px rgba(255,70,204,.45);}
.fx-hero__image{position:relative;z-index:2;width:100%;border:1px solid var(--fx-border);border-radius:8px;overflow:hidden;background:rgba(255,255,255,.025);box-shadow:0 40px 100px rgba(0,0,0,.38);}
.fx-hero__image img{width:100%;aspect-ratio:1/1;object-fit:cover;}
.fx-stats{display:flex;flex-wrap:wrap;gap:14px;margin-top:12px;}
.fx-stat{display:flex;flex-direction:column;gap:2px;min-width:128px;padding:14px 16px;border-radius:8px;border:1px solid var(--fx-border);background:rgba(255,255,255,.035);}
.fx-stat strong{font-size:24px;line-height:36px;color:#fff;}
.fx-stat span{font-size:15px;line-height:25px;color:var(--fx-muted);}

/* Trust bar */
.fx-trust{display:flex;padding:30px 0;border-top:1px solid var(--fx-border);border-bottom:1px solid var(--fx-border);background:rgba(255,255,255,.018);}
.fx-trust__inner{display:flex;align-items:center;gap:34px;width:100%;}
.fx-trust__label{font-size:15px;line-height:25px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:#7885ac;white-space:nowrap;}
.fx-logo-list{display:flex;align-items:center;justify-content:space-around;flex-wrap:wrap;gap:28px;flex:1;}
.fx-client-logo{display:flex;align-items:center;justify-content:center;height:42px;min-width:120px;opacity:.68;filter:grayscale(1);}
.fx-client-logo img{max-width:130px;max-height:38px;object-fit:contain;}
.fx-client-logo span{font-weight:700;color:#c7d1ef;}

/* Services */
.fx-services{display:flex;flex-wrap:wrap;gap:22px;width:100%;}
.fx-service-card{flex:1 1 350px;min-height:330px;justify-content:space-between;transition:transform .25s ease,border-color .25s ease;}
.fx-service-card:hover{transform:translateY(-6px);}
.fx-service-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:8px;background:linear-gradient(145deg,rgba(47,232,255,.15),rgba(116,87,255,.12));border:1px solid rgba(47,232,255,.22);}
.fx-service-icon img{width:42px;height:42px;object-fit:contain;}
.fx-service-card p{margin:0;}
.fx-service-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:12px;border-top:1px solid var(--fx-border);}

/* Process */
.fx-process{display:flex;gap:18px;flex-wrap:wrap;width:100%;}
.fx-process-step{flex:1 1 240px;min-height:260px;}
.fx-step-number{font-size:46px;line-height:58px;font-weight:700;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.25);}
.fx-process-step:nth-child(2n) .fx-step-number{background:linear-gradient(135deg,var(--fx-cyan),var(--fx-purple));-webkit-background-clip:text;-webkit-text-stroke:0;}

/* Projects */
.fx-projects{display:flex;flex-wrap:wrap;gap:24px;width:100%;}
.fx-project-card{display:flex;flex-direction:column;gap:20px;flex:1 1 470px;min-width:0;max-width:590px;}
.fx-project-media{position:relative;display:flex;overflow:hidden;border-radius:8px;border:1px solid var(--fx-border);background:var(--fx-panel);aspect-ratio:16/10;}
.fx-project-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease;}
.fx-project-card:hover .fx-project-media img{transform:scale(1.035);}
.fx-project-info{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;}
.fx-project-info p{margin:8px 0 0;}
.fx-tags{display:flex;flex-wrap:wrap;gap:8px;}
.fx-tag{display:inline-flex;padding:7px 11px;border:1px solid var(--fx-border);border-radius:999px;color:#cbd5f3;font-size:15px;line-height:23px;font-weight:700;background:rgba(255,255,255,.025);}
.fx-filter-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:10px;}
.fx-filter-btn{border:1px solid var(--fx-border);background:rgba(255,255,255,.035);color:#cdd7f4;border-radius:999px;padding:9px 15px;font-size:15px;line-height:25px;font-weight:700;}
.fx-filter-btn.is-active,.fx-filter-btn:hover{background:linear-gradient(110deg,var(--fx-cyan),var(--fx-green));color:#031020;border-color:transparent;}
.fx-project-card.is-hidden{display:none;}

/* Split feature */
.fx-split-panel{display:flex;align-items:stretch;gap:28px;width:100%;}
.fx-split-panel__copy{display:flex;flex-direction:column;justify-content:center;gap:18px;flex:1 1 520px;padding:48px;border-radius:var(--fx-radius);background:linear-gradient(145deg,#0e1743,#080d2b);border:1px solid var(--fx-border);}
.fx-split-panel__visual{display:flex;align-items:center;justify-content:center;flex:1 1 420px;min-height:440px;padding:26px;border-radius:var(--fx-radius);background:radial-gradient(circle at 70% 30%,rgba(47,232,255,.22),transparent 45%),linear-gradient(145deg,#0d1239,#070a24);border:1px solid var(--fx-border);overflow:hidden;}
.fx-split-panel__visual img{width:100%;height:100%;max-height:500px;object-fit:cover;border-radius:8px;}

/* Benefits / metrics */
.fx-benefits{display:flex;flex-wrap:wrap;gap:18px;}
.fx-benefit{display:flex;align-items:flex-start;gap:14px;flex:1 1 300px;padding:24px;border:1px solid var(--fx-border);border-radius:8px;background:rgba(255,255,255,.025);}
.fx-benefit__mark{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:8px;background:linear-gradient(135deg,var(--fx-cyan),var(--fx-green));color:#031020;font-weight:700;}
.fx-benefit p{margin:4px 0 0;}
.fx-metrics{display:flex;flex-wrap:wrap;gap:18px;}
.fx-metric{display:flex;flex-direction:column;gap:4px;flex:1 1 220px;padding:28px;border-radius:8px;border:1px solid var(--fx-border);background:linear-gradient(145deg,rgba(116,87,255,.13),rgba(47,232,255,.045));}
.fx-metric strong{font-size:38px;line-height:50px;background:linear-gradient(110deg,var(--fx-cyan),var(--fx-green));-webkit-background-clip:text;color:transparent;}
.fx-metric span{font-size:16px;line-height:26px;color:var(--fx-muted);}

/* Testimonials */
.fx-testimonials{display:flex;flex-wrap:wrap;gap:22px;width:100%;}
.fx-testimonial{flex:1 1 350px;min-height:320px;}
.fx-stars{font-size:18px;line-height:30px;letter-spacing:3px;color:#8cff9a;}
.fx-quote{font-size:20px;line-height:32px;color:#edf2ff;}
.fx-person{display:flex;align-items:center;gap:14px;margin-top:auto;padding-top:18px;border-top:1px solid var(--fx-border);}
.fx-person img{width:50px;height:50px;border-radius:50%;object-fit:cover;}
.fx-person__meta{display:flex;flex-direction:column;gap:0;}
.fx-person__meta strong{font-size:16px;line-height:26px;}
.fx-person__meta span{font-size:15px;line-height:25px;color:var(--fx-muted);}

/* Pricing */
.fx-pricing{display:flex;align-items:stretch;flex-wrap:wrap;gap:22px;width:100%;}
.fx-price-card{flex:1 1 340px;}
.fx-price-card.is-featured{border-color:rgba(47,232,255,.46);transform:translateY(-8px);box-shadow:0 28px 80px rgba(47,232,255,.08);}
.fx-price-badge{position:absolute;right:15px;top:-15px;padding:5px 15px;border-radius:999px;background:linear-gradient(120deg,var(--fx-cyan),var(--fx-green));color:#031020;font-size:14px;line-height:22px;font-weight:700;z-index:3;}
.fx-price{display:flex;align-items:flex-end;gap:8px;margin:10px 0;}
.fx-price strong{font-size:42px;line-height:54px;}
.fx-price span{color:var(--fx-muted);font-size:16px;line-height:26px;margin-bottom:5px;}
.fx-list{display:flex;flex-direction:column;gap:10px;list-style:none;}
.fx-list li{display:flex;align-items:flex-start;gap:10px;color:#dbe5ff;font-size:16px;line-height:28px;}
.fx-list li:before{content:"✓";color:var(--fx-green);font-weight:700;}

/* FAQ */
.fx-faqs{display:flex;flex-direction:column;gap:12px;width:100%;max-width:900px;margin:0 auto;}
.fx-faq{display:flex;flex-direction:column;border:1px solid var(--fx-border);border-radius:8px;background:rgba(255,255,255,.025);overflow:hidden;}
.fx-faq__q{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:20px 22px;border:0;background:transparent;color:#fff;text-align:left;font-weight:700;font-size:18px;line-height:30px;}
.fx-faq__q span:last-child{font-size:26px;line-height:30px;color:var(--fx-cyan);transition:transform .2s ease;}
.fx-faq.is-open .fx-faq__q span:last-child{transform:rotate(45deg);}
.fx-faq__a{display:block;max-height:0;overflow:hidden;opacity:0;padding:0 22px;transition:max-height .38s ease,opacity .3s ease,padding .38s ease;}
.fx-faq.is-open .fx-faq__a{opacity:1;padding:0 22px 20px;}
.fx-faq__a p{margin:0;}

/* CTA */
.fx-cta{display:flex;position:relative;overflow:hidden;border-radius:8px;padding:58px;background:linear-gradient(120deg,rgba(47,232,255,.14),rgba(116,87,255,.19) 50%,rgba(255,70,204,.12));border:1px solid rgba(255,255,255,.15);}
.fx-cta:after{content:"";position:absolute;width:280px;height:280px;right:-70px;top:-100px;border-radius:50%;background:radial-gradient(circle,rgba(131,255,145,.3),rgba(131,255,145,0) 70%);}
.fx-cta__inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:40px;width:100%;}
.fx-cta__copy{display:flex;flex-direction:column;gap:12px;max-width:720px;}
.fx-cta__copy p{margin:0;}

/* Inner hero */
.fx-page-hero{display:flex;position:relative;padding:170px 0 90px;overflow:hidden;border-bottom:1px solid var(--fx-border);}
.fx-page-hero:after{content:"";position:absolute;width:460px;height:460px;right:-100px;top:-120px;border-radius:50%;background:radial-gradient(circle,rgba(116,87,255,.22),rgba(116,87,255,0) 70%);}
.fx-page-hero__inner{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:48px;width:100%;}
.fx-page-hero__copy{display:flex;flex-direction:column;gap:18px;max-width:760px;}
.fx-page-hero__copy p{font-size:19px;line-height:31px;margin:0;}

/* Contact */
.fx-contact-layout{display:flex;align-items:flex-start;gap:28px;width:100%;}
.fx-contact-info{display:flex;flex-direction:column;gap:18px;flex:1 1 400px;}
.fx-contact-form-wrap{display:flex;flex-direction:column;gap:18px;flex:1 1 620px;padding:34px;border:1px solid var(--fx-border);border-radius:var(--fx-radius);background:linear-gradient(145deg,rgba(16,25,67,.86),rgba(7,11,37,.94));}
.fx-contact-item{display:flex;flex-direction:column;gap:4px;padding:20px;border-radius:8px;background:rgba(255,255,255,.025);border:1px solid var(--fx-border);}
.fx-contact-item span{font-size:14px;line-height:24px;text-transform:uppercase;letter-spacing:1px;color:#7f8bad;font-weight:700;}
.fx-contact-item strong,.fx-contact-item a{font-size:18px;line-height:30px;overflow-wrap:anywhere;}
.fionyx-form{display:flex;flex-wrap:wrap;gap:16px;width:100%;}
.fionyx-form .form-field{display:flex;flex-direction:column;gap:7px;flex:1 1 260px;}
.fionyx-form .form-field--full{flex-basis:100%;}
.fionyx-form label{font-size:15px;line-height:25px;font-weight:700;color:#dce6ff;}
.fionyx-form input,.fionyx-form textarea,.fionyx-form select{
    width:100%;min-height:52px;padding:12px 14px;border-radius:8px;border:1px solid var(--fx-border);
    background:#080e2d;color:#fff;outline:none;transition:border-color .2s ease,box-shadow .2s ease;
}
.fionyx-form textarea{min-height:150px;resize:vertical;}
.fionyx-form input:focus,.fionyx-form textarea:focus,.fionyx-form select:focus{border-color:var(--fx-cyan);box-shadow:0 0 0 3px rgba(47,232,255,.10);}
.fionyx-form .wpcf7-submit{width:auto;min-width:170px;border:0;border-radius:999px;background:linear-gradient(110deg,var(--fx-cyan),var(--fx-green));color:#031020;font-weight:700;cursor:pointer;}
.fionyx-form .wpcf7-list-item{margin:0;}
.fionyx-form .wpcf7-acceptance label{display:flex;align-items:flex-start;gap:8px;font-weight:700;color:var(--fx-muted);}
.fionyx-form .wpcf7-acceptance input{width:18px;height:18px;min-height:18px;margin-top:4px;}
.wpcf7 form .wpcf7-response-output{margin:18px 0 0;padding:12px 14px;border-radius:8px;font-size:15px;line-height:25px;}

/* Footer */
.site-footer{display:flex;flex-direction:column;padding:76px 0 24px;background:#030517;border-top:1px solid var(--fx-border);}
.footer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:50px;padding-bottom:50px;}
.footer-brand{display:flex;flex-direction:column;gap:18px;max-width:390px;}
.footer-brand .site-brand img{width:52px;height:52px;object-fit:contain;border-radius:8px;}
.footer-columns{display:flex;align-items:flex-start;flex-wrap:wrap;gap:52px;flex:1;justify-content:flex-end;}
.footer-col{display:flex;flex-direction:column;gap:12px;min-width:140px;}
.footer-col strong{font-size:16px;line-height:28px;}
.footer-col ul{display:flex;flex-direction:column;gap:8px;list-style:none;}
.footer-col a{color:var(--fx-muted);font-size:15px;line-height:25px;}
.footer-col a:hover{color:#fff;}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px;border-top:1px solid var(--fx-border);font-size:14px;line-height:24px;color:#7f8aaa;}
.fx-socials{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.fx-social{display:flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border-radius:8px;border:1px solid var(--fx-border);font-size:14px;line-height:24px;font-weight:700;color:#cbd5f0;background:rgba(255,255,255,.025);}

/* Utility content */
.fx-richtext{display:flex;flex-direction:column;gap:16px;color:var(--fx-muted);}
.fx-richtext p{margin:0;}
.fx-richtext ul,.fx-richtext ol{display:flex;flex-direction:column;gap:8px;padding-left:22px;}
.fx-gallery{display:flex;flex-wrap:wrap;gap:18px;}
.fx-gallery__item{display:flex;flex:1 1 460px;border-radius:8px;overflow:hidden;border:1px solid var(--fx-border);}
.fx-gallery__item img{width:100%;height:100%;min-height:320px;object-fit:cover;}
.fx-tech{display:flex;flex-wrap:wrap;gap:10px;}
.fx-tech span{padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.045);border:1px solid var(--fx-border);font-size:15px;line-height:25px;font-weight:700;}
.fx-empty{display:flex;flex-direction:column;gap:10px;padding:34px;border:1px dashed rgba(255,255,255,.2);border-radius:8px;color:var(--fx-muted);}
.fx-admin-note{display:flex;padding:16px;border:1px solid rgba(255,207,86,.35);border-radius:8px;background:rgba(255,207,86,.08);color:#ffe29a;font-size:15px;line-height:25px;}
.fx-404{display:flex;align-items:center;justify-content:center;min-height:760px;padding:160px 0 90px;text-align:center;}
.fx-404__inner{display:flex;flex-direction:column;align-items:center;gap:18px;max-width:720px;}
.fx-404__code{font-size:120px;line-height:132px;font-weight:700;letter-spacing:-7px;background:linear-gradient(110deg,var(--fx-cyan),var(--fx-purple),var(--fx-pink));-webkit-background-clip:text;color:transparent;}

/* Reveal */
.fx-reveal{opacity:0;transform:translateY(20px);transition:opacity .55s ease,transform .55s ease;}
.fx-reveal.is-visible{opacity:1;transform:translateY(0);}
@keyframes fxFloat{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-16px) rotate(4deg)}}

/* Tablet */
@media (max-width:1024px){
    h1,.h1{font-size:40px;line-height:52px;}
    h2,.h2{font-size:34px;line-height:46px;}
    .fx-section,.fx-section--tight{padding:70px 0;}
    .fx-hero{min-height:680px;padding-top:142px;}
    .fx-hero__inner{gap:42px;}
    .fx-hero__visual{max-width:420px;}
    .fx-hero__orb{width:360px;height:360px;}
    .site-nav ul{gap:18px;}
    .site-nav a{font-size:15px;line-height:25px;}
    .fx-split-panel{flex-wrap:wrap;}
    .fx-split-panel__copy,.fx-split-panel__visual{flex-basis:100%;}
    .fx-page-hero__inner{align-items:flex-start;flex-direction:column;}
}

/* Mobile */
@media (max-width:767px){
    body{font-size:16px;line-height:26px;}
    h1,.h1{font-size:34px;line-height:44px;}
    h2,.h2{font-size:30px;line-height:40px;}
    h3,.h3{font-size:23px;line-height:33px;}
    h4,.h4{font-size:20px;line-height:30px;}
    .fx-container{padding-left:15px;padding-right:15px;}
    .fx-section,.fx-section--tight{padding:60px 0;}
    .admin-bar .site-header{top:46px;}
    .site-header{padding:10px 0;background:rgba(10,15,43,.94);backdrop-filter:blur(16px);}
    .site-brand img{width:40px;height:40px;}
    .site-brand__name{font-size:19px;line-height:29px;}
    .menu-toggle{display:flex;}
    .header-actions .fx-btn{display:none;}
    .site-nav{
        position:absolute;left:15px;right:15px;top:72px;display:none;padding:18px;
        border:1px solid var(--fx-border);border-radius:8px;background:#11183a;box-shadow:var(--fx-shadow);
    }
    .site-nav.is-open{display:flex;}
    .site-nav ul{width:100%;flex-direction:column;align-items:stretch;gap:4px;}
    .site-nav a{display:flex;width:100%;padding:10px 8px;font-size:16px;line-height:26px;}
    .site-nav a:after{display:none;}
    .fx-hero{min-height:0;padding:126px 0 68px;}
    .fx-hero__inner{flex-direction:column;align-items:stretch;gap:42px;}
    .fx-hero__content p,.fx-page-hero__copy p{font-size:17px;line-height:27px;}
    .fx-hero__visual{max-width:100%;width:100%;}
    .fx-hero__orb{width:300px;height:300px;}
    .fx-stats{gap:10px;}
    .fx-stat{flex:1 1 120px;}
    .fx-trust__inner{flex-direction:column;align-items:flex-start;gap:20px;}
    .fx-logo-list{justify-content:flex-start;}
    .fx-section-heading{flex-direction:column;align-items:flex-start;gap:20px;}
    .fx-service-card{min-height:280px;flex-basis:100%;}
    .fx-process-step{min-height:220px;flex-basis:100%;}
    .fx-project-card{flex-basis:100%;}
    .fx-project-info{flex-direction:column;gap:12px;}
    .fx-split-panel__copy{padding:28px;}
    .fx-split-panel__visual{min-height:320px;}
    .fx-price-card.is-featured{transform:none;}
    .fx-cta{padding:34px 24px;border-radius:8px;}
    .fx-cta__inner{flex-direction:column;align-items:flex-start;}
    .fx-page-hero{padding:138px 0 68px;}
    .fx-contact-layout{flex-direction:column;}
    .fx-contact-info,.fx-contact-form-wrap{width:100%;flex-basis:auto;}
    .fx-contact-form-wrap{padding:24px;}
    .footer-top{flex-direction:column;}
    .footer-columns{justify-content:flex-start;gap:34px;width:100%;}
    .footer-col{flex:1 1 130px;}
    .footer-bottom{flex-direction:column;align-items:flex-start;}
    .fx-404__code{font-size:84px;line-height:94px;}
}
@media (prefers-reduced-motion:reduce){
    *{scroll-behavior:auto!important;animation:none!important;transition:none!important;}
    .fx-reveal{opacity:1;transform:none;}
}

/* =========================
   FIONYX V2 refinements
========================= */
.fx-card,
.fx-service-card,
.fx-process-step,
.fx-benefit,
.fx-metric,
.fx-contact-item,
.fx-contact-form-wrap,
.fx-split-panel__copy,
.fx-split-panel__visual,
.fx-gallery__item,
.fx-project-media,
.fx-faq,
.fx-cta,
.fx-page-hero__visual,
.footer-cta,
.site-nav{
    border-radius:8px;
}

.fx-card,
.fx-service-card,
.fx-process-step,
.fx-benefit,
.fx-metric,
.fx-project-card,
.fx-price-card,
.fx-contact-item,
.fx-social{
    transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease,background .28s ease;
}
.fx-card:hover,
.fx-service-card:hover,
.fx-process-step:hover,
.fx-benefit:hover,
.fx-metric:hover,
.fx-price-card:hover,
.fx-contact-item:hover{
    transform:translateY(-5px);
    border-color:rgba(47,232,255,.34);
    box-shadow:0 20px 50px rgba(4,8,28,.28),0 0 0 1px rgba(47,232,255,.04);
}
.fx-btn{
    font-weight:700;
    background-size:180% 100%;
    transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease,background-position .35s ease,filter .25s ease;
}
.fx-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 38px rgba(47,232,255,.18);
    background-position:100% 0;
    filter:brightness(1.04);
}
.fx-btn:active{transform:translateY(-1px);}

/* Header dropdown + animated hamburger */
.site-nav li{position:relative;}
.site-nav .sub-menu{
    position:absolute;
    left:-18px;
    top:calc(100% + 18px);
    min-width:260px;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:2px;
    padding:10px;
    background:rgba(17,24,58,.98);
    border:1px solid var(--fx-border);
    border-radius:8px;
    box-shadow:var(--fx-shadow);
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
}
.site-nav li:hover>.sub-menu,
.site-nav li:focus-within>.sub-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
.site-nav .sub-menu a{display:flex;width:100%;padding:9px 10px;white-space:nowrap;border-radius:8px;}
.site-nav .sub-menu a:hover{background:rgba(47,232,255,.07);}
.site-nav .sub-menu a:after{display:none;}
.menu-toggle span{transform-origin:center;transition:transform .28s ease,opacity .2s ease,width .25s ease;}
.menu-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.menu-toggle.is-open span:nth-child(2){opacity:0;width:0;}
.menu-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* Page hero now supports backend image fields */
.fx-page-hero__inner{align-items:center;}
.fx-page-hero__copy{flex:1 1 650px;}
.fx-page-hero__visual{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 1 390px;
    width:100%;
    min-height:270px;
    padding:14px;
    border:1px solid var(--fx-border);
    background:linear-gradient(145deg,rgba(25,38,88,.82),rgba(14,20,52,.92));
    overflow:hidden;
    box-shadow:0 24px 60px rgba(3,7,25,.26);
}
.fx-page-hero__visual img{width:100%;height:100%;min-height:240px;max-height:310px;object-fit:cover;border-radius:8px;}

/* Project cards should never stretch into a single full-width giant card. */
.fx-projects{align-items:flex-start;justify-content:flex-start;}
.fx-project-card{width:calc(50% - 12px);flex:0 1 calc(50% - 12px);max-width:590px;}
.fx-project-card:hover{transform:translateY(-4px);}
.fx-project-card:hover .fx-project-media{border-color:rgba(47,232,255,.38);box-shadow:0 20px 45px rgba(4,8,28,.26);}

/* Homepage testimonials - Slick */
.fx-testimonials--slider{display:block;margin-left:-11px;margin-right:-11px;width:calc(100% + 22px);}
.fx-testimonials--slider .slick-track{display:flex;}
.fx-testimonials--slider .slick-slide{height:auto;padding:0 11px;}
.fx-testimonials--slider .slick-slide>div{height:100%;}
.fx-testimonials--slider .fx-testimonial{height:100%;min-height:320px;}
.slick-dots{display:flex!important;align-items:center;justify-content:center;gap:8px;list-style:none;margin-top:28px;}
.slick-dots li{display:flex;}
.slick-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.22);font-size:0;transition:width .25s ease,background .25s ease;}
.slick-dots .slick-active button{width:26px;border-radius:999px;background:linear-gradient(90deg,var(--fx-cyan),var(--fx-green));}
.fx-testimonials--slider .slick-arrow{
    position:absolute;
    z-index:4;
    right:11px;
    top:-82px;
    width:42px;
    height:42px;
    border:1px solid var(--fx-border);
    border-radius:8px;
    background:rgba(255,255,255,.045);
    color:#fff;
    font-size:0;
    transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.fx-testimonials--slider .slick-prev{right:61px;}
.fx-testimonials--slider .slick-prev:before,.fx-testimonials--slider .slick-next:before{font-size:20px;line-height:20px;}
.fx-testimonials--slider .slick-prev:before{content:'←';}
.fx-testimonials--slider .slick-next:before{content:'→';}
.fx-testimonials--slider .slick-arrow:hover{transform:translateY(-2px);border-color:rgba(47,232,255,.4);background:rgba(47,232,255,.08);}

/* Trust bar continuous full-width Slick marquee */
.fx-trust{display:flex;flex-direction:column;padding:24px 0 18px;overflow:hidden;}
.fx-trust__inner{justify-content:center;}
.fx-trust__label{color:#93a0c7;font-weight:700;}
.fx-trust-marquee{width:100%;margin-top:14px;overflow:hidden;}
.fx-logo-list{display:block;width:100%;}
.fx-logo-list .slick-track{display:flex;align-items:center;}
.fx-client-logo{width:190px!important;min-width:190px;padding:0 28px;opacity:.78;filter:grayscale(.25);}
.fx-client-logo span{font-weight:700;}
.fx-client-logo:hover{opacity:1;filter:none;}

/* Testimonial page load more */
.fx-testimonials--load-more{align-items:stretch;}
.fx-testimonial-item{display:flex;flex:1 1 calc(33.333% - 15px);max-width:calc(33.333% - 15px);}
.fx-testimonial-item .fx-testimonial{width:100%;}
.fx-testimonial-item.is-testimonial-hidden{display:none;}
.fx-load-more-wrap{display:flex;align-items:center;justify-content:center;margin-top:6px;}

/* Footer V2 */
.site-footer{padding:54px 0 24px;background:linear-gradient(180deg,#080c25,#06091e);}
.footer-cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:38px;
    padding:34px;
    margin-bottom:54px;
    border:1px solid rgba(255,255,255,.14);
    background:radial-gradient(circle at 85% 0,rgba(47,232,255,.15),transparent 34%),linear-gradient(135deg,rgba(26,39,88,.82),rgba(13,19,51,.95));
}
.footer-cta__copy{display:flex;flex-direction:column;gap:10px;max-width:760px;}
.footer-cta__copy p{margin:0;}
.footer-top{gap:56px;padding-bottom:44px;}
.footer-brand{max-width:360px;}
.footer-contact-inline{display:flex;flex-direction:column;gap:4px;}
.footer-contact-inline a{color:#dce5ff;font-size:15px;line-height:25px;}
.footer-contact-inline a:hover{color:var(--fx-cyan);}
.footer-columns{gap:44px;}
.footer-col{min-width:150px;}
.footer-col--services{min-width:220px;}
.footer-col>strong{color:#fff;font-weight:700;}
.footer-col li{color:var(--fx-muted);font-size:15px;line-height:25px;list-style:none;}
.footer-col a{transition:color .2s ease,transform .2s ease;}
.footer-col a:hover{display:inline-flex;color:var(--fx-cyan);transform:translateX(3px);}
.footer-legal{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:18px;}
.footer-legal a{color:#9ba7c9;transition:color .2s ease;}
.footer-legal a:hover{color:#fff;}
.fx-social{font-weight:700;}
.fx-social:hover{transform:translateY(-3px);border-color:rgba(47,232,255,.34);background:rgba(47,232,255,.06);}

/* Smooth FAQ opening */
.fx-faq{transition:border-color .25s ease,background .25s ease;}
.fx-faq.is-open{border-color:rgba(47,232,255,.3);background:rgba(47,232,255,.035);}
.fx-faq__a{will-change:max-height;}

/* Responsive navigation starts earlier so the header never crushes. */
@media (max-width:1180px){
    .menu-toggle{display:flex;}
    .header-actions .fx-btn{display:none;}
    .site-nav{
        position:absolute;
        left:15px;
        right:15px;
        top:76px;
        display:flex;
        padding:14px;
        border:1px solid var(--fx-border);
        background:#11183a;
        box-shadow:var(--fx-shadow);
        opacity:0;
        visibility:hidden;
        transform:translateY(-10px);
        pointer-events:none;
        transition:opacity .25s ease,transform .25s ease,visibility .25s ease;
    }
    .site-nav.is-open{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;}
    .site-nav>ul{width:100%;flex-direction:column;align-items:stretch;gap:2px;}
    .site-nav>ul>li>a{display:flex;width:100%;padding:10px 9px;}
    .site-nav a:after{display:none;}
    .site-nav .sub-menu{
        position:static;
        min-width:0;
        opacity:1;
        visibility:visible;
        transform:none;
        box-shadow:none;
        border:0;
        border-left:1px solid rgba(47,232,255,.18);
        background:transparent;
        margin:2px 0 6px 10px;
        padding:2px 0 2px 10px;
    }
    .site-nav .sub-menu a{padding:8px 10px;color:#aebcde;font-size:14px;line-height:24px;}
}

@media (max-width:1024px){
    .fx-project-card{width:calc(50% - 12px);flex-basis:calc(50% - 12px);}
    .fx-testimonial-item{flex-basis:calc(50% - 11px);max-width:calc(50% - 11px);}
    .fx-page-hero__inner{align-items:center;flex-direction:row;}
    .fx-page-hero__visual{flex-basis:330px;}
    .footer-top{flex-wrap:wrap;}
    .footer-brand{max-width:none;flex:1 1 100%;}
    .footer-columns{justify-content:flex-start;width:100%;}
}

@media (max-width:767px){
    .fx-section,.fx-section--tight{padding:60px 0;}
    .fx-container{padding-left:15px;padding-right:15px;}
    .site-nav{left:15px;right:15px;top:70px;max-height:560px;overflow:auto;}
    .fx-hero{padding:118px 0 60px;}
    .fx-page-hero{padding:122px 0 60px;}
    .fx-page-hero__inner{flex-direction:column;align-items:stretch;gap:30px;}
    .fx-page-hero__copy{flex-basis:auto;max-width:100%;}
    .fx-page-hero__visual{flex-basis:auto;min-height:230px;}
    .fx-page-hero__visual img{min-height:210px;max-height:260px;}
    .fx-project-card{width:100%;flex:1 1 100%;max-width:100%;}
    .fx-project-info{flex-direction:column;gap:12px;}
    .fx-testimonials--slider .slick-arrow{display:none!important;}
    .fx-testimonial-item{flex:1 1 100%;max-width:100%;}
    .footer-cta{flex-direction:column;align-items:flex-start;padding:26px;}
    .footer-top{gap:36px;}
    .footer-columns{gap:28px;}
    .footer-col,.footer-col--services{flex:1 1 calc(50% - 14px);min-width:0;}
    .footer-bottom{align-items:flex-start;}
    .footer-legal{justify-content:flex-start;gap:12px 16px;}
}

@media (max-width:480px){
    .fx-hero__content,.fx-copy{max-width:100%;}
    .fx-actions{width:100%;}
    .fx-actions .fx-btn{width:100%;}
    .fx-stats{flex-direction:column;}
    .fx-stat{width:100%;}
    .fx-card{padding:24px;}
    .fx-split-panel__copy{padding:24px;}
    .fx-contact-form-wrap{padding:22px;}
    .footer-col,.footer-col--services{flex-basis:100%;}
    .fx-client-logo{width:160px!important;min-width:160px;padding:0 20px;}
}

/* Legal pages */
.fx-legal-hero .fx-page-hero__copy{max-width:850px;}
.fx-legal-layout{display:flex;flex-direction:column;gap:28px;max-width:900px;margin:0 auto;}
.fx-legal-updated{display:flex;width:max-content;padding:7px 12px;border:1px solid var(--fx-border);border-radius:999px;color:#aebbdc;font-size:14px;line-height:24px;}
.fx-legal-content{gap:18px;}
.fx-legal-content h2{margin-top:18px;font-size:28px;line-height:40px;}
.fx-legal-content h3{margin-top:12px;font-size:22px;line-height:34px;}
.fx-legal-content a{color:var(--fx-cyan);text-decoration:underline;}

@media (min-width:1181px){
    .site-nav li.menu-item-has-children:before{
        content:"";
        position:absolute;
        left:0;
        right:0;
        top:100%;
        height:20px;
    }
}

/* Graceful layout if Slick is temporarily unavailable. */
.fx-testimonials--slider:not(.slick-initialized){display:flex;flex-wrap:wrap;gap:22px;margin-left:0;margin-right:0;width:100%;}
.fx-logo-list:not(.slick-initialized){display:flex;align-items:center;gap:20px;overflow:hidden;}
.fx-logo-list.slick-initialized{display:block;}
.fionyx-form .wpcf7-acceptance a{color:var(--fx-cyan);text-decoration:underline;}

/* Slightly brighter V2 surfaces while keeping the dark FIONYX look. */
.fx-card{background:linear-gradient(145deg,rgba(24,36,88,.90),rgba(12,18,52,.94));}
.fx-split-panel__copy{background:linear-gradient(145deg,#151f4a,#101735);}
.fx-split-panel__visual{background:radial-gradient(circle at 70% 30%,rgba(47,232,255,.22),transparent 45%),linear-gradient(145deg,#151e49,#0e1434);}
.fx-contact-form-wrap{background:linear-gradient(145deg,rgba(24,36,84,.90),rgba(12,18,50,.95));}

.fx-price-card.is-featured:hover{transform:translateY(-10px);}
@media (max-width:767px){
    .fx-legal-content h2{font-size:26px;line-height:36px;}
    .fx-legal-content h3{font-size:20px;line-height:30px;}
}


/* =========================
   FIONYX V3 — light-first visual system
========================= */
:root{
    --fx-bg:#f7f9ff;
    --fx-bg-soft:#eef3ff;
    --fx-panel:#ffffff;
    --fx-panel-2:#f2f6ff;
    --fx-text:#111936;
    --fx-muted:#66718e;
    --fx-border:rgba(17,25,54,.12);
    --fx-shadow:0 18px 46px rgba(28,42,84,.10);
}
body{background:var(--fx-bg);color:var(--fx-text);}
h1,h2,h3,h4,h5,h6{color:var(--fx-text);}
p{color:var(--fx-muted);}
.fx-section--soft{background:linear-gradient(180deg,#f0f5ff,#f8faff);}
.fx-section--dark{background:linear-gradient(145deg,#0d1435,#10183f 58%,#15143d);color:#fff;}
.fx-section--dark h1,.fx-section--dark h2,.fx-section--dark h3,.fx-section--dark h4,.fx-section--dark strong{color:#fff;}
.fx-section--dark p,.fx-section--dark .fx-muted{color:#b9c5e3;}
.fx-section--dark .fx-link{color:#fff;}
.fx-section--dark .fx-card{background:linear-gradient(145deg,rgba(24,36,88,.92),rgba(12,18,52,.96));border-color:rgba(255,255,255,.13);box-shadow:0 22px 55px rgba(0,0,0,.20);}
.fx-section--dark .fx-step-number{-webkit-text-stroke-color:rgba(255,255,255,.28);}

/* Header on the new light surfaces. */
.site-header{background:rgba(247,249,255,.78);backdrop-filter:blur(14px);}
.site-header.is-scrolled{background:rgba(255,255,255,.95);border-color:rgba(17,25,54,.10);box-shadow:0 12px 35px rgba(30,45,85,.09);}
.site-brand__name{color:#111936;}
.site-nav a{color:#25304e;}
.site-nav>ul>li>a{display:flex;align-items:center;gap:7px;}
.site-nav>ul>li>a:before{content:"";position:absolute;left:0;right:100%;bottom:-6px;height:2px;background:linear-gradient(90deg,var(--fx-cyan),var(--fx-purple),var(--fx-pink));transition:right .2s ease;}
.site-nav>ul>li>a:after{display:none;}
.site-nav>ul>li.menu-item-has-children>a:after{content:"";display:block;position:static;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s ease;border-radius:0;background:none;}
.site-nav>ul>li.menu-item-has-children:hover>a:after{transform:rotate(225deg) translate(-1px,-1px);}
.site-nav>ul>li>a:hover:before,.site-nav>ul>li.current-menu-item>a:before,.site-nav>ul>li.current-menu-ancestor>a:before{right:0;}
.site-nav .sub-menu{background:#fff;border-color:rgba(17,25,54,.10);box-shadow:0 20px 50px rgba(28,42,84,.14);}
.site-nav .sub-menu a{color:#34405f;}
.site-nav .sub-menu a:hover{background:#eef7ff;color:#111936;}
.site-nav .sub-menu a:before,.site-nav .sub-menu a:after{display:none!important;}
.menu-toggle{background:#fff;border-color:rgba(17,25,54,.12);}
.menu-toggle span{background:#111936;}

/* Light hero + cards. */
.fx-hero{background:radial-gradient(circle at 82% 14%,rgba(47,232,255,.17),transparent 28%),radial-gradient(circle at 8% 85%,rgba(255,70,204,.10),transparent 26%),linear-gradient(180deg,#fbfdff,#f3f7ff);}
.fx-hero:before{background:radial-gradient(circle,rgba(47,232,255,.16),rgba(47,232,255,0) 70%);}
.fx-hero:after{background:radial-gradient(circle,rgba(116,87,255,.12),rgba(116,87,255,0) 70%);}
.fx-hero__image,.fx-page-hero__visual{background:#fff;border-color:rgba(17,25,54,.10);box-shadow:0 30px 70px rgba(35,53,104,.13);}
.fx-eyebrow{background:#fff;border-color:rgba(17,25,54,.10);color:#34405f;}
.fx-card{background:#fff;border-color:rgba(17,25,54,.11);box-shadow:var(--fx-shadow);}
.fx-card:hover{border-color:rgba(47,168,210,.34);box-shadow:0 22px 52px rgba(28,42,84,.14);}
.fx-btn--secondary{background:#fff;border-color:rgba(17,25,54,.13);color:#111936;}
.fx-btn--secondary:hover{background:#edf7ff;border-color:rgba(47,168,210,.34);}
.fx-link{color:#152040;}
.fx-stat{background:#fff;border-color:rgba(17,25,54,.12);box-shadow:0 10px 28px rgba(34,51,98,.06);}
.fx-stat strong{color:#111936;}
.fx-stat span{color:#68738f;}
.fx-service-meta{border-color:rgba(17,25,54,.10);}
.fx-step-number{-webkit-text-stroke:1px rgba(17,25,54,.22);}
.fx-project-media{background:#eaf0fb;border-color:rgba(17,25,54,.10);}
.fx-tag{color:#4d5976;background:#f3f6fc;border-color:rgba(17,25,54,.10);}
.fx-filter-btn{background:#fff;color:#53607d;border-color:rgba(17,25,54,.12);}
.fx-benefit{background:#fff;border-color:rgba(17,25,54,.10);}
.fx-metric{background:linear-gradient(145deg,#fff,#f1f6ff);border-color:rgba(17,25,54,.10);}
.fx-list li{color:#374360;}
.fx-price-card.is-featured{border-color:rgba(47,168,210,.38);box-shadow:0 26px 65px rgba(31,66,130,.13);}

/* Trust marquee remains a strong dark brand band. */
.fx-trust{background:#0e1537;border-color:rgba(255,255,255,.10);padding:26px 0 22px;}
.fx-trust__label{color:#aebbe0;}
.fx-trust-marquee{overflow:hidden;}
.fx-logo-list .slick-list{overflow:hidden;}
.fx-logo-list .slick-track{display:flex!important;align-items:center;min-width:max-content;}
.fx-client-logo{opacity:.82;filter:grayscale(.15);}
.fx-client-logo span{color:#d9e3ff;}
.fx-client-logo:hover{opacity:1;}

/* Testimonials: actual gaps, content-height cards, no giant empty bottoms. */
.fx-testimonial{min-height:0;}
.fx-testimonials--slider{display:block;width:100%;margin:0;}
.fx-testimonials--slider .slick-list{margin:0 -10px;overflow:hidden;}
.fx-testimonials--slider .slick-track{display:flex;align-items:flex-start;}
.fx-testimonials--slider .slick-slide{height:auto;padding:0 10px;}
.fx-testimonials--slider .slick-slide>div{height:auto;}
.fx-testimonials--slider .fx-testimonial{height:auto;min-height:0;}
.fx-section--dark .fx-testimonial{background:linear-gradient(145deg,#17224d,#111941);}
.fx-section--dark .fx-quote{color:#edf3ff;}
.fx-section--dark .fx-person{border-color:rgba(255,255,255,.12);}
.fx-section--dark .fx-person__meta span{color:#b7c3e2;}
.slick-dots button{background:rgba(17,25,54,.20);}
.fx-section--dark .slick-dots button{background:rgba(255,255,255,.25);}

/* FAQ: more breathing room and smooth inner content. */
.fx-faq{background:#fff;border-color:rgba(17,25,54,.11);}
.fx-faq__q{padding:22px 24px;color:#17203d;}
.fx-faq__a{padding:0;opacity:0;max-height:0;overflow:hidden;transition:max-height .42s ease,opacity .28s ease;}
.fx-faq__a-inner{display:flex;flex-direction:column;padding:0 24px 26px;}
.fx-faq__a-inner p{margin:0;line-height:30px;}
.fx-faq.is-open{background:#fbfdff;border-color:rgba(47,168,210,.30);}
.fx-faq.is-open .fx-faq__a{opacity:1;padding:0;}

/* Split panels and CTA provide controlled dark contrast. */
.fx-split-panel__copy{background:#fff;border-color:rgba(17,25,54,.10);}
.fx-split-panel__visual{background:radial-gradient(circle at 70% 30%,rgba(47,232,255,.20),transparent 45%),linear-gradient(145deg,#eef5ff,#e7edff);border-color:rgba(17,25,54,.10);}
.fx-section--dark .fx-split-panel__copy{background:linear-gradient(145deg,#151f4a,#101735);border-color:rgba(255,255,255,.13);}
.fx-section--dark .fx-split-panel__visual{background:radial-gradient(circle at 70% 30%,rgba(47,232,255,.22),transparent 45%),linear-gradient(145deg,#151e49,#0e1434);border-color:rgba(255,255,255,.13);}
.fx-section--dark .fx-benefit{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.13);}
.fx-cta{background:radial-gradient(circle at 90% 5%,rgba(47,232,255,.18),transparent 30%),linear-gradient(135deg,#111a43,#191342);border-color:rgba(255,255,255,.14);box-shadow:0 24px 65px rgba(22,32,76,.18);}
.fx-cta h2,.fx-cta strong{color:#fff;}
.fx-cta p{color:#bec9e7;}

/* Page heroes / contact / legal are now light. */
.fx-page-hero{background:radial-gradient(circle at 86% 10%,rgba(116,87,255,.12),transparent 30%),linear-gradient(180deg,#fbfdff,#f3f7ff);border-color:rgba(17,25,54,.10);}
.fx-contact-form-wrap{background:#fff;border-color:rgba(17,25,54,.11);box-shadow:var(--fx-shadow);}
.fx-contact-item{background:#fff;border-color:rgba(17,25,54,.10);}
.fx-contact-item span{color:#73809e;}
.fionyx-form label{color:#34405f;}
.fionyx-form input,.fionyx-form textarea,.fionyx-form select{background:#f8faff;color:#111936;border-color:rgba(17,25,54,.13);}
.fionyx-form input::placeholder,.fionyx-form textarea::placeholder{color:#8a94ac;}
.fx-legal-updated{color:#68738f;border-color:rgba(17,25,54,.12);background:#fff;}
.fx-empty{border-color:rgba(17,25,54,.18);background:#fff;color:#68738f;}
.fx-admin-note{color:#6c5110;}

/* Team section */
.fx-team-grid{display:flex;flex-wrap:wrap;gap:22px;width:100%;}
.fx-team-card{display:flex;flex-direction:column;flex:1 1 280px;max-width:calc(33.333% - 15px);min-width:0;background:#fff;border:1px solid rgba(17,25,54,.10);border-radius:8px;overflow:hidden;box-shadow:var(--fx-shadow);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;}
.fx-team-card:hover{transform:translateY(-6px);border-color:rgba(47,168,210,.30);box-shadow:0 24px 55px rgba(28,42,84,.14);}
.fx-team-card__media{display:flex;width:100%;aspect-ratio:4/3;background:#edf3ff;overflow:hidden;}
.fx-team-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease;}
.fx-team-card:hover .fx-team-card__media img{transform:scale(1.035);}
.fx-team-card__body{display:flex;flex-direction:column;gap:14px;padding:24px;}
.fx-team-card__body>div{display:flex;flex-direction:column;gap:2px;}
.fx-team-card__body span{color:#66718e;font-size:15px;line-height:25px;}
.fx-team-card__body p{margin:0;}

/* Blog listing */
.fx-blog-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px;}
.fx-blog-grid{display:flex;flex-wrap:wrap;gap:24px;width:100%;}
.fx-blog-card{display:flex;flex-direction:column;flex:1 1 calc(33.333% - 16px);max-width:calc(33.333% - 16px);min-width:0;background:#fff;border:1px solid rgba(17,25,54,.10);border-radius:8px;overflow:hidden;box-shadow:var(--fx-shadow);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;}
.fx-blog-card:hover{transform:translateY(-6px);border-color:rgba(47,168,210,.30);box-shadow:0 24px 55px rgba(28,42,84,.14);}
.fx-blog-card--featured{flex-basis:calc(66.666% - 8px);max-width:calc(66.666% - 8px);}
.fx-blog-card__media{display:flex;width:100%;aspect-ratio:16/9;overflow:hidden;background:#edf3ff;}
.fx-blog-card--featured .fx-blog-card__media{aspect-ratio:16/8;}
.fx-blog-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease;}
.fx-blog-card:hover .fx-blog-card__media img{transform:scale(1.035);}
.fx-blog-card__body{display:flex;flex-direction:column;gap:13px;padding:24px;flex:1;}
.fx-blog-card__body p{margin:0;}
.fx-blog-card__body .fx-link{margin-top:auto;padding-top:4px;}
.fx-blog-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;color:#6e7a96;font-size:14px;line-height:24px;font-weight:700;}
.fx-blog-meta span+span{position:relative;padding-left:14px;}
.fx-blog-meta span+span:before{content:"";position:absolute;left:0;top:10px;width:4px;height:4px;border-radius:50%;background:var(--fx-cyan);}
.fx-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:10px;}
.fx-pagination .page-numbers{display:flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border-radius:8px;background:#fff;border:1px solid rgba(17,25,54,.11);color:#44506c;font-size:15px;line-height:25px;font-weight:700;}
.fx-pagination .page-numbers.current,.fx-pagination .page-numbers:hover{background:linear-gradient(120deg,var(--fx-cyan),var(--fx-green));border-color:transparent;color:#031020;}

/* Blog single */
.fx-post-hero{display:flex;padding:170px 0 64px;background:radial-gradient(circle at 86% 10%,rgba(47,232,255,.14),transparent 26%),linear-gradient(180deg,#fbfdff,#f4f7ff);}
.fx-post-hero__inner{display:flex;flex-direction:column;gap:18px;max-width:880px;margin:0 auto;text-align:center;align-items:center;}
.fx-post-hero__inner h1{max-width:850px;}
.fx-post-hero__inner p{font-size:19px;line-height:31px;max-width:760px;margin:0;}
.fx-post-cover{display:flex;margin-top:0;border-radius:8px;overflow:hidden;border:1px solid rgba(17,25,54,.10);box-shadow:0 30px 70px rgba(35,53,104,.13);background:#edf3ff;}
.fx-post-cover img{width:100%;max-height:620px;object-fit:cover;}
.fx-post-layout{display:flex;align-items:flex-start;gap:64px;max-width:1040px;margin:0 auto;}
.fx-post-aside{display:flex;position:sticky;top:110px;flex-direction:column;gap:12px;flex:0 0 190px;}
.fx-post-aside__line{height:1px;background:rgba(17,25,54,.12);width:100%;}
.fx-post-aside__label{font-size:13px;line-height:23px;text-transform:uppercase;letter-spacing:2px;color:#78839e;font-weight:700;}
.fx-post-content{display:flex;flex-direction:column;gap:18px;flex:1;min-width:0;color:#4f5c78;}
.fx-post-content>*{max-width:100%;}
.fx-post-content p{margin:0;color:#4f5c78;}
.fx-post-content h2{font-size:32px;line-height:44px;margin-top:22px;}
.fx-post-content h3{font-size:25px;line-height:37px;margin-top:14px;}
.fx-post-content ul,.fx-post-content ol{display:flex;flex-direction:column;gap:8px;padding-left:22px;}
.fx-post-content blockquote{margin:14px 0;padding:22px 24px;border-left:4px solid var(--fx-cyan);background:#eef6ff;border-radius:0 8px 8px 0;color:#243250;}
.fx-post-content img{border-radius:8px;}
.fx-post-content a{color:#315fc9;text-decoration:underline;}

/* Footer stays dark for contrast; duplicate CTA has been removed in V3. */
.site-footer{background:linear-gradient(180deg,#0a102d,#06091e);border-color:rgba(255,255,255,.10);padding-top:64px;}
.site-footer .site-brand__name,.site-footer strong{color:#fff;}
.site-footer p,.site-footer .footer-col li{color:#aeb9d8;}
.site-footer .footer-col a,.site-footer .footer-contact-inline a{color:#b8c3df;}
.site-footer .footer-bottom{border-color:rgba(255,255,255,.10);color:#8490b0;}
.site-footer .footer-legal a{color:#9eabc9;}
.site-footer .fx-social{color:#d5def5;border-color:rgba(255,255,255,.13);background:rgba(255,255,255,.04);}

/* Responsive hardening */
@media (max-width:1180px){
    .site-nav{background:#fff;border-color:rgba(17,25,54,.11);box-shadow:0 22px 55px rgba(28,42,84,.16);}
    .site-nav .sub-menu{background:#f6f9ff;border-left-color:rgba(47,168,210,.22);}
    .site-nav .sub-menu a{color:#56627e;}
    .site-nav>ul>li>a:before{display:none;}
    .site-nav>ul>li.menu-item-has-children>a:after{margin-left:auto;}
}
@media (max-width:1024px){
    .fx-section,.fx-section--tight{padding:80px 0;}
    .fx-blog-card,.fx-blog-card--featured{flex-basis:calc(50% - 12px);max-width:calc(50% - 12px);}
    .fx-team-card{max-width:calc(50% - 11px);}
    .fx-post-layout{gap:38px;}
}
@media (max-width:767px){
    .fx-section,.fx-section--tight{padding:60px 0;}
    .site-header{background:rgba(255,255,255,.96);}
    .fx-blog-card,.fx-blog-card--featured{flex:1 1 100%;max-width:100%;}
    .fx-team-card{flex:1 1 100%;max-width:100%;}
    .fx-blog-card--featured .fx-blog-card__media{aspect-ratio:16/9;}
    .fx-post-hero{padding:126px 0 48px;}
    .fx-post-layout{flex-direction:column;gap:30px;}
    .fx-post-aside{position:static;flex-basis:auto;width:100%;}
    .fx-post-content h2{font-size:28px;line-height:38px;}
    .fx-post-content h3{font-size:23px;line-height:33px;}
    .fx-faq__q{padding:20px;}
    .fx-faq__a-inner{padding:0 20px 22px;}
    .fx-testimonials--slider .slick-list{margin:0;}
    .fx-testimonials--slider .slick-slide{padding:0;}
}

/* V3 light-surface readability details */
.fx-quote{color:#2b3654;}
.fx-stars{color:#159b63;}
.fx-kicker{color:#0b95aa;}
.fx-section--dark .fx-kicker{color:var(--fx-cyan);}
.fx-section--dark .fx-stars{color:#8cff9a;}
.fx-tech span{background:#f3f6fc;border-color:rgba(17,25,54,.10);color:#44506c;}
.fx-legal-content a,.fionyx-form .wpcf7-acceptance a{color:#315fc9;}
.fx-project-info h3 a,.fx-blog-card h3 a{color:inherit;}

/* =========================
   FIONYX V4 — refined contrast, testimonials, team and editorial system
========================= */
:root{
    --fx-bg:#e4e9f2;
    --fx-bg-soft:#dbe2ed;
    --fx-panel:#eef1f6;
    --fx-panel-2:#e3e8f1;
    --fx-text:#111936;
    --fx-muted:#5d6983;
    --fx-border:rgba(17,25,54,.15);
    --fx-shadow:0 18px 46px rgba(24,35,71,.13);
}
body{background:var(--fx-bg);}
.fx-section--soft{background:linear-gradient(180deg,#dbe2ed,#e5eaf2);}
.site-header{background:rgba(228,233,242,.90);}
.site-header.is-scrolled{background:rgba(236,239,245,.97);border-color:rgba(17,25,54,.13);box-shadow:0 12px 35px rgba(25,36,72,.12);}
.fx-hero{background:radial-gradient(circle at 82% 14%,rgba(47,232,255,.14),transparent 28%),radial-gradient(circle at 8% 85%,rgba(255,70,204,.08),transparent 26%),linear-gradient(180deg,#edf0f6,#dfe5ee);}
.fx-page-hero{background:radial-gradient(circle at 86% 10%,rgba(116,87,255,.10),transparent 30%),linear-gradient(180deg,#eceff5,#dfe5ee);border-color:rgba(17,25,54,.13);}
.fx-card,.fx-stat,.fx-benefit,.fx-contact-item,.fx-faq,.fx-blog-card,.fx-team-card,.fx-split-panel__copy{background:#edf0f5;border-color:rgba(17,25,54,.14);}
.fx-btn--secondary,.fx-eyebrow,.fx-filter-btn,.fx-pagination .page-numbers{background:#e9edf4;border-color:rgba(17,25,54,.14);}
.fx-btn--secondary:hover,.site-nav .sub-menu a:hover{background:#dde6ef;}
.fx-metric{background:linear-gradient(145deg,#eef1f6,#dfe6f0);border-color:rgba(17,25,54,.14);}
.fx-page-hero__visual,.fx-hero__image{background:#e9edf4;border-color:rgba(17,25,54,.13);box-shadow:0 30px 70px rgba(28,39,79,.16);}
.fx-contact-form-wrap{background:#edf0f5;border-color:rgba(17,25,54,.14);box-shadow:var(--fx-shadow);}
.fionyx-form input,.fionyx-form textarea,.fionyx-form select{background:#e4e9f2;border-color:rgba(17,25,54,.16);}
.fx-faq.is-open{background:#e8edf4;border-color:rgba(32,133,174,.34);}
.fx-legal-updated,.fx-empty{background:#edf0f5;border-color:rgba(17,25,54,.15);}
.site-nav .sub-menu{background:#edf0f5;border-color:rgba(17,25,54,.13);}
@media (max-width:1180px){
    .site-nav{background:#edf0f5;border-color:rgba(17,25,54,.14);}
    .site-nav .sub-menu{background:#e4e9f2;}
}
@media (max-width:767px){
    .site-header{background:rgba(228,233,242,.97);}
}

/* Testimonial cards: deliberate two-part layout with consistent height. */
.fx-testimonial{
    display:flex;
    flex-direction:column;
    gap:0;
    width:100%;
    min-height:390px!important;
    padding:0;
    overflow:visible;
}
.fx-testimonial__top{
    display:flex;
    flex-direction:column;
    gap:12px;
    flex:1 1 auto;
    min-height:255px;
    padding:28px 28px 24px;
    border-radius:8px 8px 0 0;
}
.fx-testimonial__bottom{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    min-height:104px;
    padding:20px 28px;
    border-top:1px solid rgba(17,25,54,.12);
    border-radius:0 0 8px 8px;
    background:rgba(17,25,54,.035);
}
.fx-testimonial .fx-person{margin:0;padding:0;border:0;}
.fx-testimonial__mark{font-size:54px;line-height:42px;font-weight:700;color:rgba(65,83,135,.18);}
.fx-section--dark .fx-testimonial__bottom{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.035);}
.fx-section--dark .fx-testimonial__mark{color:rgba(255,255,255,.16);}
.fx-testimonials--slider{display:block;width:100%;margin:0;overflow:hidden;}
.fx-testimonials--slider .slick-list{margin:0!important;padding:0!important;overflow:hidden;}
.fx-testimonials--slider .slick-track{display:flex!important;align-items:stretch!important;}
.fx-testimonials--slider .slick-slide{display:flex!important;height:auto!important;padding:0 10px!important;}
.fx-testimonials--slider .slick-slide>div{display:flex;width:100%;height:100%;}
.fx-testimonials--slider .fx-testimonial{height:100%;max-width:none;flex:none;}
.fx-testimonials--slider .slick-dots{margin-top:26px;}
.fx-testimonial-item .fx-testimonial{height:100%;}
@media (max-width:767px){
    .fx-testimonial{min-height:360px!important;}
    .fx-testimonial__top{min-height:230px;padding:24px 22px 20px;}
    .fx-testimonial__bottom{min-height:96px;padding:18px 22px;}
    .fx-testimonials--slider .slick-slide{padding:0!important;}
}

/* Project cards now open the real website directly; no project single pages. */
.fx-project-media__visit{
    position:absolute;
    right:16px;
    bottom:16px;
    display:flex;
    align-items:center;
    gap:7px;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(8,14,39,.86);
    color:#fff;
    font-size:14px;
    line-height:22px;
    font-weight:700;
    opacity:0;
    transform:translateY(6px);
    transition:opacity .25s ease,transform .25s ease;
}
.fx-project-card:hover .fx-project-media__visit{opacity:1;transform:translateY(0);}

/* Team cards: stronger composition, image treatment and useful hierarchy. */
.fx-team-grid{display:flex;flex-wrap:wrap;gap:24px;width:100%;align-items:stretch;}
.fx-team-card{
    position:relative;
    display:flex;
    flex-direction:column;
    flex:1 1 330px;
    max-width:390px;
    min-width:0;
    background:#edf0f5;
    border:1px solid rgba(17,25,54,.14);
    border-radius:8px;
    overflow:visible;
    box-shadow:0 18px 42px rgba(24,35,71,.12);
    transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.fx-team-card:before{
    content:"";
    position:absolute;
    left:18px;
    right:18px;
    top:-1px;
    height:3px;
    border-radius:999px;
    background:linear-gradient(90deg,var(--fx-cyan),var(--fx-purple),var(--fx-pink));
    opacity:.75;
    transition:opacity .3s ease,left .3s ease,right .3s ease;
}
.fx-team-card:hover{transform:translateY(-8px);border-color:rgba(32,133,174,.36);box-shadow:0 28px 60px rgba(23,35,78,.18);}
.fx-team-card:hover:before{left:8px;right:8px;opacity:1;}
.fx-team-card__media{
    position:relative;
    display:flex;
    width:100%;
    height:330px;
    border-radius:8px 8px 0 0;
    background:linear-gradient(145deg,#d6dfec,#e7ebf2);
    overflow:hidden;
}
.fx-team-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease,filter .4s ease;}
.fx-team-card__media-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 54%,rgba(7,13,37,.68));pointer-events:none;}
.fx-team-card:hover .fx-team-card__media img{transform:scale(1.045);filter:saturate(1.04) contrast(1.02);}
.fx-team-card__role{
    position:absolute;
    left:18px;
    bottom:18px;
    display:inline-flex;
    padding:7px 11px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:999px;
    background:rgba(8,14,39,.72);
    backdrop-filter:blur(10px);
    color:#fff;
    font-size:14px;
    line-height:22px;
    font-weight:700;
}
.fx-team-card__number{
    position:absolute;
    right:16px;
    top:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:8px;
    background:rgba(238,243,250,.88);
    backdrop-filter:blur(10px);
    color:#1b2544;
    font-size:14px;
    line-height:22px;
    font-weight:700;
    border:1px solid rgba(255,255,255,.36);
}
.fx-team-card__body{display:flex;flex-direction:column;gap:18px;flex:1;padding:26px;}
.fx-team-card__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;}
.fx-team-card__heading>div{display:flex;flex-direction:column;gap:3px;}
.fx-team-card__label{font-size:13px!important;line-height:21px!important;text-transform:uppercase;letter-spacing:1.6px;color:#69758f!important;font-weight:700;}
.fx-team-card__body h3{font-size:28px;line-height:40px;}
.fx-team-card__body p{margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
.fx-team-card__social{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 42px;
    width:42px;
    height:42px;
    border-radius:8px;
    background:#dce4ef;
    border:1px solid rgba(17,25,54,.12);
    color:#18213e;
    font-size:15px;
    line-height:23px;
    font-weight:700;
    transition:transform .25s ease,background .25s ease,color .25s ease;
}
.fx-team-card__social:hover{transform:translateY(-2px) rotate(-4deg);background:#18213e;color:#fff;}
.fx-team-card__footer{display:flex;align-items:center;gap:12px;margin-top:auto;padding-top:17px;border-top:1px solid rgba(17,25,54,.10);}
.fx-team-card__footer span:first-child{font-size:14px;line-height:22px;color:#56627d;font-weight:700;white-space:nowrap;}
.fx-team-card__line{display:block;height:1px;flex:1;background:linear-gradient(90deg,rgba(17,25,54,.18),transparent);}
@media (max-width:1024px){
    .fx-team-card{max-width:calc(50% - 12px);}
}
@media (max-width:767px){
    .fx-team-card{flex:1 1 100%;max-width:100%;}
    .fx-team-card__media{height:300px;}
}

/* Blog listing refinements. */
.fx-blog-card{background:#edf0f5;border-color:rgba(17,25,54,.14);box-shadow:0 16px 40px rgba(24,35,71,.11);}
.fx-blog-card:hover{border-color:rgba(32,133,174,.34);box-shadow:0 26px 56px rgba(23,35,78,.17);}
.fx-blog-card__media{background:#dbe2ed;}
.fx-blog-card__body{padding:26px;}
.fx-blog-card__body h3{font-size:25px;line-height:36px;}
.fx-blog-card__body p{color:#5d6983;}

/* Blog single: editorial hero, overlapping cover, sticky details and article surface. */
.fx-reading-progress{position:fixed;z-index:1200;left:0;right:0;top:0;height:3px;pointer-events:none;}
.admin-bar .fx-reading-progress{top:32px;}
.fx-reading-progress span{display:block;width:0;height:3px;background:linear-gradient(90deg,var(--fx-cyan),var(--fx-purple),var(--fx-pink));transition:width .08s linear;}
.fx-post-hero{
    display:flex;
    padding:168px 0 104px;
    background:radial-gradient(circle at 82% 16%,rgba(47,232,255,.17),transparent 28%),radial-gradient(circle at 14% 92%,rgba(255,70,204,.12),transparent 26%),linear-gradient(145deg,#111936,#172249 58%,#211945);
}
.fx-post-hero__inner{display:flex;flex-direction:column;align-items:center;gap:20px;max-width:940px;margin:0 auto;text-align:center;}
.fx-post-hero__inner h1{max-width:900px;color:#fff;}
.fx-post-deck{max-width:780px!important;margin:0!important;color:#c5d0e8!important;font-size:20px!important;line-height:32px!important;}
.fx-post-back{display:inline-flex;align-items:center;gap:8px;color:#c8d2e8;font-size:15px;line-height:25px;font-weight:700;transition:color .2s ease,transform .2s ease;}
.fx-post-back:hover{color:#fff;transform:translateX(-3px);}
.fx-post-meta-pills{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;}
.fx-post-pill{display:inline-flex;padding:7px 11px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.06);color:#cbd5eb;font-size:14px;line-height:22px;font-weight:700;}
.fx-post-pill--accent{background:linear-gradient(110deg,var(--fx-cyan),var(--fx-green));border-color:transparent;color:#071026;}
.fx-post-authorline{display:flex;align-items:center;gap:12px;margin-top:4px;text-align:left;}
.fx-post-authorline__mark{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:8px;background:linear-gradient(135deg,var(--fx-cyan),var(--fx-purple));color:#fff;font-weight:700;}
.fx-post-authorline>div{display:flex;flex-direction:column;gap:0;}
.fx-post-authorline strong{color:#fff;font-size:15px;line-height:23px;}
.fx-post-authorline span:not(.fx-post-authorline__mark){color:#9fadd0;font-size:13px;line-height:21px;}
.fx-post-cover-wrap{position:relative;z-index:3;margin-top:-56px;}
.fx-post-cover{display:flex;margin:0;border-radius:8px;overflow:hidden;border:1px solid rgba(255,255,255,.22);box-shadow:0 30px 72px rgba(18,27,59,.24);background:#dbe2ed;}
.fx-post-cover img{width:100%;height:560px;object-fit:cover;}
.fx-post-body-section{padding-top:72px;}
.fx-post-layout{display:flex;align-items:flex-start;gap:42px;max-width:1120px;margin:0 auto;}
.fx-post-aside{display:flex;position:sticky;top:108px;flex-direction:column;gap:16px;flex:0 0 245px;}
.fx-post-aside-card{display:flex;flex-direction:column;gap:14px;padding:22px;border:1px solid rgba(17,25,54,.14);border-radius:8px;background:#edf0f5;box-shadow:0 12px 30px rgba(24,35,71,.08);}
.fx-post-aside-card--cta{background:linear-gradient(145deg,#172144,#121936);border-color:rgba(255,255,255,.10);}
.fx-post-aside-card--cta strong{color:#fff;font-size:18px;line-height:28px;}
.fx-post-aside-card--cta .fx-link{color:#fff;}
.fx-post-aside__label{font-size:12px;line-height:20px;text-transform:uppercase;letter-spacing:1.8px;color:#6d7891;font-weight:700;}
.fx-post-detail{display:flex;flex-direction:column;gap:1px;padding-top:12px;border-top:1px solid rgba(17,25,54,.10);}
.fx-post-detail span{font-size:13px;line-height:21px;color:#77829a;}
.fx-post-detail strong{font-size:15px;line-height:25px;color:#1e2947;}
.fx-post-main{display:flex;flex-direction:column;gap:22px;flex:1;min-width:0;}
.fx-post-content{display:flex;flex-direction:column;gap:20px;padding:42px;border:1px solid rgba(17,25,54,.14);border-radius:8px;background:#edf0f5;box-shadow:0 18px 42px rgba(24,35,71,.10);color:#46526e;}
.fx-post-content>*{max-width:100%;}
.fx-post-content p{margin:0;color:#46526e;font-size:18px;line-height:31px;}
.fx-post-content>p:first-child{font-size:20px;line-height:33px;color:#2e3a59;}
.fx-post-content h2{font-size:34px;line-height:46px;margin-top:24px;padding-top:8px;}
.fx-post-content h3{font-size:26px;line-height:38px;margin-top:14px;}
.fx-post-content h4{font-size:21px;line-height:33px;margin-top:10px;}
.fx-post-content ul,.fx-post-content ol{display:flex;flex-direction:column;gap:10px;padding-left:24px;color:#46526e;}
.fx-post-content li{padding-left:4px;}
.fx-post-content blockquote{margin:16px 0;padding:26px 28px;border-left:4px solid var(--fx-cyan);background:#dce7f1;border-radius:0 8px 8px 0;color:#253250;font-size:20px;line-height:32px;}
.fx-post-content blockquote p{color:inherit;font-size:inherit;line-height:inherit;}
.fx-post-content figure{display:flex;flex-direction:column;gap:9px;margin:18px 0;}
.fx-post-content img{width:100%;border-radius:8px;box-shadow:0 14px 36px rgba(24,35,71,.10);}
.fx-post-content figcaption{font-size:14px;line-height:22px;color:#7a849b;text-align:center;}
.fx-post-content a{color:#2458bf;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
.fx-post-content hr{width:100%;height:1px;margin:14px 0;border:0;background:rgba(17,25,54,.12);}
.fx-post-content pre,.fx-post-content code{font-family:Consolas,Monaco,monospace;}
.fx-post-content pre{max-width:100%;overflow:auto;padding:20px;border-radius:8px;background:#111936;color:#dce5fb;font-size:14px;line-height:24px;}
.fx-post-content table{width:100%;border-collapse:collapse;background:#e5eaf2;border-radius:8px;overflow:hidden;}
.fx-post-content th,.fx-post-content td{padding:12px 14px;border:1px solid rgba(17,25,54,.10);text-align:left;}
.fx-post-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:22px 24px;border:1px solid rgba(17,25,54,.14);border-radius:8px;background:#e9edf4;}
.fx-post-footer__left{display:flex;flex-direction:column;gap:8px;}
.fx-post-share{display:flex;align-items:center;gap:12px;}
.fx-post-share a{display:inline-flex;align-items:center;gap:5px;color:#1b2848;font-size:14px;line-height:22px;font-weight:700;}
.fx-post-share a:hover{color:#2458bf;}
.fx-post-tags{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;}
.fx-post-tags span{display:inline-flex;padding:6px 10px;border-radius:999px;background:#dde4ed;color:#59657d;font-size:13px;line-height:21px;font-weight:700;}
.fx-related-posts{border-top:1px solid rgba(17,25,54,.10);}
@media (max-width:1024px){
    .fx-post-cover img{height:470px;}
    .fx-post-layout{gap:28px;}
    .fx-post-aside{flex-basis:215px;}
    .fx-post-content{padding:32px;}
}
@media (max-width:767px){
    .fx-post-hero{padding:128px 0 92px;}
    .fx-post-cover-wrap{margin-top:-42px;}
    .fx-post-cover img{height:300px;}
    .fx-post-body-section{padding-top:60px;}
    .fx-post-layout{flex-direction:column;gap:24px;}
    .fx-post-aside{position:static;flex-basis:auto;width:100%;}
    .fx-post-aside-card--cta{display:none;}
    .fx-post-main{width:100%;}
    .fx-post-content{padding:24px 20px;}
    .fx-post-content h2{font-size:28px;line-height:38px;}
    .fx-post-content h3{font-size:23px;line-height:33px;}
    .fx-post-content p,.fx-post-content>p:first-child{font-size:17px;line-height:29px;}
    .fx-post-footer{align-items:flex-start;flex-direction:column;}
    .fx-post-tags{justify-content:flex-start;}
}

/* V4 surface consistency: remove the remaining near-white islands. */
.fx-project-media,.fx-blog-card__media,.fx-team-card__media{background-color:#d9e0ea;}
.fx-tag,.fx-tech span{background:#dfe5ee;border-color:rgba(17,25,54,.13);color:#46536f;}
.fx-split-panel__visual{background:radial-gradient(circle at 70% 30%,rgba(47,232,255,.15),transparent 45%),linear-gradient(145deg,#dde5ef,#d4dce8);border-color:rgba(17,25,54,.13);}
.fx-menu-toggle,.menu-toggle{background:#e9edf4;border-color:rgba(17,25,54,.14);}
.fx-price-card:not(.is-featured),.fx-service-card,.fx-process-step{background:#edf0f5;}
