/* BuildWeb.online reference homepage - corrective responsive layer.
   Loaded only on the public homepage. It intentionally does not style
   admin, staff, portal, auth, payment, or other application screens. */
.reference-home-page{overflow-x:hidden;background:#fff}
.reference-home{width:100%;overflow:hidden;color:#12264a;background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.reference-home .container{width:min(1180px,calc(100% - 32px));max-width:1180px;margin-left:auto;margin-right:auto}
.reference-home a{text-decoration:none}
.reference-home img{display:block;max-width:100%}

/* Header */
.reference-home-page .rw-header{height:clamp(46px,4.5vw,64px);background:rgba(255,255,255,.97);border-bottom:1px solid #edf0f5;position:sticky;top:0;z-index:80;box-shadow:0 2px 15px rgba(15,36,75,.06)}
.reference-home-page .rw-header-inner{height:100%;display:flex;align-items:center;gap:clamp(12px,1.5vw,24px);width:min(1180px,calc(100% - 32px))!important;max-width:1180px!important;margin:auto}
.reference-home-page .rw-logo{display:block;width:clamp(130px,12vw,175px);flex:none}
.reference-home-page .rw-logo img{width:100%;height:auto}
.reference-home-page .rw-nav{display:flex;align-items:center;gap:clamp(12px,1.7vw,25px);flex:1;justify-content:center}
.reference-home-page .rw-nav a{font-size:clamp(9px,.8vw,13px);font-weight:800;color:#52617a;white-space:nowrap}
.reference-home-page .rw-nav a.active{color:#101f3f;background:#ffda68;padding:clamp(6px,.55vw,9px) clamp(9px,.9vw,13px);border-radius:18px;box-shadow:0 4px 12px rgba(255,189,36,.2)}
.reference-home-page .rw-header-actions{display:flex;align-items:center;gap:7px}
.reference-home-page .rw-search{height:clamp(28px,2.1vw,34px);width:clamp(95px,8vw,125px);border:1px solid #e3e8ef;border-radius:18px;display:flex;align-items:center;gap:5px;padding:0 10px;color:#6c7990;font-size:clamp(9px,.7vw,11px)}
.reference-home-page .rw-search span{overflow:hidden;white-space:nowrap}
.reference-home-page .rw-start{height:clamp(29px,2.2vw,36px);background:linear-gradient(180deg,#ffd35d,#ffb818);border-radius:18px;padding:0 13px;display:flex;align-items:center;gap:6px;font-size:clamp(9px,.72vw,12px);font-weight:900;color:#142347;white-space:nowrap}
.reference-home-page .rw-login{height:clamp(29px,2.2vw,36px);border:1px solid #e4e8ef;border-radius:18px;padding:0 11px;display:flex;align-items:center;gap:5px;font-size:clamp(9px,.72vw,12px);color:#344463;font-weight:800;white-space:nowrap}
.reference-home-page .rw-menu{display:none;border:0;background:none;font-size:24px;color:#071b42;padding:5px}

/* Hero: same left-large / right-two-card composition as reference */
.reference-home .rw-hero{width:min(1180px,calc(100% - 32px))!important;max-width:1180px!important;padding:0 0 16px;display:grid;grid-template-columns:minmax(0,1.72fr) minmax(260px,1.08fr);gap:9px;margin:auto}
.reference-home .rw-hero-main,.reference-home .rw-hero-side-card{border-radius:10px;overflow:hidden;position:relative}
.reference-home .rw-hero-main{height:clamp(282px,30vw,410px);background:radial-gradient(circle at 73% 46%,#12346c 0,#071a40 44%,#040f29 100%);color:#fff}
.reference-home .rw-hero-copy{position:relative;z-index:3;padding:clamp(26px,3vw,48px) 0 0 clamp(22px,3vw,42px);width:56%}
.reference-home .rw-eyebrow{display:inline-flex;padding:5px 9px;border:1px solid rgba(255,255,255,.24);border-radius:12px;color:#d7e4ff;font-size:clamp(7px,.65vw,10px);font-weight:900;letter-spacing:.1em}
.reference-home .rw-hero h1{font-size:clamp(27px,3.1vw,47px);line-height:1.07;letter-spacing:-.04em;margin:12px 0 10px;color:#fff}
.reference-home .rw-hero h1 strong{font-weight:950}.reference-home .rw-hero h1 em{font-style:normal;color:#ffc33c}
.reference-home .rw-hero-copy>p{font-size:clamp(9px,.85vw,13px);line-height:1.5;color:#c9d4e8;max-width:370px;margin:0}
.reference-home .rw-actions{display:flex;gap:8px;margin-top:15px;flex-wrap:wrap}
.reference-home .rw-btn{min-height:clamp(30px,2.4vw,39px);border-radius:7px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:clamp(9px,.75vw,12px);font-weight:900;white-space:nowrap}
.reference-home .rw-btn-gold{background:linear-gradient(180deg,#ffd966,#ffb91c);color:#142346;box-shadow:0 5px 12px rgba(255,183,27,.2)}
.reference-home .rw-btn-dark{border:1px solid rgba(255,255,255,.3);color:#fff;background:rgba(255,255,255,.04)}
.reference-home .rw-btn .play{font-size:8px;width:17px;height:17px;border:1px solid #fff;border-radius:50%;display:grid;place-items:center}
.reference-home .rw-proof{display:flex;gap:clamp(10px,1.5vw,22px);margin-top:clamp(17px,2vw,27px);flex-wrap:wrap}
.reference-home .rw-proof div{display:grid;grid-template-columns:25px auto;column-gap:5px;align-items:center}
.reference-home .rw-proof-icon{grid-row:1/3;width:22px;height:22px;border-radius:50%;background:rgba(255,201,63,.14);color:#ffd25a;display:grid;place-items:center;font-size:10px}
.reference-home .rw-proof b{font-size:clamp(11px,.95vw,15px);line-height:1;color:#fff}.reference-home .rw-proof small{font-size:clamp(6px,.58vw,9px);color:#91a6c7;line-height:1.2}
.reference-home .rw-hero-robot{position:absolute;right:-4px;top:0;width:57%;height:100%;object-fit:cover;object-position:center center;z-index:1;mix-blend-mode:screen}
.reference-home .rw-slider-dots{position:absolute;bottom:6px;left:50%;transform:translateX(-50%);display:flex;gap:4px;z-index:4}.reference-home .rw-slider-dots i{width:6px;height:6px;border-radius:50%;background:#fff7}.reference-home .rw-slider-dots i.active{width:15px;border-radius:6px;background:#ffd15b}
.reference-home .rw-hero-side{display:grid;grid-template-rows:1fr 1fr;gap:9px;min-width:0}.reference-home .rw-hero-side-card{background:#101e58}.reference-home .rw-hero-side-card img{width:100%;height:100%;object-fit:cover}.reference-home .rw-round-arrow{position:absolute;left:9px;top:50%;transform:translateY(-50%);width:24px;height:24px;border-radius:50%;background:#fff;color:#162449;display:grid;place-items:center;font-size:19px;box-shadow:0 3px 8px #0002}

/* Category strip */
.reference-home .rw-category{width:min(1100px,calc(100% - 70px))!important;max-width:1100px!important;border:1px solid #f0e6d3;border-radius:11px;box-shadow:0 7px 25px rgba(42,56,92,.06);display:grid;grid-template-columns:repeat(8,1fr);margin:0 auto 18px;overflow:hidden;background:#fff}
.reference-home .rw-category a{min-height:clamp(62px,6.3vw,82px);border-right:1px solid #f1ede5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#4c5b75;padding:4px}
.reference-home .rw-category a:last-child{border-right:0}.reference-home .rw-cat-icon{width:clamp(27px,2.5vw,36px);height:clamp(27px,2.5vw,36px);border-radius:9px;background:#fff7e4;color:#ff9c00;display:grid;place-items:center;font-size:clamp(14px,1.2vw,19px);font-weight:900}.reference-home .rw-category b{font-size:clamp(7px,.68vw,11px);white-space:nowrap;text-align:center}

/* Shared sections */
.reference-home .rw-section{padding:18px 0 10px}.reference-home .rw-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.reference-home .rw-heading>div:first-child,.reference-home .rw-how-title{display:flex;align-items:center;gap:10px;flex:1}.reference-home .rw-heading-icon{width:clamp(27px,2.4vw,35px);height:clamp(27px,2.4vw,35px);border-radius:9px;color:#ff9c00;background:#fff8e9;display:grid;place-items:center;font-size:clamp(15px,1.3vw,20px);font-weight:900;flex:none}.reference-home .rw-heading h2,.reference-home .rw-how h2{font-size:clamp(16px,1.55vw,24px);line-height:1.05;margin:0;color:#0a1d43;font-weight:950}.reference-home .rw-heading p,.reference-home .rw-how-title p{font-size:clamp(7px,.65vw,10px);color:#7a879d;margin:3px 0 0}.reference-home .rw-outline-btn{height:clamp(27px,2.2vw,35px);border:1px solid #ffb51e;border-radius:18px;padding:0 13px;display:inline-flex;align-items:center;gap:7px;color:#13234b;font-size:clamp(8px,.7vw,11px);font-weight:900;white-space:nowrap}.reference-home .rw-outline-btn span{color:#e89400;font-size:15px}

/* Service cards */
.reference-home .rw-service-row{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.reference-home .rw-service-card{height:clamp(178px,18vw,245px);border:1px solid #eee7db;border-radius:11px;background:#fff;box-shadow:0 7px 20px rgba(20,43,80,.055);padding:9px 10px;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s}.reference-home .rw-service-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(20,43,80,.11)}.reference-home .rw-card-art{height:clamp(71px,7vw,105px);display:grid;place-items:center;overflow:hidden}.reference-home .rw-card-art img{width:100%;height:100%;object-fit:cover}.reference-home .rw-service-card h3{font-size:clamp(8px,.8vw,13px);color:#102146;margin:7px 0 4px;font-weight:950}.reference-home .rw-service-card ul{margin:0;padding-left:12px;color:#69768c;line-height:1.4;min-height:50px}.reference-home .rw-service-card li{font-size:clamp(6px,.58vw,9px)}.reference-home .rw-card-btn{margin-top:auto;background:linear-gradient(180deg,#ffd159,#ffb51b);height:clamp(22px,2vw,31px);border-radius:6px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:clamp(7px,.65vw,10px);color:#17274a;font-weight:950}.reference-home .rw-card-btn b{font-size:12px}

/* Projects */
.reference-home .rw-projects{padding-top:12px}.reference-home .rw-heading-project{margin-bottom:9px}.reference-home .rw-filter{display:flex;gap:4px;align-items:center;flex:1;overflow:hidden}.reference-home .rw-filter button{border:0;background:#fff;color:#67758d;font-size:clamp(7px,.62vw,10px);font-weight:800;padding:7px 10px;border-radius:12px;white-space:nowrap}.reference-home .rw-filter button.active{background:#ffbd22;color:#17264a}.reference-home .rw-nav-arrows{display:flex;gap:4px}.reference-home .rw-nav-arrows button{width:25px;height:25px;border:1px solid #e6e8ec;border-radius:50%;background:#fff;color:#5c6b82;font-size:17px}.reference-home .rw-project-row{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.reference-home .rw-project-card{border:1px solid #eee7dc;border-radius:9px;background:#fff;overflow:hidden;position:relative;box-shadow:0 5px 18px rgba(20,43,80,.04)}.reference-home .rw-project-card img{width:100%;height:clamp(62px,6.2vw,88px);object-fit:cover}.reference-home .rw-project-card>div{padding:6px 8px}.reference-home .rw-project-card h3{font-size:clamp(7px,.68vw,11px);color:#132247;margin:0;font-weight:950}.reference-home .rw-project-card p{font-size:clamp(6px,.55vw,9px);color:#718097;margin:2px 0}.reference-home .rw-project-card>span{position:absolute;right:6px;bottom:6px;width:20px;height:20px;border-radius:50%;border:1px solid #f2c15a;color:#df9800;display:grid;place-items:center;font-size:13px;background:#fff}

/* How it works */
.reference-home .rw-how{margin:10px 0 0;padding:18px 0;background:linear-gradient(180deg,#fffdf7,#fff9ec);border-top:1px solid #f6ebd2;border-bottom:1px solid #f6ebd2;position:relative}.reference-home .rw-how:before,.reference-home .rw-how:after{content:"";position:absolute;width:220px;height:70px;border:1px solid rgba(255,191,43,.35);border-radius:50%;top:18px}.reference-home .rw-how:before{left:-110px;transform:rotate(18deg)}.reference-home .rw-how:after{right:-110px;transform:rotate(-18deg)}.reference-home .rw-how-inner{display:flex;align-items:center;gap:35px}.reference-home .rw-how-title{min-width:270px}.reference-home .rw-steps{display:flex;align-items:flex-start;justify-content:space-between;flex:1}.reference-home .rw-step{text-align:center;max-width:125px;position:relative}.reference-home .rw-step-icon{width:31px;height:31px;border-radius:50%;border:1px solid #ffd37a;background:#fff;color:#ff8c00;display:grid;place-items:center;margin:0 auto 5px;font-size:15px}.reference-home .rw-step small{color:#f18c00;font-size:clamp(6px,.58vw,9px);font-weight:950}.reference-home .rw-step h3{font-size:clamp(7px,.68vw,11px);margin:3px 0;color:#132348}.reference-home .rw-step p{font-size:clamp(6px,.55vw,9px);line-height:1.4;color:#718098;margin:0}.reference-home .rw-step-arrow{color:#7d8a9d;font-size:14px;padding-top:20px}

/* Packages / testimonials / insights / bottom CTA */
.reference-home .rw-package-layout{display:grid;grid-template-columns:2fr 1fr;gap:9px}.reference-home .rw-package-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.reference-home .rw-package{border:1px solid #eee4d3;border-radius:9px;background:#fff;padding:12px;position:relative;box-shadow:0 5px 18px rgba(24,44,80,.04)}.reference-home .rw-package.featured{border:1.5px solid #f5b52b;box-shadow:0 9px 25px rgba(244,174,34,.12)}.reference-home .rw-popular{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:#ffb31c;color:#fff;font-size:clamp(6px,.55vw,9px);font-weight:950;padding:3px 9px;border-radius:9px;white-space:nowrap}.reference-home .rw-package h3{font-size:clamp(9px,.8vw,13px);margin:0;color:#15254a}.reference-home .rw-package p{font-size:clamp(6px,.58vw,9px);color:#8390a4;margin:3px 0 9px}.reference-home .rw-package>strong{font-size:clamp(14px,1.1vw,18px);color:#ef9000}.reference-home .rw-package ul{padding-left:12px;margin:9px 0 11px;color:#66758b}.reference-home .rw-package li{font-size:clamp(6px,.57vw,9px);line-height:1.6}.reference-home .rw-package>a{height:clamp(23px,2vw,31px);border-radius:6px;background:#ffbd20;display:flex;align-items:center;justify-content:center;color:#17264a;font-size:clamp(7px,.65vw,10px);font-weight:950;gap:6px}
.reference-home .rw-consult-card{border-radius:10px;background:linear-gradient(135deg,#fff9e9,#fff4d3);border:1px solid #f0dfb9;overflow:hidden;display:flex;position:relative;min-height:100%;box-shadow:0 6px 20px rgba(30,50,80,.04)}.reference-home .rw-consult-card>div{box-sizing:border-box;padding:18px 8px 12px 20px;width:57%;min-width:0;position:relative;z-index:2}.reference-home .rw-consult-card small{display:block;font-size:clamp(6px,.55vw,9px);color:#5e6c81;font-weight:950}.reference-home .rw-consult-card h3{font-size:clamp(13px,1.2vw,19px);line-height:1.1;color:#102047;margin:6px 0;max-width:100%;overflow-wrap:normal}.reference-home .rw-consult-card h3 em{font-style:normal;color:#f19a00}.reference-home .rw-consult-card p{font-size:clamp(7px,.6vw,10px);line-height:1.4;color:#66748a;margin:0 0 8px;max-width:100%}.reference-home .rw-consult-card .headset{font-size:24px;color:#ff9d00;display:block;line-height:.8;margin-bottom:7px}.reference-home .rw-consult-card .rw-card-btn{display:inline-flex;padding:0 10px;height:29px;white-space:nowrap}.reference-home .rw-talk{display:block;border:1px solid #dfe3e8;border-radius:6px;padding:5px 8px;font-size:clamp(6px,.55vw,9px);color:#233556;background:#fff;margin-top:6px;width:max-content;white-space:nowrap}.reference-home .rw-consult-card img{position:absolute;right:-2px;bottom:0;width:43%;height:94%;object-fit:cover;object-position:center top}
.reference-home .rw-testimonials{padding-top:14px}.reference-home .rw-test-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.reference-home .rw-test-card{min-height:90px;border:1px solid #eee7dc;border-radius:10px;background:#fff;box-shadow:0 5px 18px rgba(20,43,80,.04);padding:9px;display:flex;gap:8px;align-items:center}.reference-home .rw-test-card>img{width:52px;height:64px;object-fit:cover;object-position:center top;border-radius:50%}.reference-home .rw-test-card .stars{font-size:8px;letter-spacing:1px;color:#f6ad12}.reference-home .rw-test-card p{font-size:clamp(6px,.58vw,9px);color:#66748b;line-height:1.4;margin:3px 0}.reference-home .rw-test-card b{font-size:clamp(7px,.62vw,10px);color:#17264a;display:block}.reference-home .rw-test-card small{font-size:clamp(6px,.5vw,8px);color:#7c899c;display:block}
.reference-home .rw-insights{padding-top:14px}.reference-home .rw-insight-row{display:grid;grid-template-columns:repeat(4,1fr) 1.72fr;gap:8px}.reference-home .rw-insight-card{border:1px solid #eee6db;border-radius:9px;overflow:hidden;background:#fff;box-shadow:0 5px 16px rgba(20,43,80,.04)}.reference-home .rw-insight-card img{height:clamp(62px,6vw,88px);width:100%;object-fit:cover}.reference-home .rw-insight-card h3{font-size:clamp(7px,.63vw,10px);line-height:1.3;color:#17264a;margin:7px 8px 4px}.reference-home .rw-insight-card small{font-size:clamp(6px,.52vw,8px);color:#7a879b;margin:0 8px 9px;display:block}.reference-home .rw-insight-cta{border-radius:9px;background:linear-gradient(135deg,#0b204d,#132f67);color:#fff;padding:16px;position:relative;overflow:hidden;display:block;box-shadow:0 7px 20px rgba(7,26,64,.16)}.reference-home .rw-insight-cta span{font-size:clamp(14px,1.25vw,19px);line-height:1.05;font-weight:950}.reference-home .rw-insight-cta em{font-style:normal;color:#ffc02b}.reference-home .rw-insight-cta p{font-size:clamp(7px,.6vw,10px);line-height:1.4;color:#bdcbe0;max-width:220px}.reference-home .rw-insight-cta b{display:inline-flex;background:#ffbd20;color:#17264a;border-radius:6px;padding:7px 9px;font-size:clamp(7px,.58vw,9px)}
.reference-home .rw-bottom-cta{display:grid;grid-template-columns:2fr 1fr;gap:9px;margin-top:9px;margin-bottom:10px}.reference-home .rw-ready{min-height:105px;border-radius:10px;background:linear-gradient(110deg,#091c42,#173768 57%,#f7c34e);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:18px 22px;overflow:hidden}.reference-home .rw-ready h2{font-size:clamp(16px,1.55vw,24px);line-height:1;margin:0 0 5px}.reference-home .rw-ready p{font-size:clamp(7px,.6vw,10px);color:#c7d2e5;margin:0 0 8px}.reference-home .rw-ready .rw-btn{min-height:29px;font-size:clamp(7px,.62vw,10px)}.reference-home .rw-floating-icons{display:flex;gap:7px;align-items:center;opacity:.9}.reference-home .rw-floating-icons span{width:29px;height:29px;border-radius:8px;background:#fff;color:#5a4e2c;display:grid;place-items:center;font-size:13px;box-shadow:0 5px 15px #0002}.reference-home .rw-download{min-height:105px;border:1px solid #eee3cf;border-radius:10px;background:#fffaf0;display:flex;align-items:center;justify-content:space-between;padding:14px;overflow:hidden}.reference-home .rw-download h3{font-size:clamp(12px,1vw,16px);margin:0;color:#11234a}.reference-home .rw-download p{font-size:clamp(7px,.58vw,9px);color:#768399;max-width:170px;margin:3px 0 8px}.reference-home .rw-download a{display:inline-flex;padding:6px 9px;background:#050e21;color:#fff;border-radius:6px;font-size:clamp(6px,.52vw,9px);margin-right:3px}.reference-home .rw-download img{width:120px;height:100px;object-fit:cover;object-position:left center}

/* Footer */
.reference-home-page .rw-footer{border-top:1px solid #efe6d7;background:#fff;color:#14234a;padding:22px 0 8px;position:relative}.reference-home-page .rw-footer:before,.reference-home-page .rw-footer:after{content:"";position:absolute;width:160px;height:48px;border:1px solid rgba(255,188,30,.55);border-radius:50%;bottom:-20px}.reference-home-page .rw-footer:before{left:-80px;transform:rotate(25deg)}.reference-home-page .rw-footer:after{right:-80px;transform:rotate(-25deg)}.reference-home-page .rw-footer-grid{display:grid;grid-template-columns:1.8fr 1fr 1.15fr 1.05fr 1.65fr;gap:28px}.reference-home-page .rw-footer-brand .rw-logo{width:155px}.reference-home-page .rw-footer-brand .rw-logo img{width:155px}.reference-home-page .rw-footer p{font-size:clamp(7px,.6vw,10px);line-height:1.45;color:#77849a;max-width:250px}.reference-home-page .rw-footer h4{font-size:clamp(8px,.65vw,11px);margin:3px 0 7px;color:#17264b}.reference-home-page .rw-footer-grid>div:not(:first-child) a{display:block;font-size:clamp(7px,.58vw,9px);color:#66748b;margin:5px 0}.reference-home-page .rw-social{display:flex;gap:6px;margin-top:9px}.reference-home-page .rw-social a{width:20px;height:20px;border:1px solid #e1e5ea;border-radius:50%;display:grid;place-items:center;color:#596981;font-size:8px}.reference-home-page .rw-newsletter{display:flex;gap:5px}.reference-home-page .rw-newsletter input{height:28px;border:1px solid #e3e6eb;border-radius:6px;padding:0 8px;font-size:clamp(7px,.58vw,9px);width:125px}.reference-home-page .rw-newsletter button{height:28px;border:0;background:#ffbd20;border-radius:6px;padding:0 10px;font-size:clamp(7px,.58vw,9px);font-weight:900;color:#17264a}.reference-home-page .rw-footer-bottom{border-top:1px solid #eee9e0;margin-top:14px;padding-top:8px;display:flex;justify-content:space-between;color:#8490a3;font-size:clamp(6px,.52vw,8px)}

/* Tablet */
@media(max-width:900px){
  .reference-home-page .rw-header-actions{display:none}.reference-home-page .rw-menu{display:block;margin-left:auto}
  .reference-home-page .rw-nav{display:none}.reference-home-page .rw-nav.rw-mobile-open{display:flex;position:absolute;left:15px;right:15px;top:calc(100% + 4px);background:#fff;border:1px solid #ece6dc;border-radius:12px;padding:10px;box-shadow:0 14px 35px #12264a1c;flex-direction:column;align-items:stretch;gap:3px}.reference-home-page .rw-nav.rw-mobile-open a{padding:10px}.reference-home-page .rw-nav.rw-mobile-open a.active{padding:10px}
  .reference-home .rw-hero{grid-template-columns:1.55fr 1fr}.reference-home .rw-service-row{grid-template-columns:repeat(3,1fr)}.reference-home .rw-project-row{grid-template-columns:repeat(3,1fr)}.reference-home .rw-project-card:nth-child(n+4){display:none}
  .reference-home .rw-how-inner{display:block}.reference-home .rw-how-title{margin-bottom:14px}.reference-home .rw-package-layout{grid-template-columns:1fr}.reference-home .rw-insight-row{grid-template-columns:repeat(2,1fr)}.reference-home .rw-insight-cta{min-height:130px}.reference-home .rw-bottom-cta{grid-template-columns:1fr}.reference-home-page .rw-footer-grid{grid-template-columns:repeat(3,1fr)}.reference-home-page .rw-footer-brand{grid-column:1/-1}
}

/* Phone: readable, stacked, touch-friendly — never micro-sized */
@media(max-width:600px){
  .reference-home .container,.reference-home .rw-hero,.reference-home-page .rw-header-inner{width:calc(100% - 24px)!important}
  .reference-home-page .rw-header{height:58px}.reference-home-page .rw-logo{width:145px}
  .reference-home .rw-hero{grid-template-columns:1fr;gap:8px;padding-bottom:10px}.reference-home .rw-hero-main{height:410px}.reference-home .rw-hero-copy{width:67%;padding:28px 0 0 18px}.reference-home .rw-eyebrow{font-size:7px}.reference-home .rw-hero h1{font-size:28px;margin:12px 0}.reference-home .rw-hero-copy>p{font-size:10px;max-width:225px}.reference-home .rw-actions{margin-top:13px}.reference-home .rw-btn{font-size:10px;min-height:32px;padding:0 12px}.reference-home .rw-proof{gap:9px;margin-top:18px}.reference-home .rw-proof b{font-size:11px}.reference-home .rw-proof small{font-size:6.5px}.reference-home .rw-hero-robot{width:65%;right:-15px}.reference-home .rw-hero-side{grid-template-columns:1fr 1fr;grid-template-rows:1fr;height:145px}.reference-home .rw-category{width:calc(100% - 24px)!important;grid-template-columns:repeat(4,1fr);margin-bottom:12px}.reference-home .rw-category a{min-height:70px}.reference-home .rw-category a:nth-child(n+5){display:none}.reference-home .rw-category b{font-size:7px;white-space:normal}.reference-home .rw-cat-icon{width:30px;height:30px;font-size:15px}
  .reference-home .rw-section{padding:14px 0 8px}.reference-home .rw-heading{align-items:flex-start;flex-wrap:wrap}.reference-home .rw-heading h2{font-size:18px}.reference-home .rw-heading p{font-size:8px}.reference-home .rw-heading>.rw-outline-btn{margin-left:auto}.reference-home .rw-service-row{grid-template-columns:repeat(2,1fr)}.reference-home .rw-service-card{height:220px;padding:9px}.reference-home .rw-card-art{height:92px}.reference-home .rw-service-card h3{font-size:11px}.reference-home .rw-service-card li{font-size:7px}.reference-home .rw-card-btn{height:29px;font-size:9px}
  .reference-home .rw-project-row{grid-template-columns:repeat(2,1fr)}.reference-home .rw-project-card:nth-child(n+5){display:none}.reference-home .rw-project-card img{height:80px}.reference-home .rw-project-card h3{font-size:9px}.reference-home .rw-project-card p{font-size:7px}.reference-home .rw-filter{order:3;width:100%;overflow-x:auto;padding-bottom:2px}.reference-home .rw-filter button{font-size:8px;padding:7px 9px}.reference-home .rw-heading-project>.rw-outline-btn{display:none}.reference-home .rw-heading-project .rw-nav-arrows{margin-left:auto}
  .reference-home .rw-steps{overflow-x:auto;justify-content:flex-start;gap:15px;padding-bottom:5px}.reference-home .rw-step{min-width:120px}.reference-home .rw-step-arrow{display:none}.reference-home .rw-step h3{font-size:10px}.reference-home .rw-step p{font-size:7px}.reference-home .rw-package-row{grid-template-columns:repeat(2,1fr)}.reference-home .rw-package h3{font-size:11px}.reference-home .rw-package p{font-size:8px}.reference-home .rw-package>strong{font-size:16px}.reference-home .rw-package li{font-size:7px}.reference-home .rw-package>a{font-size:8px}.reference-home .rw-consult-card{min-height:230px}.reference-home .rw-consult-card>div{width:57%;padding:18px 7px 12px 16px}.reference-home .rw-consult-card h3{font-size:15px;line-height:1.08}.reference-home .rw-consult-card p{font-size:8px}.reference-home .rw-consult-card img{width:43%;height:94%;right:-2px}
  .reference-home .rw-test-row{grid-template-columns:1fr}.reference-home .rw-test-card{min-height:95px}.reference-home .rw-test-card p{font-size:8px}.reference-home .rw-test-card b{font-size:9px}.reference-home .rw-test-card small{font-size:7px}.reference-home .rw-test-card:nth-child(n+3){display:none}
  .reference-home .rw-insight-row{grid-template-columns:repeat(2,1fr)}.reference-home .rw-insight-card h3{font-size:8px}.reference-home .rw-insight-card small{font-size:7px}.reference-home .rw-insight-cta{grid-column:1/-1;min-height:150px}.reference-home .rw-insight-cta span{font-size:17px}.reference-home .rw-insight-cta p{font-size:8px}.reference-home .rw-insight-cta b{font-size:8px}
  .reference-home .rw-ready{min-height:145px;padding:18px}.reference-home .rw-ready h2{font-size:19px}.reference-home .rw-ready p{font-size:8px}.reference-home .rw-floating-icons{display:none}.reference-home .rw-download{min-height:120px}.reference-home .rw-download h3{font-size:14px}.reference-home .rw-download p{font-size:8px}.reference-home .rw-download img{width:115px;height:105px}.reference-home-page .rw-footer-grid{grid-template-columns:1fr 1fr;gap:16px}.reference-home-page .rw-footer-brand{grid-column:1/-1}.reference-home-page .rw-footer-grid>div:last-child{grid-column:1/-1}.reference-home-page .rw-footer-grid>div:not(:first-child) a{font-size:8px}.reference-home-page .rw-footer h4{font-size:10px}.reference-home-page .rw-footer p{font-size:8px}.reference-home-page .rw-footer-bottom{flex-direction:column;gap:5px;font-size:7px}.reference-home-page .rw-footer:before,.reference-home-page .rw-footer:after{display:none}
}
@media(max-width:390px){
  .reference-home .rw-hero-main{height:390px}.reference-home .rw-hero h1{font-size:25px}.reference-home .rw-hero-copy{width:70%}.reference-home .rw-actions{flex-direction:column;align-items:flex-start}.reference-home .rw-service-row,.reference-home .rw-project-row,.reference-home .rw-package-row{grid-template-columns:1fr}.reference-home .rw-service-card{height:205px}.reference-home .rw-project-card:nth-child(n+3){display:none}.reference-home .rw-insight-row{grid-template-columns:1fr}.reference-home .rw-insight-card:nth-child(n+3){display:none}.reference-home .rw-insight-cta{grid-column:auto}.reference-home-page .rw-footer-grid{grid-template-columns:1fr}.reference-home-page .rw-footer-grid>div{grid-column:auto!important}
}

/* ===== Shared public reference shell calibration =====
   The public shell intentionally matches the homepage reference header/footer.
   Page-specific content remains untouched. */
.reference-public-page{overflow-x:hidden;background:#fff}
.reference-public-page .rw-header{height:clamp(46px,4.5vw,64px);background:rgba(255,255,255,.97);border-bottom:1px solid #edf0f5;position:sticky;top:0;z-index:80;box-shadow:0 2px 15px rgba(15,36,75,.06)}
.reference-public-page .rw-header-inner{height:100%;display:flex;align-items:center;gap:clamp(12px,1.5vw,24px);width:min(1180px,calc(100% - 32px))!important;max-width:1180px!important;margin:auto}
.reference-public-page .rw-logo{display:block;width:clamp(130px,12vw,175px);flex:none}
.reference-public-page .rw-logo img{width:100%;height:auto}
.reference-public-page .rw-nav{display:flex;align-items:center;gap:clamp(12px,1.7vw,25px);flex:1;justify-content:center}
.reference-public-page .rw-nav a{font-size:clamp(9px,.8vw,13px);font-weight:800;color:#52617a;white-space:nowrap}
.reference-public-page .rw-nav a.active{color:#101f3f;background:#ffda68;padding:clamp(6px,.55vw,9px) clamp(9px,.9vw,13px);border-radius:18px;box-shadow:0 4px 12px rgba(255,189,36,.2)}
.reference-public-page .rw-header-actions{display:flex;align-items:center;gap:7px}
.reference-public-page .rw-search{height:clamp(28px,2.1vw,34px);width:clamp(95px,8vw,125px);border:1px solid #e3e8ef;border-radius:18px;display:flex;align-items:center;gap:5px;padding:0 10px;color:#6c7990;font-size:clamp(9px,.7vw,11px)}
.reference-public-page .rw-search span{overflow:hidden;white-space:nowrap}
.reference-public-page .rw-start{height:clamp(29px,2.2vw,36px);background:linear-gradient(180deg,#ffd35d,#ffb818);border-radius:18px;padding:0 13px;display:flex;align-items:center;gap:6px;font-size:clamp(9px,.72vw,12px);font-weight:900;color:#142347;white-space:nowrap}
.reference-public-page .rw-login{height:clamp(29px,2.2vw,36px);border:1px solid #e4e8ef;border-radius:18px;padding:0 11px;display:flex;align-items:center;gap:5px;font-size:clamp(9px,.72vw,12px);color:#344463;font-weight:800;white-space:nowrap}
.reference-public-page .rw-login.active{background:#ffda68;color:#101f3f;border-color:#f3c451}
.reference-public-page .rw-menu{display:none;border:0;background:none;font-size:24px;color:#071b42;padding:5px}

/* Project strip: keep the homepage compact while allowing all 12 professional entries. */
.reference-home .rw-project-row{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 45px)/6);grid-template-columns:none;gap:9px;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;padding:1px 1px 5px}
.reference-home .rw-project-row::-webkit-scrollbar{display:none}
.reference-home .rw-project-card{min-width:0;scroll-snap-align:start}
.reference-home .rw-project-visual{width:100%;height:clamp(62px,6.2vw,88px);display:grid;place-items:center;position:relative;overflow:hidden}
.reference-home .rw-project-visual:before,.reference-home .rw-project-visual:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.28);border-radius:50%;width:90px;height:90px}
.reference-home .rw-project-visual:after{width:140px;height:140px}
.reference-home .rw-project-visual span{position:relative;z-index:1;width:46px;height:46px;border-radius:13px;background:rgba(255,255,255,.94);display:grid;place-items:center;color:#102044;font-weight:950;font-size:12px;box-shadow:0 8px 20px rgba(0,0,0,.14)}
.reference-home .theme-navy{background:linear-gradient(135deg,#061632,#173a6d)}
.reference-home .theme-blue{background:linear-gradient(135deg,#173b76,#3b78c8)}
.reference-home .theme-violet{background:linear-gradient(135deg,#252252,#6d68b5)}
.reference-home .theme-gold{background:linear-gradient(135deg,#805c1b,#f3b52f)}

@media(max-width:900px){
  .reference-public-page .rw-header-actions{display:none}
  .reference-public-page .rw-menu{display:block;margin-left:auto}
  .reference-public-page .rw-nav{display:none}
  .reference-public-page .rw-nav.rw-mobile-open{display:flex;position:absolute;left:15px;right:15px;top:calc(100% + 4px);background:#fff;border:1px solid #ece6dc;border-radius:12px;padding:10px;box-shadow:0 14px 35px #12264a1c;flex-direction:column;align-items:stretch;gap:3px}
  .reference-public-page .rw-nav.rw-mobile-open a{padding:10px}
  .reference-public-page .rw-nav.rw-mobile-open a.active{padding:10px}
  .reference-home .rw-project-row{grid-auto-columns:calc((100% - 18px)/3)}
}
@media(max-width:600px){
  .reference-public-page .rw-header{height:58px}
  .reference-public-page .rw-logo{width:145px}
  .reference-public-page .rw-header-inner{width:calc(100% - 24px)!important}
  .reference-home .rw-project-row{grid-auto-columns:calc((100% - 9px)/2)}
}
@media(max-width:390px){
  .reference-home .rw-project-row{grid-auto-columns:100%}
}

/* Client auth uses the same public shell while preserving the Firebase/Laravel logic. */
.reference-public-page .rw-auth-shell{background:linear-gradient(180deg,#f7f9fc,#fff);padding:70px 0 90px;min-height:calc(100vh - 300px)}
.reference-public-page .rw-auth-card{max-width:520px;margin:0 auto;background:#fff;border:1px solid #eee4d3;border-radius:18px;box-shadow:0 18px 55px rgba(20,43,80,.08);padding:32px}
.reference-public-page .rw-auth-card h1{margin:0 0 8px;color:#12264a;font-size:32px;line-height:1.1}
.reference-public-page .rw-auth-card .auth-kicker{display:inline-flex;background:#fff6dd;color:#e79400;border:1px solid #f2d89b;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:900;letter-spacing:.12em;margin-bottom:12px}
.reference-public-page .rw-auth-card label{display:block;color:#263a5d;font-size:13px;font-weight:800;margin-top:14px}
.reference-public-page .rw-auth-card input{width:100%;height:44px;margin-top:6px;border:1px solid #dfe5ed;border-radius:10px;padding:0 12px;font:inherit;outline:none}
.reference-public-page .rw-auth-card input:focus{border-color:#f0b52a;box-shadow:0 0 0 3px rgba(245,199,92,.18)}
.reference-public-page .rw-auth-card .auth-actions{display:grid;gap:10px;margin-top:18px}
.reference-public-page .rw-auth-card .auth-btn{height:44px;border:0;border-radius:10px;background:linear-gradient(180deg,#ffd35d,#ffb818);color:#142347;font-weight:900;cursor:pointer}
.reference-public-page .rw-auth-card .auth-btn.secondary{background:#fff;border:1px solid #dfe5ed}
.reference-public-page .rw-auth-card .auth-notice{margin:12px 0;padding:10px 12px;border-radius:10px;background:#fff4f1;border:1px solid #f0c6bc;color:#8b3d2f;font-size:13px}
.reference-public-page .rw-auth-card .auth-warning{margin:12px 0;padding:10px 12px;border-radius:10px;background:#fff9e9;border:1px solid #f0dfb9;color:#7a5b18;font-size:13px}
.reference-public-page .rw-auth-card .auth-meta{color:#718097;font-size:12px;line-height:1.55}
.reference-public-page .rw-auth-card .auth-links{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:16px;font-size:13px;font-weight:800;color:#28466f}
.reference-public-page .rw-auth-card .auth-link-button{border:0;background:none;padding:0;color:#28466f;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
@media(max-width:600px){.reference-public-page .rw-auth-shell{padding:40px 0 60px}.reference-public-page .rw-auth-card{padding:22px;border-radius:14px}.reference-public-page .rw-auth-card h1{font-size:27px}}

/* Shared reference footer on every public page. */
.reference-public-page .rw-footer{border-top:1px solid #efe6d7;background:#fff;color:#14234a;padding:22px 0 8px;position:relative}
.reference-public-page .rw-footer:before,.reference-public-page .rw-footer:after{content:"";position:absolute;width:160px;height:48px;border:1px solid rgba(255,188,30,.55);border-radius:50%;bottom:-20px}
.reference-public-page .rw-footer:before{left:-80px;transform:rotate(25deg)}
.reference-public-page .rw-footer:after{right:-80px;transform:rotate(-25deg)}
.reference-public-page .rw-footer-grid{width:min(1180px,calc(100% - 32px));max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.8fr 1fr 1.15fr 1.05fr 1.65fr;gap:28px}
.reference-public-page .rw-footer-brand .rw-logo{width:clamp(130px,12vw,175px)}
.reference-public-page .rw-footer-brand .rw-logo img{width:100%}
.reference-public-page .rw-footer p{font-size:clamp(8px,.68vw,11px);line-height:1.45;color:#77849a;max-width:280px}
.reference-public-page .rw-footer h4{font-size:clamp(9px,.72vw,12px);margin:3px 0 7px;color:#17264b}
.reference-public-page .rw-footer-grid>div:not(:first-child) a{display:block;font-size:clamp(8px,.64vw,10px);color:#66748b;margin:5px 0}
.reference-public-page .rw-social{display:flex;gap:6px;margin-top:9px}
.reference-public-page .rw-social a{width:20px;height:20px;border:1px solid #e1e5ea;border-radius:50%;display:grid;place-items:center;color:#596981;font-size:8px}
.reference-public-page .rw-newsletter{display:flex;gap:5px}
.reference-public-page .rw-newsletter input{height:30px;border:1px solid #e3e6eb;border-radius:6px;padding:0 8px;font-size:clamp(8px,.64vw,10px);width:145px}
.reference-public-page .rw-newsletter button{height:30px;border:0;background:#ffbd20;border-radius:6px;padding:0 10px;font-size:clamp(8px,.64vw,10px);font-weight:900;color:#17264a}
.reference-public-page .rw-footer-bottom{width:min(1180px,calc(100% - 32px));max-width:1180px;margin:14px auto 0;border-top:1px solid #eee9e0;padding-top:8px;display:flex;justify-content:space-between;color:#8490a3;font-size:clamp(7px,.56vw,9px)}
@media(max-width:900px){
  .reference-public-page .rw-header-actions{display:none}
  .reference-public-page .rw-menu{display:block;margin-left:auto}
  .reference-public-page .rw-nav{display:none}
  .reference-public-page .rw-nav.rw-mobile-open{display:flex;position:absolute;left:15px;right:15px;top:calc(100% + 4px);background:#fff;border:1px solid #ece6dc;border-radius:12px;padding:10px;box-shadow:0 14px 35px #12264a1c;flex-direction:column;align-items:stretch;gap:3px}
  .reference-public-page .rw-nav.rw-mobile-open a{padding:10px}
  .reference-public-page .rw-nav.rw-mobile-open a.active{padding:10px}
}
@media(max-width:600px){
  .reference-public-page .rw-header{height:58px}
  .reference-public-page .rw-logo{width:145px}
  .reference-public-page .rw-header-inner{width:calc(100% - 24px)!important}
  .reference-public-page .rw-footer-grid{width:calc(100% - 24px);grid-template-columns:1fr 1fr;gap:16px}
  .reference-public-page .rw-footer-brand{grid-column:1/-1}
  .reference-public-page .rw-footer-grid>div:last-child{grid-column:1/-1}
  .reference-public-page .rw-footer-grid>div:not(:first-child) a{font-size:8px}
  .reference-public-page .rw-footer h4{font-size:10px}
  .reference-public-page .rw-footer p{font-size:8px}
  .reference-public-page .rw-footer-bottom{width:calc(100% - 24px);flex-direction:column;gap:5px;font-size:7px}
  .reference-public-page .rw-footer:before,.reference-public-page .rw-footer:after{display:none}
}
@media(max-width:390px){.reference-public-page .rw-footer-grid{grid-template-columns:1fr}.reference-public-page .rw-footer-grid>div{grid-column:auto!important}}
