/* VAL Security reference footer – homepage only */
.val-reference-footer{position:relative;isolation:isolate;overflow:hidden;background:#020303!important;color:#eef0ef!important;border-top:1px solid rgba(224,177,64,.7)!important;letter-spacing:normal!important}
.val-reference-footer:before{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(ellipse at 48% 35%,rgba(184,125,25,.12),transparent 36%),linear-gradient(110deg,#020303,#071012 48%,#020303)}
.val-reference-footer .footer-main{max-width:2048px;padding:24px 2.3% 20px;grid-template-columns:minmax(0,1.08fr) minmax(0,.95fr) minmax(0,1.05fr) minmax(0,.9fr) minmax(0,1.08fr);gap:16px;align-items:stretch}
/* Desktop order matches the approved visual reference: learning, training, logo, service, legal. */
.val-reference-footer .footer-learning{grid-column:1;grid-row:1}
.val-reference-footer .footer-tests{grid-column:2;grid-row:1}
.val-reference-footer .footer-brand{grid-column:3;grid-row:1}
.val-reference-footer .footer-service{grid-column:4;grid-row:1}
.val-reference-footer .footer-legal-column{grid-column:5;grid-row:1}
.val-reference-footer .footer-column{min-width:0;align-self:stretch;border-radius:8px;background:linear-gradient(120deg,rgba(0,0,0,.48),rgba(0,0,0,.18));padding:0 0 2px}
.val-reference-footer .footer-column h2{font-size:clamp(13px,.95vw,19px);letter-spacing:.015em;padding:0 0 11px;margin:0 0 5px;border-bottom:1px solid rgba(221,174,61,.62);color:#eac052;font-weight:850}
.val-reference-footer .footer-column a{grid-template-columns:53px minmax(0,1fr) 16px;gap:12px;min-height:61px;padding:6px 0;border-bottom:1px solid rgba(210,180,103,.13);font-size:clamp(11px,.78vw,15px);line-height:1.22;color:#e6e8e6;text-decoration:none}
.val-reference-footer .footer-column a:last-child{border-bottom:0}
.val-reference-footer .footer-column a>span:nth-child(2){min-width:0}
.val-reference-footer .footer-column a small{display:block;color:#aeb7bd;font-size:.88em;line-height:1.3;margin-top:4px;font-weight:400}
.val-reference-footer .footer-column a>b{font-size:27px;color:#e8b83f;align-self:center}
.val-reference-footer .footer-column a:hover{color:#f4d16b;background:linear-gradient(90deg,rgba(230,180,59,.09),transparent)}
.val-reference-footer .footer-icon{width:51px;height:51px;border:1px solid #b78a25;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#e8bb4c;background:linear-gradient(145deg,#18140a,#030404 80%);box-shadow:inset 0 0 10px rgba(230,174,52,.08),0 0 10px rgba(220,165,38,.04)}
.val-reference-footer .footer-icon svg,.val-reference-footer .feature-symbol svg,.val-reference-footer .footer-socials svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.val-reference-footer .footer-brand{position:relative;min-height:100%;display:block;overflow:hidden;border:1px solid rgba(219,174,61,.7);border-radius:4px;background:#030607;box-shadow:0 0 18px rgba(0,0,0,.6),inset 0 0 25px rgba(215,159,36,.07)}
.val-reference-footer .footer-brand-scene{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.22),rgba(0,0,0,.65) 65%,#020303 100%),linear-gradient(90deg,rgba(0,0,0,.55),transparent 50%,rgba(0,0,0,.3)),url('../img/hero-val-security-controlroom.webp') center/cover no-repeat;opacity:.78;z-index:0}
.val-reference-footer .footer-brand-content{position:relative;z-index:1;height:100%;min-height:100%;padding:14px 16px 12px;display:flex;flex-direction:column;justify-content:center;text-align:center}
.val-reference-footer .footer-brand img{width:min(92%,390px);max-height:240px;object-fit:contain;margin:0 auto 3px;filter:drop-shadow(0 3px 8px #000)}
.val-reference-footer .footer-motivation{padding:0 0 14px;border-bottom:1px solid rgba(226,181,65,.58)}
.val-reference-footer .footer-eyebrow{display:block;font-size:clamp(9px,.68vw,13px);letter-spacing:.13em;color:#f0c652;font-weight:850;margin:2px 0 10px}
.val-reference-footer .footer-motivation h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(17px,1.55vw,29px);line-height:1.12;margin:0;color:#f4f0e6;font-weight:500;text-shadow:0 2px 6px #000}
.val-reference-footer .footer-motivation h2 strong{display:block;color:#e9bc4f;font-weight:800;margin-top:3px}
.val-reference-footer .footer-motivation p{font-size:clamp(9px,.68vw,13px);font-weight:850;letter-spacing:.11em;color:#e9edf0;margin:11px 0 0;text-transform:uppercase}
.val-reference-footer .footer-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:15px}
.val-reference-footer .footer-features>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;padding:0 5px;border-right:1px solid rgba(223,179,65,.35);min-width:0}
.val-reference-footer .footer-features>div:last-child{border-right:0}
.val-reference-footer .feature-symbol{width:44px;height:44px;border:1px solid #c99d37;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#efc34f;margin-bottom:2px;background:rgba(0,0,0,.4)}
.val-reference-footer .feature-symbol svg{width:25px;height:25px}
.val-reference-footer .footer-features b{font-size:clamp(8px,.6vw,11px);color:#f0f1ef;line-height:1.2;white-space:nowrap}
.val-reference-footer .footer-features small{font-size:clamp(8px,.59vw,11px);color:#b6c0c6;line-height:1.35;text-align:center}
.val-reference-footer .footer-bottom{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:22px;align-items:center;padding:14px max(240px, 12%) 14px 2.3%;border-top:1px solid rgba(220,171,49,.72);background:rgba(0,0,0,.72)}
.val-reference-footer .footer-legal{display:block;font-size:12px;color:#b9bec1;line-height:1.4}
.val-reference-footer .footer-motto{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:12px;white-space:nowrap;font-size:11px;letter-spacing:.1em;color:#d9ad3f;font-weight:800;max-width:40%;pointer-events:none}
.val-reference-footer .footer-motto i{display:block;height:1px;flex:1;min-width:28px;background:linear-gradient(90deg,transparent,#c59a35)}
.val-reference-footer .footer-motto i:last-child{background:linear-gradient(90deg,#c59a35,transparent)}
.val-reference-footer .footer-bottom-links{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:12px;color:#c5c8c9}
.val-reference-footer .footer-bottom-links a{color:inherit;text-decoration:none}.val-reference-footer .footer-bottom-links a:hover{color:#efc34f}
.val-reference-footer .footer-socials{display:flex;align-items:center;gap:15px;color:#e4e6e5}.val-reference-footer .footer-socials span{display:flex;align-items:center;justify-content:center}.val-reference-footer .footer-socials svg{width:22px;height:22px}
@media(max-width:1350px){.val-reference-footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:26px 22px}.val-reference-footer .footer-brand{grid-column:1/-1;grid-row:1;min-height:400px}.val-reference-footer .footer-learning{grid-column:1;grid-row:2}.val-reference-footer .footer-tests{grid-column:2;grid-row:2}.val-reference-footer .footer-service{grid-column:1;grid-row:3}.val-reference-footer .footer-legal-column{grid-column:2;grid-row:3}.val-reference-footer .footer-column a{grid-template-columns:44px minmax(0,1fr) 12px;gap:9px}.val-reference-footer .footer-icon{width:43px;height:43px}.val-reference-footer .footer-icon svg{width:23px;height:23px}}
@media(max-width:1050px){.val-reference-footer .footer-column a{font-size:13px;min-height:60px}.val-reference-footer .footer-bottom{grid-template-columns:1fr 1fr;gap:12px;padding-right:110px}.val-reference-footer .footer-motto{position:static;left:auto;top:auto;transform:none;grid-column:1/-1;grid-row:1;max-width:100%;pointer-events:auto}.val-reference-footer .footer-socials{margin-right:0}.val-reference-footer .footer-bottom-links{justify-content:flex-start}}
@media(max-width:600px){.val-reference-footer .footer-main{grid-template-columns:1fr;padding:22px 16px;gap:24px}.val-reference-footer .footer-brand,.val-reference-footer .footer-learning,.val-reference-footer .footer-tests,.val-reference-footer .footer-service,.val-reference-footer .footer-legal-column{grid-column:auto;grid-row:auto}.val-reference-footer .footer-brand{min-height:380px}.val-reference-footer .footer-brand-content{padding:16px 12px}.val-reference-footer .footer-brand img{width:min(78%,270px);max-height:170px}.val-reference-footer .footer-motivation h2{font-size:22px}.val-reference-footer .footer-features{margin-top:13px}.val-reference-footer .feature-symbol{width:36px;height:36px}.val-reference-footer .footer-features b{font-size:8px;white-space:normal}.val-reference-footer .footer-features small{font-size:9px}.val-reference-footer .footer-column h2{font-size:15px}.val-reference-footer .footer-column a{grid-template-columns:48px minmax(0,1fr) 12px;font-size:13px;min-height:58px}.val-reference-footer .footer-icon{width:45px;height:45px}.val-reference-footer .footer-bottom{grid-template-columns:1fr;padding:16px;justify-items:center;text-align:center}.val-reference-footer .footer-motto{position:static;left:auto;top:auto;transform:none;grid-column:auto;grid-row:auto;white-space:normal;gap:8px;font-size:10px;max-width:100%}.val-reference-footer .footer-bottom-links{justify-content:center;flex-wrap:wrap}.val-reference-footer .footer-socials{justify-content:center;margin-right:0}}

/* New glowing Streak Race entry in the learning/training footer column */
.val-reference-footer .footer-tests a.streak-race-link{position:relative;isolation:isolate;border:1px solid rgba(245,198,75,.88);border-radius:11px;padding:7px 9px;margin-top:9px;background:linear-gradient(100deg,rgba(80,53,7,.62),rgba(10,13,11,.98) 58%,rgba(82,56,9,.5));box-shadow:0 0 10px rgba(236,181,49,.34),inset 0 0 16px rgba(255,198,62,.1);animation:valStreakRaceGlow 2.2s ease-in-out infinite}
.val-reference-footer .footer-tests a.streak-race-link .footer-icon{border-color:#f0c34d;background:linear-gradient(145deg,#3c2b08,#050606 80%);box-shadow:0 0 13px rgba(246,195,65,.38),inset 0 0 10px rgba(255,202,66,.18)}
.val-reference-footer .footer-tests a.streak-race-link>span:nth-child(2){color:#ffdf78;font-weight:850;letter-spacing:.035em}
.val-reference-footer .footer-tests a.streak-race-link small{color:#e5d5a5;font-weight:500;letter-spacing:normal}
.val-reference-footer .footer-tests a.streak-race-link>b{color:#ffe18a}
.val-reference-footer .footer-tests a.streak-race-link:hover{transform:translateY(-1px);border-color:#ffe9a0;background:linear-gradient(100deg,rgba(119,80,10,.8),rgba(10,13,11,.98) 58%,rgba(119,80,10,.65));box-shadow:0 0 18px rgba(246,195,65,.55),inset 0 0 18px rgba(255,202,66,.15)}
@keyframes valStreakRaceGlow{0%,100%{box-shadow:0 0 7px rgba(236,181,49,.25),inset 0 0 12px rgba(255,198,62,.07)}50%{box-shadow:0 0 17px rgba(246,195,65,.52),inset 0 0 18px rgba(255,198,62,.14)}}
@media(prefers-reduced-motion:reduce){.val-reference-footer .footer-tests a.streak-race-link{animation:none}}
