:root{--navy:#082f5d;--navy2:#0c3d73;--blue:#164f8b;--red:#cf123c;--red2:#ec1d4c;--ink:#15243a;--muted:#64748b;--line:#dbe3ed;--soft:#f3f7fb;--white:#fff;--shadow:0 24px 70px rgba(8,47,93,.13)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:96px}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65;background:#fff}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button{font:inherit}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}.skip{position:fixed;left:16px;top:-80px;background:#fff;color:#000;padding:12px 18px;z-index:1000;border-radius:8px}.skip:focus{top:12px}.topbar{background:var(--navy);color:#cbd9e9;font-size:.78rem;letter-spacing:.04em}.topbar .wrap{min-height:36px;display:flex;justify-content:space-between;align-items:center}.topbar .wrap>div{display:flex;gap:12px;align-items:center}.topbar i{width:3px;height:3px;border-radius:50%;background:var(--red2)}.site-header{background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 1px 0 rgba(8,47,93,.1)}.nav-wrap{height:86px;display:flex;align-items:center;gap:28px}.brand{width:148px;flex:0 0 148px}.brand img{max-height:67px;object-fit:contain}.site-header nav{display:flex;gap:22px;align-items:center;margin-left:auto}.site-header nav a{font-weight:650;font-size:.91rem;color:#26364c;position:relative}.site-header nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:var(--red);transition:.25s}.site-header nav a:hover:after{right:0}.header-phone{display:flex;flex-direction:column;line-height:1.1;text-align:right;white-space:nowrap}.header-phone small{font-size:.72rem;color:var(--muted)}.header-phone strong{color:var(--navy);font-size:.95rem}.menu{display:none;background:none;border:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:0 24px;border-radius:8px;font-weight:800;transition:transform .22s,box-shadow .22s,background .22s}.btn:hover{transform:translateY(-2px)}.btn-red{background:var(--red);color:#fff;box-shadow:0 12px 28px rgba(207,18,60,.22)}.btn-red:hover{background:var(--red2);box-shadow:0 15px 32px rgba(207,18,60,.3)}.btn-outline{border:1px solid rgba(255,255,255,.32);color:#fff}.btn-outline:hover{background:rgba(255,255,255,.08)}.btn-navy{background:var(--navy);color:#fff}.full{width:100%}.hero{position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(3,33,65,.97) 0%,rgba(7,47,89,.9) 52%,rgba(8,47,93,.82) 100%),url('phoenix-driving-cover.png') center/cover no-repeat;color:#fff;padding:86px 0 70px;min-height:760px}.hero:before{content:"";position:absolute;width:600px;height:600px;border:1px solid rgba(255,255,255,.06);border-radius:50%;left:-310px;top:120px;box-shadow:0 0 0 80px rgba(255,255,255,.025),0 0 0 160px rgba(255,255,255,.018)}.hero-slash{position:absolute;right:-10%;top:0;width:48%;height:96px;background:var(--red);clip-path:polygon(22% 0,100% 0,100% 100%)}.hero-grid{display:grid;grid-template-columns:1fr .9fr;gap:70px;position:relative;z-index:2;align-items:start}.eyebrow,.kicker{font-size:.74rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase}.eyebrow{display:flex;align-items:center;gap:12px;color:#d8e5f5;margin-bottom:26px}.eyebrow span{background:var(--red);padding:6px 10px;border-radius:5px;color:#fff}.hero h1{font-size:clamp(3rem,5.1vw,5.15rem);line-height:.98;letter-spacing:-.055em;margin:0 0 26px;max-width:760px}.hero h1 em{font-style:normal;position:relative}.hero h1 em:after{content:"";position:absolute;height:5px;border-radius:4px;background:var(--red);left:0;right:0;bottom:-3px;transform:scaleX(.15);transform-origin:left;animation:underline 1s .8s forwards}.hero-copy>p{font-size:1.12rem;color:#bdd0e5;max-width:620px;margin:0 0 30px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.trust-row{display:flex;gap:0;margin-top:38px;border-top:1px solid rgba(255,255,255,.13);padding-top:25px}.trust-row div{display:flex;flex-direction:column;padding-right:28px;margin-right:28px;border-right:1px solid rgba(255,255,255,.13)}.trust-row div:last-child{border:0}.trust-row strong{font-size:1.2rem}.trust-row span{font-size:.72rem;color:#9fb6cf;text-transform:uppercase;letter-spacing:.08em}.matcher{background:rgba(29,78,127,.72);border:1px solid rgba(255,255,255,.25);border-radius:18px;padding:28px;backdrop-filter:blur(12px);box-shadow:0 30px 80px rgba(0,0,0,.2)}.matcher-head span{font-size:.72rem;letter-spacing:.18em;font-weight:800;color:#afc6df}.matcher-head h2{margin:4px 0 18px;font-size:1.7rem}.choice-list{position:relative;display:grid;gap:10px}.choice-list:before{content:"";position:absolute;width:1px;border-left:2px dashed rgba(255,255,255,.28);top:32px;bottom:32px;left:22px}.choice{position:relative;width:100%;text-align:left;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.025);border-radius:10px;padding:15px 16px;color:#dce8f5;cursor:pointer;display:flex;align-items:center;gap:14px;transition:.22s}.choice:hover,.choice.active{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.62);transform:translateX(4px)}.choice-icon{z-index:2;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#184d82;border:2px solid var(--red2);font-size:.66rem;font-weight:900}.choice.active .choice-icon{background:var(--red)}.match-result{border:1px solid rgba(255,255,255,.32);border-radius:12px;padding:20px;margin-top:14px;background:rgba(255,255,255,.08);animation:fade .3s}.result-label{display:flex;justify-content:space-between;color:#9fb8d3;font-size:.65rem;letter-spacing:.14em;font-weight:900}.match-result h3{font-size:1.22rem;line-height:1.2;margin:8px 0}.match-result p{color:#b9cde2;font-size:.88rem;margin:0 0 15px}.road{position:absolute;left:0;right:0;bottom:20px;height:85px;pointer-events:none}.road-line{position:absolute;height:2px;left:8%;right:8%;bottom:10px;background:repeating-linear-gradient(to right,rgba(255,255,255,.4) 0 30px,transparent 30px 60px)}.road img{position:absolute;width:150px;height:85px;object-fit:contain;bottom:0;left:8%;animation:drive 15s linear infinite;filter:drop-shadow(0 12px 14px rgba(0,0,0,.25))}.quick-links{position:relative;margin-top:-1px;background:#fff;box-shadow:var(--shadow)}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr)}.quick-grid>a{padding:30px;display:flex;align-items:center;gap:18px;border-right:1px solid var(--line);transition:.25s}.quick-grid>a:hover{background:var(--soft)}.quick-grid b{font-size:1.8rem;color:#c9d4e0}.quick-grid span{font-weight:800;line-height:1.2}.quick-grid small{display:block;color:var(--red);font-size:.65rem;letter-spacing:.15em;margin-bottom:5px}.quick-grid i{font-style:normal;margin-left:auto;color:var(--red);font-size:1.3rem}.section{padding:110px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:42px}.section-head>div{max-width:700px}.section-head>p{max-width:400px;color:var(--muted)}.kicker{color:var(--red);display:block;margin-bottom:12px}.section h2,.contact h2{font-size:clamp(2.25rem,4vw,3.7rem);line-height:1.05;letter-spacing:-.045em;margin:0}.programs{background:#f7f9fc}.program-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.program-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;padding:34px;transition:.3s;overflow:hidden}.program-card:hover{transform:translateY(-7px);box-shadow:var(--shadow);border-color:transparent}.program-card.featured{background:var(--navy);color:#fff;border-color:var(--navy);transform:translateY(-10px)}.program-card.featured p{color:#b6c8dc}.program-card.featured li{border-color:rgba(255,255,255,.12)}.popular,.best-label{position:absolute;right:0;top:0;background:var(--red);color:#fff;font-size:.62rem;font-weight:900;letter-spacing:.13em;padding:8px 15px;border-radius:0 12px 0 12px}.program-no{position:absolute;right:26px;bottom:-26px;color:rgba(9,48,92,.045);font-weight:900;font-size:8rem;line-height:1}.featured .program-no{color:rgba(255,255,255,.05)}.program-icon{font-size:2rem}.program-card h3{font-size:1.45rem;line-height:1.2;margin:18px 0 12px}.program-card p{color:var(--muted);min-height:78px}.program-card ul,.price-card ul{padding:0;list-style:none;margin:22px 0}.program-card li,.price-card li{border-top:1px solid #edf1f5;padding:9px 0;font-size:.9rem}.program-card li:before,.price-card li:before{content:"✓";color:var(--red);font-weight:900;margin-right:9px}.program-card>a{position:relative;font-weight:900;color:var(--red)}.program-card>a span{display:inline-block;transition:.2s}.program-card>a:hover span{transform:translateX(5px)}.dark-band{background:var(--navy);color:#fff;position:relative;overflow:hidden}.dark-band:after{content:"";position:absolute;right:-180px;bottom:-220px;width:540px;height:540px;border:90px solid rgba(255,255,255,.025);border-radius:50%}.process-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px;position:relative;z-index:2}.kicker.light{color:#9db8d6}.process-intro p{color:#b4c8dd;max-width:450px;margin:22px 0 30px}.steps{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.13)}.step{display:flex;gap:18px;padding:30px;background:var(--navy)}.step b{font-size:2.2rem;color:var(--red2);line-height:1}.step h3{margin:0 0 8px}.step p{margin:0;color:#aec1d6;font-size:.9rem}.center-head{text-align:center;max-width:800px;margin:0 auto 50px}.center-head p{color:var(--muted)}.price-grid{display:grid;grid-template-columns:repeat(3,1fr);align-items:stretch;gap:20px}.price-card{position:relative;border:1px solid var(--line);border-radius:14px;padding:34px;background:#fff;box-shadow:0 10px 40px rgba(8,47,93,.06);display:flex;flex-direction:column}.price-card.best{border:2px solid var(--red);transform:scale(1.035)}.plan{font-size:.7rem;font-weight:900;letter-spacing:.16em;color:var(--red)}.price-card h3{margin:8px 0 0;font-size:1.4rem}.price{font-size:3.2rem;color:var(--navy);font-weight:900;letter-spacing:-.05em;margin:18px 0 10px}.price sup{font-size:1.2rem;vertical-align:top;margin-top:11px;display:inline-block}.price small{font-size:1rem}.price-card>p{color:var(--muted);min-height:78px}.price-card ul{flex:1}.price-note{text-align:center;color:var(--muted);margin-top:38px}.price-note a{color:var(--red);font-weight:800}.about{background:var(--soft);overflow:hidden}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}.car-stage{min-height:430px;position:relative;display:grid;place-items:center}.car-stage:before{content:"";position:absolute;width:440px;height:440px;background:#fff;border-radius:50%}.car-ring{position:absolute;width:520px;height:520px;border:1px dashed #b8c9dc;border-radius:50%;animation:spin 30s linear infinite}.car-stage img{position:relative;width:90%;filter:drop-shadow(0 28px 20px rgba(8,47,93,.2));transition:.4s}.car-stage:hover img{transform:translateY(-8px) rotate(-1deg)}.badge{position:absolute;right:0;bottom:30px;background:var(--red);color:#fff;border-radius:50%;width:125px;height:125px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border:8px solid var(--soft);box-shadow:var(--shadow)}.badge strong{font-size:1.4rem}.badge span{font-size:.7rem;line-height:1.2}.about-copy p{color:var(--muted);font-size:1.06rem;margin:24px 0}.checks{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0}.checks span{font-weight:700;font-size:.9rem}.checks span::first-letter{color:var(--red)}.text-link{color:var(--navy);font-weight:900;border-bottom:2px solid var(--red);padding-bottom:5px}.reviews .rating{text-align:right;display:flex;flex-direction:column}.rating strong{font-size:2.7rem;line-height:1}.rating span,.review>div{color:#f3aa1c;letter-spacing:.1em}.rating small{color:var(--muted)}.review-track{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.review{margin:0;padding:32px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 44px rgba(8,47,93,.07)}.review p{font-size:1.02rem;line-height:1.7}.review footer{display:flex;flex-direction:column;border-top:1px solid var(--line);padding-top:18px}.review footer span{font-size:.8rem;color:var(--muted)}.faq{background:#f7f9fc}.faq-grid{display:grid;grid-template-columns:.65fr 1.35fr;gap:90px}.faq-intro{position:sticky;top:130px;align-self:start}.faq-intro p{color:var(--muted);margin:22px 0}.accordions{border-top:1px solid var(--line)}details{border-bottom:1px solid var(--line);background:#fff}summary{cursor:pointer;list-style:none;padding:23px 24px;font-weight:850;display:flex;justify-content:space-between;gap:20px}summary::-webkit-details-marker{display:none}summary span{font-size:1.4rem;color:var(--red);transition:.25s}details[open] summary span{transform:rotate(45deg)}details p{padding:0 24px 24px;margin:0;color:var(--muted);max-width:700px}.contact{background:var(--red);color:#fff;padding:86px 0;position:relative;overflow:hidden}.contact:after{content:"";position:absolute;right:-100px;top:-240px;width:560px;height:560px;border:100px solid rgba(255,255,255,.07);border-radius:50%}.contact-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:80px;position:relative;z-index:2}.contact-copy p{max-width:620px;color:#ffd7e1;font-size:1.05rem}.contact-actions{display:flex;gap:12px;margin-top:30px}.btn-white{background:#fff;color:var(--navy)}.btn-outline-white{border:1px solid rgba(255,255,255,.5);color:#fff}.contact-card{background:#fff;color:var(--ink);padding:32px;border-radius:16px;display:grid;grid-template-columns:1fr 1fr;gap:25px;box-shadow:0 24px 70px rgba(80,0,17,.25)}.contact-card small{display:block;color:var(--red);font-size:.65rem;letter-spacing:.15em;font-weight:900;margin-bottom:5px}.contact-card a,.contact-card address,.contact-card p{font-style:normal;font-weight:700;line-height:1.4;margin:0;font-size:.9rem}footer{background:#061e3b;color:#a9bdd3;padding:74px 0 20px}.footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr 1.35fr;gap:60px}.footer-grid>div:first-child img{width:165px;filter:brightness(0) invert(1);margin-bottom:20px}.footer-grid p{font-size:.87rem}.footer-grid h3{color:#fff;font-size:.85rem;text-transform:uppercase;letter-spacing:.12em}.footer-grid a{display:block;padding:5px 0;font-size:.86rem}.footer-grid a:hover{color:#fff}.copyright{border-top:1px solid rgba(255,255,255,.1);margin-top:50px;padding-top:20px;display:flex;justify-content:space-between;font-size:.76rem}.floating-call{position:fixed;right:24px;bottom:24px;z-index:45;background:var(--red);color:#fff;border-radius:50px;padding:12px 18px;box-shadow:0 12px 35px rgba(207,18,60,.35);display:flex;gap:9px;align-items:center;font-weight:900}.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}.reveal.visible{opacity:1;transform:none}@keyframes underline{to{transform:scaleX(1)}}@keyframes drive{0%{left:-12%}45%{left:48%}50%{transform:scaleX(1)}51%{transform:scaleX(-1)}95%{left:92%;transform:scaleX(-1)}100%{left:110%;transform:scaleX(-1)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade{from{opacity:.4;transform:translateY(6px)}}
@media(max-width:1050px){.nav-wrap{gap:18px}.site-header nav{gap:14px}.site-header nav a{font-size:.82rem}.header-phone{display:none}.hero-grid{gap:34px}.hero h1{font-size:4.25rem}.program-card{padding:26px}.about-grid,.faq-grid{gap:50px}}
@media(max-width:860px){.topbar{display:none}.nav-wrap{height:76px}.menu{display:flex;margin-left:auto;flex-direction:column;gap:4px;position:relative;padding:10px}.menu span{width:25px;height:2px;background:var(--navy)}.menu b{position:absolute;overflow:hidden;width:1px;height:1px}.site-header nav{position:absolute;left:0;right:0;top:76px;margin:0;background:#fff;padding:20px;display:none;flex-direction:column;align-items:flex-start;box-shadow:0 16px 30px rgba(0,0,0,.12)}.site-header nav.open{display:flex}.nav-cta{display:none}.hero{padding-top:62px}.hero-grid,.process-grid,.about-grid,.faq-grid,.contact-grid{grid-template-columns:1fr}.hero-grid{gap:45px}.hero{min-height:auto;padding-bottom:145px}.hero h1{font-size:clamp(3rem,10vw,4.7rem)}.matcher{max-width:650px}.quick-grid{grid-template-columns:1fr}.quick-grid>a{border-right:0;border-bottom:1px solid var(--line)}.program-grid,.price-grid,.review-track{grid-template-columns:1fr}.program-card.featured,.price-card.best{transform:none}.section{padding:80px 0}.section-head{align-items:start;flex-direction:column;gap:10px}.steps{grid-template-columns:1fr 1fr}.about-grid{gap:30px}.car-stage{order:2}.faq-intro{position:static}.contact-grid{gap:35px}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.wrap{width:min(100% - 28px,1180px)}.brand{width:125px;flex-basis:125px}.hero{padding-top:48px}.hero-slash{height:48px}.hero h1{font-size:2.85rem}.hero-copy>p{font-size:1rem}.hero-actions,.contact-actions{flex-direction:column}.hero-actions .btn,.contact-actions .btn{width:100%}.trust-row{justify-content:space-between}.trust-row div{padding-right:12px;margin-right:12px}.trust-row strong{font-size:1rem}.trust-row span{font-size:.6rem}.matcher{padding:18px}.matcher-head h2{font-size:1.4rem}.choice{font-size:.84rem;padding:12px}.quick-grid>a{padding:23px 8px}.section{padding:66px 0}.section h2,.contact h2{font-size:2.25rem}.steps{grid-template-columns:1fr}.car-stage{min-height:310px}.car-stage:before{width:280px;height:280px}.car-ring{width:330px;height:330px}.badge{width:95px;height:95px;right:5px}.checks{grid-template-columns:1fr}.contact-card{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr;gap:25px}.copyright{flex-direction:column;gap:5px}.floating-call{right:14px;bottom:14px}.road img{width:110px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.road img,.car-ring{animation:none}.hero h1 em:after{animation:none;transform:scaleX(1)}}

/* Scroll-driven course matcher and price calculator */
.selector-car{position:absolute;z-index:5;left:8px;top:12px;width:30px;height:44px;object-fit:contain;filter:drop-shadow(0 5px 8px rgba(0,0,0,.38));transition:top .62s cubic-bezier(.2,.8,.2,1),transform .2s ease;will-change:top,transform;pointer-events:none}
.choice{padding-left:52px}
.choice-icon{width:15px;height:15px;font-size:0;color:transparent}
.calc-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:18px;margin:14px 0}
.calc-grid>div{display:flex;flex-direction:column}
.calc-grid small{font-size:.62rem;letter-spacing:.14em;color:#9fb8d3;font-weight:900}
.calc-grid strong{font-size:1rem;line-height:1.25}
.calc-price{color:#fff;white-space:nowrap}
#result-from{display:block;margin-top:6px;font-size:.8rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;line-height:1.4;opacity:.65}#result-from:empty{display:none}
.road img{left:0;width:clamp(210px,24vw,330px);height:auto;max-width:none;animation:none;will-change:transform;transition:filter .2s;object-fit:contain;filter:drop-shadow(0 12px 14px rgba(0,0,0,.32))}
@media(max-width:560px){.choice{padding-left:48px}.calc-grid{grid-template-columns:1fr;gap:10px}.selector-car{left:5px;width:26px;height:39px}.road img{width:210px}}
@media(prefers-reduced-motion:reduce){.selector-car{transition:none}}

/* Refined hero color and precise car travel lane */
.hero{background:linear-gradient(90deg,rgba(4,45,88,.96) 0%,rgba(10,70,128,.90) 52%,rgba(14,81,145,.84) 100%),url('phoenix-driving-cover.png') center/cover no-repeat}
.matcher{background:rgba(28,88,148,.78);border-color:rgba(191,222,255,.42)}
.choice:hover,.choice.active{background:rgba(98,174,241,.18);border-color:rgba(214,235,255,.78)}
.match-result{background:rgba(95,159,222,.18);border-color:rgba(218,237,255,.55)}
.road{z-index:3;overflow:hidden;height:150px;bottom:8px}
.road img{bottom:8px}
@media(max-width:860px){.road img{width:250px}}

/* Original Jacob's bright-blue brand palette */
:root{--navy:#06325d;--navy2:#075995;--blue:#129cf3;--red:#129cf3;--red2:#35b4ff;--soft:#f2f9ff;--line:#cfe7f8;--shadow:0 24px 70px rgba(18,156,243,.16)}
.topbar,.contact,footer{background:#129cf3}
.site-header nav a:after{background:#129cf3}
.btn-red{background:#129cf3;box-shadow:0 12px 28px rgba(18,156,243,.27)}
.btn-red:hover{background:#087fc9;box-shadow:0 15px 32px rgba(18,156,243,.34)}
.hero{background:linear-gradient(90deg,rgba(3,51,96,.96) 0%,rgba(6,88,153,.90) 52%,rgba(18,156,243,.76) 100%),url('phoenix-driving-cover.png') center/cover no-repeat}
.hero-slash,.eyebrow span{background:#129cf3}
.matcher{background:rgba(12,91,157,.78);border-color:rgba(196,231,255,.5)}
.floating-call{background:#129cf3;box-shadow:0 12px 35px rgba(18,156,243,.38)}
footer,footer a,footer h3,footer .copyright{color:#fff}

.legacy-services{position:relative;padding:92px 0;background:linear-gradient(rgba(3,40,75,.58),rgba(3,40,75,.58)),url('phoenix-driving-cover.png') center/cover no-repeat;color:#fff}
.legacy-services-head{text-align:center;margin:0 auto 34px}
.legacy-services-head>span{font-size:.75rem;font-weight:900;letter-spacing:.18em;color:#9edbff}
.legacy-services-head h2{font-size:clamp(2.2rem,4vw,3.55rem);line-height:1.05;letter-spacing:-.04em;margin:8px 0 0}
.legacy-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.legacy-service-card{position:relative;min-height:330px;border-radius:20px;overflow:hidden;padding:28px;display:flex;flex-direction:column;justify-content:flex-end;isolation:isolate;border:1px solid rgba(255,255,255,.25);box-shadow:0 20px 44px rgba(0,0,0,.2);transition:transform .28s ease,box-shadow .28s ease;background-position:center;background-size:cover}
.legacy-service-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,20,40,.12),rgba(0,25,49,.88));z-index:-1;transition:background .28s ease}
.legacy-service-card:hover{transform:translateY(-8px);box-shadow:0 28px 55px rgba(0,0,0,.3)}
.legacy-service-card:hover:before{background:linear-gradient(180deg,rgba(18,156,243,.1),rgba(3,47,87,.94))}
.legacy-service-card span{font-size:1.5rem;font-weight:850;line-height:1.15}
.legacy-service-card small{color:#9edbff;font-weight:800;margin-top:10px}
.legacy-service-card.lesson{background-image:url('gallery-1.jpg')}
.legacy-service-card.permit{background-image:url('gallery-2.jpg')}
.legacy-service-card.in-person{background-image:url('gallery-3.jpg')}
.legacy-service-card.online{background-image:url('gallery-4.jpg')}
@media(max-width:900px){.legacy-service-grid{grid-template-columns:1fr 1fr}.legacy-service-card{min-height:285px}}
@media(max-width:560px){.legacy-services{padding:66px 0}.legacy-service-grid{grid-template-columns:1fr}.legacy-service-card{min-height:260px}}

/* Exact blue sampled from the original website: #0496FF */
:root{--navy:#0496ff;--navy2:#0496ff;--blue:#0496ff;--red:#0496ff;--red2:#0496ff;--soft:#f1f9ff;--line:#c9e8ff;--shadow:0 24px 70px rgba(4,150,255,.18)}
.topbar,.contact,footer,.dark-band,.step,.program-card.featured{background:#0496ff}
.hero{background:linear-gradient(rgba(4,150,255,.88),rgba(4,150,255,.88)),url('phoenix-driving-cover.png') center/cover no-repeat}
.hero-slash,.eyebrow span,.btn-red,.floating-call{background:#0496ff}
.btn-red:hover{background:#007fdc}
.matcher{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.58)}
.choice:hover,.choice.active,.match-result{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.72)}
.legacy-services{background:linear-gradient(rgba(4,150,255,.54),rgba(4,150,255,.54)),url('phoenix-driving-cover.png') center/cover no-repeat}
.legacy-service-card:before{background:linear-gradient(180deg,rgba(4,150,255,.05),rgba(4,89,151,.82))}
.legacy-service-card:hover:before{background:linear-gradient(180deg,rgba(4,150,255,.12),rgba(4,150,255,.9))}

/* 2026 visual system refresh — bright Arizona confidence */
:root{
  --brand:#0496ff;
  --brand-deep:#0076ca;
  --ink:#10233f;
  --muted:#5e718a;
  --soft:#f2f9ff;
  --line:#c9e8ff;
  --red:#ed1b3a;
  --red2:#ff3d58;
  --navy:#10233f;
  --navy2:#0b71bd;
  --blue:#0496ff;
  --shadow:0 24px 70px rgba(9,91,151,.14)
}
body{font-family:"Avenir Next",Avenir,"Segoe UI",ui-sans-serif,system-ui,sans-serif;color:var(--ink);letter-spacing:-.006em}
.topbar{background:#0588e5;color:#fff}
.site-header{box-shadow:0 1px 0 #d8ecfa,0 10px 35px rgba(8,86,142,.06)}
.nav-wrap{height:92px}
.site-header nav{gap:26px}
.site-header nav a{font-size:.88rem;font-weight:750;color:#18304f}
.site-header nav a:after{background:var(--brand);height:3px;border-radius:3px}
.header-phone strong{color:#10233f}
.btn{border-radius:12px;min-height:54px;letter-spacing:-.01em}
.btn-red,.floating-call{background:var(--red);box-shadow:0 14px 32px rgba(237,27,58,.24)}
.btn-red:hover{background:#cf1230;box-shadow:0 18px 36px rgba(237,27,58,.28)}
.hero{background:linear-gradient(105deg,rgba(0,125,213,.97) 0%,rgba(4,150,255,.92) 50%,rgba(4,150,255,.82) 100%),url('phoenix-driving-cover.png') center/cover no-repeat;padding-top:78px}
.hero:before{border-color:rgba(255,255,255,.13);box-shadow:0 0 0 80px rgba(255,255,255,.04),0 0 0 160px rgba(255,255,255,.025)}
.hero-slash{background:var(--red);height:74px}
.eyebrow span{background:#fff;color:#057dce;border-radius:30px;padding:7px 13px}
.hero h1{font-weight:850;letter-spacing:-.066em;text-wrap:balance}
.hero-copy>p{color:rgba(255,255,255,.88);font-size:1.13rem;line-height:1.72}
.trust-row span,.matcher-head span,.result-label,.calc-grid small{color:rgba(255,255,255,.72)}
.matcher{background:rgba(0,93,158,.26);border:1px solid rgba(255,255,255,.54);border-radius:26px;padding:30px;box-shadow:0 30px 75px rgba(0,68,115,.22)}
.choice{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.07);border-radius:14px;color:#fff}
.choice:hover,.choice.active{background:#fff;color:#10233f;border-color:#fff;box-shadow:0 12px 28px rgba(0,67,114,.18)}
.choice-icon{border-color:var(--red);background:transparent}
.choice.active .choice-icon{background:var(--red)}
.match-result{background:#fff;color:#10233f;border:0;border-radius:18px;box-shadow:0 20px 40px rgba(0,67,114,.16)}
.match-result p{color:#5e718a}.match-result .result-label,.match-result .calc-grid small{color:#637994}.match-result .calc-price{color:#10233f}
.road-line{background:repeating-linear-gradient(to right,rgba(255,255,255,.62) 0 34px,transparent 34px 68px)}
.quick-links{box-shadow:0 20px 45px rgba(5,89,146,.08)}
.quick-grid>a{padding:34px 30px}.quick-grid>a:hover{background:#eef8ff}.quick-grid b{color:#b9def7}.quick-grid small,.quick-grid i{color:var(--brand)}

.legacy-services{padding:104px 0 112px;background:linear-gradient(180deg,#fff 0%,#eef8ff 100%);color:var(--ink);overflow:hidden}
.legacy-services:before{content:"";position:absolute;width:500px;height:500px;border:80px solid rgba(4,150,255,.055);border-radius:50%;right:-250px;top:-240px}
.legacy-services-head{text-align:left;display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:24px;margin-bottom:42px;position:relative}
.legacy-services-head>span{grid-column:1/-1;color:var(--brand);font-size:.72rem}
.legacy-services-head h2{font-size:clamp(2.5rem,4.8vw,4.3rem);max-width:650px;color:var(--ink);font-weight:850;letter-spacing:-.055em}
.legacy-services-head p{margin:0 0 7px;color:var(--muted);max-width:500px;font-size:1rem}
.legacy-service-grid{grid-template-columns:repeat(2,1fr);gap:22px;position:relative}
.legacy-service-card{min-height:360px;border-radius:28px;padding:32px;border:0;box-shadow:0 20px 55px rgba(8,78,128,.16);background-size:cover;background-position:center;justify-content:flex-end}
.legacy-service-card:before{background:linear-gradient(180deg,rgba(5,72,116,.02) 18%,rgba(5,45,75,.82) 100%)}
.legacy-service-card:after{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.32);border-radius:inherit;pointer-events:none}
.legacy-service-card:hover{transform:translateY(-8px);box-shadow:0 28px 65px rgba(8,78,128,.23)}
.legacy-service-card:hover:before{background:linear-gradient(180deg,rgba(4,150,255,.04) 8%,rgba(0,93,158,.88) 100%)}
.legacy-service-card>b{position:absolute;left:30px;top:28px;width:42px;height:42px;display:grid;place-items:center;background:#fff;color:var(--brand);border-radius:50%;font-size:.78rem;box-shadow:0 10px 25px rgba(0,0,0,.14)}
.legacy-service-card span{font-size:clamp(1.65rem,3vw,2.2rem);color:#fff;letter-spacing:-.04em;font-weight:850;max-width:430px}
.legacy-service-card small{display:flex;align-items:center;justify-content:space-between;color:#fff;margin-top:14px;font-size:.9rem;border-top:1px solid rgba(255,255,255,.28);padding-top:16px}
.legacy-service-card small i{font-style:normal;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--brand);transition:transform .2s}
.legacy-service-card:hover small i{transform:translateX(4px)}
.legacy-service-card.lesson,.legacy-service-card.in-person{background-image:url('lesson-phoenix.webp')}
.legacy-service-card.permit,.legacy-service-card.online{background-image:url('permit-study-phoenix.webp')}
.legacy-service-card.in-person{background-position:center 42%}.legacy-service-card.online{background-position:center 45%}

.section{padding:104px 0}.section h2,.contact h2{font-weight:850;color:var(--ink)}
.kicker{color:var(--brand)}
.programs{background:#fff}
.program-card{border:1px solid #d8ebf8;border-radius:22px;padding:36px;box-shadow:0 12px 38px rgba(8,79,128,.06)}
.program-card.featured{background:var(--brand);border-color:var(--brand);transform:translateY(-8px)}
.program-card.featured h3{color:#fff}.program-card.featured p{color:rgba(255,255,255,.82)}.program-card.featured li{color:#fff}
.program-card>a{color:var(--brand)}.program-card.featured>a{color:#fff}
.popular,.best-label{background:var(--red)}
.dark-band{background:var(--brand)}
.step{background:#fff;color:var(--ink)}.step p{color:var(--muted)}.step b{color:var(--brand)}
.steps{gap:12px;background:transparent;border:0}.step{border-radius:18px;box-shadow:0 16px 32px rgba(0,80,135,.15)}
.kicker.light,.process-intro p{color:rgba(255,255,255,.8)}
.price-card{border-radius:22px;border-color:#d8ebf8}.price-card.best{border-color:var(--brand)}.price,.price-card h3{color:var(--ink)}
.about{background:#eef8ff}.car-stage:before{background:#fff}.car-ring{border-color:#8dd0ff}.badge{background:var(--brand);border-color:#eef8ff}
.review{border-radius:20px;border-color:#d8ebf8;box-shadow:0 16px 44px rgba(8,79,128,.08)}
.faq{background:#eef8ff}.faq details{border-radius:12px;margin-bottom:10px;border:1px solid #d8ebf8;overflow:hidden}
.contact{background:var(--brand)}.contact h2{color:#fff}.contact-copy p{color:rgba(255,255,255,.84)}
footer{background:#058feF;color:#fff}

@media(max-width:900px){.legacy-services-head{grid-template-columns:1fr}.legacy-services-head>span{grid-column:auto}.legacy-service-grid{grid-template-columns:1fr 1fr}.legacy-service-card{min-height:310px}.nav-wrap{height:80px}}
@media(max-width:560px){.legacy-services{padding:72px 0}.legacy-service-grid{grid-template-columns:1fr}.legacy-service-card{min-height:300px}.legacy-services-head h2{font-size:2.65rem}.hero{padding-top:52px}.matcher{border-radius:20px}.quick-grid>a{padding:24px 10px}}

/* Professional UI/UX rebuild: disciplined typography, spacing and hierarchy */
body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;letter-spacing:0;background:#fff}
h1,h2,h3,.btn,.site-header nav a{font-family:"Arial Nova","Helvetica Neue",Arial,sans-serif}
.wrap{width:min(1240px,calc(100% - 48px))}
.topbar{background:#10233f;color:#dcecff}
.topbar .wrap{min-height:34px}
.site-header{background:rgba(255,255,255,.98);box-shadow:0 1px 0 #dbeaf5}
.nav-wrap{height:88px;gap:24px}
.brand{width:158px;flex-basis:158px}
.site-header nav{gap:24px}.site-header nav a{font-size:.875rem;font-weight:700;letter-spacing:-.015em}
.header-phone small{color:#71839a}.header-phone strong{color:#10233f;font-size:1rem}
.nav-cta{min-height:48px;padding-inline:22px}
.btn{border-radius:9px;font-size:.93rem;min-height:52px;padding-inline:24px}
.btn-red{background:#ed1b3a;box-shadow:none}.btn-red:hover{background:#ca1230;box-shadow:0 10px 25px rgba(202,18,48,.18)}
.hero{min-height:720px;padding:76px 0 88px;background:linear-gradient(118deg,#048feF 0%,#0496ff 58%,#20a5ff 100%)}
.hero:before{width:720px;height:720px;left:-410px;top:40px;border-color:rgba(255,255,255,.14);box-shadow:0 0 0 90px rgba(255,255,255,.038),0 0 0 180px rgba(255,255,255,.02)}
.hero:after{content:"";position:absolute;right:-180px;bottom:-330px;width:720px;height:720px;border:120px solid rgba(255,255,255,.055);border-radius:50%}
.hero-slash{background:#ed1b3a;height:62px;width:42%;opacity:1}
.hero-grid{grid-template-columns:1.02fr .98fr;gap:72px;align-items:center}
.eyebrow{color:#fff;margin-bottom:22px;font-size:.7rem}.eyebrow span{background:#fff;color:#067cc9;box-shadow:none}
.hero h1{font-size:clamp(3.7rem,6vw,5.65rem);line-height:.94;font-weight:800;letter-spacing:-.07em;margin-bottom:24px;max-width:690px}
.hero h1 em:after{height:4px;background:#ed1b3a}
.hero-copy>p{font-size:1.12rem;line-height:1.65;max-width:580px;color:rgba(255,255,255,.9)}
.btn-outline{border-color:rgba(255,255,255,.72)}
.trust-row{border-top-color:rgba(255,255,255,.28);margin-top:36px;padding-top:22px}
.trust-row div{border-right-color:rgba(255,255,255,.28)}.trust-row strong{font-size:1.3rem}.trust-row span{color:rgba(255,255,255,.73)}
.matcher{background:#fff;border:0;border-radius:20px;padding:28px;color:#10233f;box-shadow:0 28px 80px rgba(0,71,121,.22);backdrop-filter:none}
.matcher-head span{color:#0496ff}.matcher-head h2{font-size:1.75rem;color:#10233f;margin-top:6px}
.choice-list:before{border-left-color:#b7dcf6}
.choice{border:1px solid #d8e9f5;background:#f8fcff;color:#243952;border-radius:10px;padding-block:14px}
.choice:hover,.choice.active{background:#edf8ff;color:#10233f;border-color:#0496ff;box-shadow:none;transform:translateX(3px)}
.choice-icon{background:#fff;border-color:#0496ff}.choice.active .choice-icon{background:#ed1b3a;border-color:#ed1b3a}
.match-result{background:#10233f;color:#fff;border-radius:12px;box-shadow:none;margin-top:12px}
.match-result .result-label,.match-result .calc-grid small{color:#8fcfff}.match-result .calc-price{color:#fff}.match-result p{color:#c5d4e5}
.match-result .btn-red{background:#ed1b3a}
.road{height:138px;bottom:0}.road img{width:clamp(190px,20vw,295px);bottom:7px}.road-line{left:6%;right:6%;bottom:9px}

.quick-links{box-shadow:0 12px 36px rgba(16,35,63,.08);border-bottom:1px solid #e0edf6}
.quick-grid>a{min-height:116px;padding:28px 30px}.quick-grid>a:hover{background:#f4faff}.quick-grid b{font-size:1.45rem;color:#a8cde7}.quick-grid span{font-size:.98rem}.quick-grid small{color:#0496ff}

.legacy-services{padding:112px 0 120px;background:#f4f9fd;color:#10233f}
.legacy-services:before{display:none}
.legacy-services-head{grid-template-columns:1.15fr .85fr;gap:70px;margin-bottom:48px}
.legacy-services-head>span{color:#0496ff}.legacy-services-head h2{font-size:clamp(2.7rem,4.5vw,4.4rem);line-height:.98;letter-spacing:-.06em;font-weight:800}
.legacy-services-head p{color:#60738b;font-size:1.04rem;line-height:1.7;max-width:460px}
.legacy-service-grid{grid-template-columns:repeat(2,1fr);gap:18px}
.legacy-service-card{min-height:330px;padding:34px;background:#fff!important;border:1px solid #d9e8f3;border-radius:18px;box-shadow:none;color:#10233f;justify-content:flex-start;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.legacy-service-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#0496ff;z-index:-1;border-radius:18px 0 0 18px}
.legacy-service-card:after{display:none}
.legacy-service-card:hover{transform:translateY(-5px);border-color:#a9d8f7;box-shadow:0 22px 52px rgba(16,76,117,.12)}
.legacy-service-card:hover:before{background:#0496ff}
.legacy-service-card.permit:before{background:#ed1b3a}.legacy-service-card.in-person:before{background:#f6b800}.legacy-service-card.online:before{background:#10233f}
.service-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:14px;background:#e8f6ff;color:#0496ff;margin-bottom:34px}
.service-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.permit .service-icon{background:#fff0f3;color:#ed1b3a}.in-person .service-icon{background:#fff8de;color:#d59e00}.online .service-icon{background:#eaf0f6;color:#10233f}
.legacy-service-card>b{left:auto;right:30px;top:28px;width:auto;height:auto;background:transparent;color:#9db3c4;border-radius:0;font-size:.72rem;letter-spacing:.16em;box-shadow:none}
.legacy-service-card span{font-size:1.65rem;line-height:1.15;color:#10233f;letter-spacing:-.045em;max-width:460px}
.legacy-service-card p{color:#64778d;margin:14px 0 24px;max-width:480px;line-height:1.62;font-size:.94rem}
.legacy-service-card small{margin-top:auto;padding-top:17px;border-top:1px solid #e3edf4;color:#10233f;font-size:.84rem;font-weight:800}
.legacy-service-card small i{background:#0496ff;color:#fff;width:34px;height:34px}
.permit small i{background:#ed1b3a}.in-person small i{background:#e6a900}.online small i{background:#10233f}

.section{padding:112px 0}.section-head{margin-bottom:48px}.section h2,.contact h2{font-size:clamp(2.55rem,4.4vw,4.15rem);font-weight:800;letter-spacing:-.055em}
.dark-band{background:#10233f}.dark-band:after{border-color:rgba(4,150,255,.1)}
.process-grid{gap:84px}.steps{gap:12px}.step{background:#16304f;color:#fff;border:1px solid rgba(255,255,255,.08);box-shadow:none}.step p{color:#b7c7da}.step b{color:#44b3ff}
.kicker.light{color:#79c8ff}.process-intro p{color:#bdcad9}
.pricing{background:#fff}.price-grid{gap:18px}.price-card{border-radius:16px;box-shadow:none;border:1px solid #dce8f1}.price-card:hover{box-shadow:0 18px 45px rgba(16,76,117,.1)}.price-card.best{border:2px solid #0496ff;transform:translateY(-6px)}
.best-label,.popular{background:#0496ff}.plan{color:#0496ff}.price{color:#10233f}.price-card .btn-navy{background:#10233f}
.about{background:#f4f9fd}.car-stage:before{width:410px;height:410px}.car-ring{width:490px;height:490px}.badge{background:#0496ff}
.reviews{background:#fff}.review-track{gap:18px}.review{border-radius:16px;box-shadow:none;border-color:#dce8f1}.review p{color:#33485f}
.faq{background:#f4f9fd}.faq-grid{gap:80px}.faq details{background:#fff;border-color:#dbe8f2}.faq summary{padding:22px 24px}
.contact{background:#0496ff}.contact h2{color:#fff}.contact-copy p{color:rgba(255,255,255,.85)}.contact-card{border-radius:16px;box-shadow:0 24px 60px rgba(0,70,118,.2)}
footer{background:#10233f;color:#bed0e3}.footer-grid h3{color:#fff}.footer-grid a:hover{color:#5fc0ff}
.floating-call{background:#ed1b3a}

@media(max-width:1050px){.hero-grid{gap:38px}.hero h1{font-size:4.35rem}.site-header nav{gap:15px}.site-header nav a{font-size:.8rem}.legacy-services-head{gap:34px}}
@media(max-width:860px){.wrap{width:min(100% - 32px,1240px)}.hero{min-height:auto;padding:58px 0 146px}.hero-grid{grid-template-columns:1fr}.hero h1{font-size:clamp(3.2rem,11vw,4.6rem)}.matcher{max-width:none}.legacy-services{padding:82px 0}.legacy-services-head{grid-template-columns:1fr;gap:16px}.legacy-service-grid{grid-template-columns:1fr 1fr}.legacy-service-card{min-height:320px}.price-card.best{transform:none}}
@media(max-width:620px){.legacy-service-grid{grid-template-columns:1fr}.legacy-service-card{min-height:300px;padding:28px}.service-icon{margin-bottom:28px}.legacy-services-head h2{font-size:2.8rem}.hero h1{font-size:3.1rem}.hero-copy>p{font-size:1rem}.trust-row div{padding-right:10px;margin-right:10px}.matcher{padding:20px}.quick-grid>a{min-height:auto}.road img{width:205px}}

/* Premium image, animation and compact service showcase */
html{scroll-padding-top:112px}
.legacy-services{scroll-margin-top:112px;padding:100px 0 108px}
.legacy-services-head{display:flex;align-items:flex-end;justify-content:space-between;gap:70px;margin-bottom:42px}
.legacy-services-head>span{position:absolute;transform:translateY(-62px)}
.legacy-services-head h2{font-size:clamp(2.65rem,4vw,3.85rem);max-width:600px}
.legacy-services-head p{max-width:475px;margin-bottom:4px}
.legacy-service-grid{grid-template-columns:repeat(4,1fr);gap:14px}
.legacy-service-card{min-height:315px;padding:27px 24px 24px;border-radius:14px}
.legacy-service-card:before{width:4px;border-radius:14px 0 0 14px}
.service-icon{width:52px;height:52px;border-radius:12px;margin-bottom:30px}.service-icon svg{width:27px;height:27px}
.legacy-service-card>b{right:22px;top:24px}
.legacy-service-card span{font-size:1.3rem;line-height:1.18}
.legacy-service-card p{font-size:.86rem;line-height:1.55;margin:12px 0 18px}
.legacy-service-card small{font-size:.76rem;gap:10px}.legacy-service-card small i{flex:0 0 32px;width:32px;height:32px}
.car-stage{min-height:460px;isolation:isolate}
.car-stage:before,.car-ring{display:none}
.car-glow{position:absolute;width:430px;height:430px;border-radius:50%;background:radial-gradient(circle,rgba(4,150,255,.2),rgba(4,150,255,.04) 58%,transparent 59%);z-index:-1;animation:carPulse 4s ease-in-out infinite}
.car-stage img{width:108%;max-width:none;filter:drop-shadow(0 28px 22px rgba(16,35,63,.24));animation:carFloat 4.5s ease-in-out infinite;transform-origin:center}
.car-stage:hover img{transform:none}
.badge{right:-4px;bottom:42px;width:118px;height:118px;border-width:6px;background:#10233f}
@keyframes carFloat{0%,100%{transform:translateY(0) rotate(-.4deg)}50%{transform:translateY(-13px) rotate(.35deg)}}
@keyframes carPulse{0%,100%{transform:scale(.96);opacity:.7}50%{transform:scale(1.05);opacity:1}}
@media(max-width:1050px){.legacy-service-grid{grid-template-columns:repeat(2,1fr)}.legacy-service-card{min-height:285px}}
@media(max-width:860px){html{scroll-padding-top:88px}.legacy-services{scroll-margin-top:88px}.legacy-services-head{display:grid;grid-template-columns:1fr}.legacy-services-head>span{position:static;transform:none}.car-stage img{width:100%}}
@media(max-width:620px){.legacy-service-grid{grid-template-columns:1fr}.legacy-service-card{min-height:275px}.legacy-services-head{gap:14px}.car-stage{min-height:340px}.car-glow{width:300px;height:300px}.badge{width:92px;height:92px;right:0}.badge strong{font-size:1.1rem}}
@media(prefers-reduced-motion:reduce){.car-stage img,.car-glow{animation:none}}
.program-icon{width:46px;height:46px;border-radius:12px;background:#e8f6ff;color:#0496ff;display:grid;place-items:center;font-size:.75rem;font-weight:900;letter-spacing:.12em}

/* Preserve the full-color Jacob's traffic-light mark in the footer. */
.footer-grid>div:first-child img{filter:none!important;background:#fff;border-radius:10px;padding:10px 12px}
.program-card.featured .program-icon{background:rgba(255,255,255,.16);color:#fff}

/* Reference-style four-service navigation strip */
.legacy-services{padding:78px 0 88px;background:#f5f8fb;border-top:1px solid #deebf4;border-bottom:4px solid #0496ff}
.legacy-services-head{display:grid;grid-template-columns:1.1fr .9fr;align-items:end;gap:56px;margin-bottom:34px}
.legacy-services-head>span{position:static;transform:none;grid-column:1/-1;color:#0496ff;margin-bottom:-38px;font-weight:900;letter-spacing:.18em;font-size:.7rem}
.legacy-services-head h2{font-size:clamp(2.35rem,3.8vw,3.65rem);max-width:720px;line-height:1;letter-spacing:-.055em;margin:0}
.legacy-services-head p{max-width:520px;margin:0 0 3px;color:#60738b;font-size:1rem;line-height:1.65}
.legacy-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#fff;border:1px solid #d9e6ef;border-radius:16px;overflow:hidden;box-shadow:0 16px 45px rgba(16,76,117,.09)}
.legacy-service-card{min-height:154px!important;padding:27px 24px!important;border:0!important;border-right:1px solid #dce7ef!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;color:#10233f!important;display:grid!important;grid-template-columns:56px 1fr 22px;align-items:center;gap:15px;position:relative;overflow:hidden}
.legacy-service-card:last-child{border-right:0!important}.legacy-service-card:before{content:"";position:absolute;left:0;right:0;bottom:0;top:auto;width:auto;height:4px;background:#0496ff;transform:scaleX(0);transform-origin:left;transition:transform .25s}.legacy-service-card.permit:before{background:#ed1b3a}.legacy-service-card.in-person:before{background:#f6b800}.legacy-service-card.online:before{background:#10233f}.legacy-service-card:after,.legacy-service-card>b,.legacy-service-card>small{display:none}.legacy-service-card:hover{transform:none!important;background:#f8fcff!important;box-shadow:none!important}.legacy-service-card:hover:before{transform:scaleX(1)}
.legacy-service-card .service-icon{width:54px;height:54px;margin:0;border-radius:0;background:transparent;color:#0496ff}.legacy-service-card.permit .service-icon{color:#ed1b3a}.legacy-service-card.in-person .service-icon{color:#d59e00}.legacy-service-card.online .service-icon{color:#10233f}.legacy-service-card .service-icon svg{width:42px;height:42px;stroke-width:1.7}
.service-copy{min-width:0}.legacy-service-card .service-copy span{display:block;color:#102f57;font-size:1.08rem;line-height:1.2;font-weight:850;letter-spacing:-.025em}.legacy-service-card .service-copy p{color:#394b5e;font-size:.85rem;line-height:1.5;margin:7px 0 0;max-width:245px}.service-arrow{font-style:normal;color:#9bb0c2;font-size:1.15rem;transition:transform .2s,color .2s}.legacy-service-card:hover .service-arrow{color:#0496ff;transform:translateX(4px)}
@media(max-width:1050px){.legacy-service-grid{grid-template-columns:1fr 1fr}.legacy-service-card:nth-child(2){border-right:0!important}.legacy-service-card:nth-child(-n+2){border-bottom:1px solid #dce7ef!important}}
@media(max-width:760px){.legacy-services-head{grid-template-columns:1fr;gap:12px}.legacy-services-head>span{grid-column:auto;margin-bottom:0}.legacy-service-grid{grid-template-columns:1fr}.legacy-service-card{border-right:0!important;border-bottom:1px solid #dce7ef!important;min-height:132px!important}.legacy-service-card:last-child{border-bottom:0!important}.legacy-service-card:nth-child(2){border-bottom:1px solid #dce7ef!important}}
@media(max-width:480px){.legacy-service-card{grid-template-columns:48px 1fr 18px;padding:22px 18px!important}.legacy-service-card .service-icon{width:46px;height:46px}.legacy-service-card .service-icon svg{width:36px;height:36px}}

/* Header redesign: four primary service paths. */
.site-header{position:sticky;top:0;z-index:50;transition:box-shadow .22s ease}
.header-services{display:block!important;background:#fff;border-top:1px solid #e3edf4;border-bottom:3px solid #0496ff;margin:0!important}
.header-services-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.header-services-grid>a{min-width:0;min-height:92px;display:grid;grid-template-columns:42px 1fr 18px;align-items:center;gap:12px;padding:15px 20px;border-right:1px solid #dce8f1;color:#10233f;position:relative;transition:background .2s,color .2s}
.header-services-grid>a:last-child{border-right:0}.header-services-grid>a:after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:3px;background:#ed1b3a;transform:scaleX(0);transition:transform .22s;transform-origin:left}.header-services-grid>a:hover{background:#f3f9fd}.header-services-grid>a:hover:after{transform:scaleX(1)}
.header-service-icon{width:40px;height:40px;display:grid;place-items:center;color:#ed1b3a;font-weight:900;font-size:.72rem;letter-spacing:.08em}.header-service-icon svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-services-grid>a:nth-child(1) .header-service-icon{color:#0496ff}.header-services-grid>a:nth-child(3) .header-service-icon{color:#d59e00}.header-services-grid>a:nth-child(4) .header-service-icon{color:#10233f}
.header-services-grid strong{display:block;font-size:.9rem;line-height:1.15;font-weight:850;letter-spacing:-.02em}.header-services-grid small{display:block;color:#6a7d92;font-size:.7rem;line-height:1.35;margin-top:5px}.header-services-grid i{font-style:normal;color:#a2b4c3;transition:transform .2s}.header-services-grid>a:hover i{transform:translateX(4px);color:#ed1b3a}
.copyright a{color:#fff;font-weight:800}.copyright a:hover{text-decoration:underline}
.site-header.scrolled{box-shadow:0 14px 34px rgba(8,47,93,.24)}
.site-header.scrolled .nav-wrap{height:70px;background:#083b78;color:#fff;transition:height .22s ease,background .22s ease}
.site-header.scrolled .brand{background:#fff;border-radius:7px;padding:4px 8px;width:132px;flex-basis:132px}
.site-header.scrolled nav#nav a,.site-header.scrolled nav#site-nav a{color:#fff}.site-header.scrolled .header-phone small{color:#bcd7ef}.site-header.scrolled .header-phone strong{color:#fff}
.site-header nav a.current:after{right:0}.site-header.scrolled nav a.current{color:#fff}.site-header.scrolled nav a:after{background:#fff}
.site-header.scrolled .menu span{background:#fff}.site-header.scrolled .header-services{display:none!important}
.site-header.scrolled>.nav-wrap{max-width:none;width:100%;padding-left:max(24px,calc((100% - 1240px)/2));padding-right:max(24px,calc((100% - 1240px)/2))}
@media(max-width:1050px){.header-services-grid>a{padding:13px 12px;grid-template-columns:34px 1fr 14px}.header-service-icon{width:34px}.header-service-icon svg{width:30px;height:30px}.header-services-grid strong{font-size:.78rem}.header-services-grid small{font-size:.64rem}}
@media(max-width:860px){.header-services{display:block!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;padding:0!important;box-shadow:none!important;overflow-x:auto}.header-services-grid{width:max-content;min-width:100%;grid-template-columns:repeat(4,minmax(220px,1fr))}.header-services-grid>a{min-height:78px}.site-header nav#nav,.site-header nav#site-nav{top:76px;z-index:3}.site-header nav#nav.open,.site-header nav#site-nav.open{display:flex!important}}
@media(max-width:860px){.site-header.scrolled nav#nav,.site-header.scrolled nav#site-nav{top:70px;background:#fff}.site-header.scrolled nav#nav a,.site-header.scrolled nav#site-nav a{color:#18304f}.site-header.scrolled nav#nav a.current,.site-header.scrolled nav#site-nav a.current{color:#083b78}.site-header.scrolled .header-services{display:none!important}}

/* Stable three-level header: identity, home-only services, sticky navy navigation. */
.site-header,.site-header.scrolled{position:relative!important;top:auto!important;box-shadow:none!important;background:#fff}
.site-header .brand-row,.site-header.scrolled .brand-row{height:104px!important;background:#fff!important;color:#10233f!important;max-width:1240px!important;width:min(1240px,calc(100% - 48px))!important;padding:0!important}
.site-header .brand,.site-header.scrolled .brand{width:174px!important;flex-basis:174px!important;padding:0!important;background:transparent!important;border-radius:0!important}
.brand-message{margin-left:auto;display:flex;flex-direction:column;padding-right:30px;border-right:1px solid #d9e5ee;line-height:1.25}.brand-message small{color:#6b7d91;font-size:.72rem;text-transform:uppercase;letter-spacing:.13em;font-weight:800}.brand-message strong{color:#102f57;font-size:.94rem;margin-top:5px}
.site-header .header-services{display:block!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;max-height:none!important;transform:none!important;overflow:visible!important;padding:0!important;box-shadow:none!important}
.main-menu-bar{position:sticky;top:0;z-index:80;background:#083b78;border-top:3px solid #ed1b3a;box-shadow:0 1px 0 rgba(255,255,255,.08);transition:box-shadow .2s ease,background .2s ease}
.main-menu-bar.scrolled{background:#062f63;box-shadow:0 13px 30px rgba(6,36,73,.28)}
.main-menu-inner{min-height:66px;display:flex;align-items:center;gap:24px}
.main-menu-bar nav{display:flex;align-items:center;gap:25px;min-width:0}.main-menu-bar nav a{color:#fff;font-size:.78rem;font-weight:850;letter-spacing:.01em;white-space:nowrap;position:relative}.main-menu-bar nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-9px;height:3px;background:#ed1b3a;transition:right .2s}.main-menu-bar nav a:hover:after,.main-menu-bar nav a.current:after{right:0}
.menu-book{margin-left:auto;color:#fff;border-left:1px solid rgba(255,255,255,.22);padding-left:22px;font-size:.8rem;font-weight:900;white-space:nowrap}.menu-book span{color:#74c7ff;margin-left:5px}
.main-menu-bar .menu{display:none}
@media(max-width:1120px){.brand-message{display:none}.main-menu-bar nav{gap:16px}.main-menu-bar nav a{font-size:.71rem}.menu-book{padding-left:15px}}
@media(max-width:860px){.site-header .brand-row,.site-header.scrolled .brand-row{height:82px!important;width:min(100% - 30px,1240px)!important}.site-header .brand,.site-header.scrolled .brand{width:140px!important;flex-basis:140px!important}.site-header .header-phone{margin-left:auto}.main-menu-inner{min-height:58px;position:relative}.main-menu-bar .menu{display:flex;flex-direction:column;gap:5px;padding:10px 0;background:none;border:0}.main-menu-bar .menu span{display:block;width:26px;height:2px;background:#fff}.main-menu-bar .menu b{position:absolute;width:1px;height:1px;overflow:hidden}.main-menu-bar nav{display:none;position:absolute;left:0;right:0;top:58px;background:#fff;padding:17px 22px;box-shadow:0 18px 35px rgba(6,36,73,.2);flex-direction:column;align-items:flex-start;gap:2px}.main-menu-bar nav.open{display:flex}.main-menu-bar nav a{color:#10233f;width:100%;padding:10px 0;font-size:.86rem;border-bottom:1px solid #e7eef4}.main-menu-bar nav a:after{display:none}.menu-book{margin-left:auto;border-left:0;padding-left:0}.header-services-grid{grid-template-columns:repeat(4,minmax(225px,1fr))}}
@media(max-width:560px){.site-header .header-phone{display:none}.site-header .nav-cta{display:inline-flex;font-size:.75rem;min-height:43px;padding:0 15px}.main-menu-inner{width:min(100% - 28px,1240px)}.menu-book{font-size:.76rem}}

/* Approved illustrated service rail and high-contrast booking menu. */
.site-header .header-services{background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;border:0!important;padding:16px 0!important}
.header-services-grid{border:1px solid #dbeaf6;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 14px 38px rgba(6,72,126,.12)}
.header-services-grid>a{min-height:112px;grid-template-columns:72px minmax(0,1fr) 40px;gap:16px;padding:20px 24px;border-right:1px solid #dbeaf6;background:#fff}
.header-services-grid>a:after{bottom:0;height:4px}
.header-service-icon{width:68px;height:68px;border-radius:50%;background:#e7f3ff;color:#087bd1!important}
.header-service-icon.red{background:#ffe8ec;color:#df1535!important}
.header-service-icon svg{width:47px;height:47px;stroke:#0d315b;stroke-width:3}
.header-service-icon.red svg{stroke:#0d315b}.header-service-icon.red svg path:last-child{stroke:#df1535}
.service-label{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:baseline;min-width:0}
.header-services-grid .service-label b{grid-column:1;color:#078ce9;font-size:1rem;font-weight:900;letter-spacing:.01em}
.header-services-grid>a:nth-child(even) .service-label b{color:#df1535}
.header-services-grid .service-label strong{grid-column:2;font-size:.96rem;line-height:1.15;color:#102f57;font-weight:850}
.header-services-grid .service-label small{grid-column:2;color:#647991;font-size:.72rem;line-height:1.35;margin-top:6px}
.header-services-grid>a>i{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#dceeff;color:#077bd1;font-size:1.25rem;font-weight:900}
.header-services-grid>a:nth-child(even)>i{background:#ffe2e7;color:#df1535}
.header-services-grid>a:hover{background:#f8fcff}.header-services-grid>a:hover>i{transform:translateX(3px);color:#fff;background:#087bd1}.header-services-grid>a:nth-child(even):hover>i{background:#df1535}
.main-menu-bar{border-top:0;background:linear-gradient(102deg,#062f65 0%,#083f82 72%,#062f65 100%);box-shadow:inset 0 1px rgba(255,255,255,.08),0 8px 24px rgba(6,47,101,.16)}
.main-menu-inner{min-height:72px}.main-menu-bar nav{gap:29px}.main-menu-bar nav a{font-size:.81rem}
.menu-book{min-height:48px;display:inline-flex;align-items:center;gap:10px;padding:0 20px!important;border:1px solid rgba(255,255,255,.9)!important;border-radius:24px;background:linear-gradient(135deg,#f20e31,#d90027);box-shadow:0 7px 19px rgba(218,0,39,.26);font-size:.82rem}
.menu-book svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.menu-book span{color:#fff;margin-left:2px}
.menu-book:hover{background:linear-gradient(135deg,#ff2343,#e00029);transform:translateY(-1px)}
@media(max-width:1120px){.header-services-grid>a{grid-template-columns:54px minmax(0,1fr) 30px;padding:17px 14px;gap:10px}.header-service-icon{width:52px;height:52px}.header-service-icon svg{width:37px;height:37px}.header-services-grid .service-label{display:block}.header-services-grid .service-label b{display:block;margin-bottom:3px}.header-services-grid .service-label strong{font-size:.82rem}.header-services-grid .service-label small{font-size:.65rem}.header-services-grid>a>i{width:30px;height:30px}.main-menu-bar nav{gap:17px}}
@media(max-width:860px){.site-header .header-services{padding:10px 0!important;overflow-x:auto!important}.header-services-grid{border-radius:14px;overflow:visible;width:max-content;min-width:max-content;margin-inline:16px}.header-services-grid>a{width:260px;min-height:92px;grid-template-columns:54px minmax(0,1fr) 30px}.main-menu-inner{min-height:62px}.main-menu-bar nav{top:62px}.menu-book{min-height:42px;padding:0 15px!important}}
@media(max-width:480px){.header-services-grid>a{width:238px;padding:14px 12px}.header-service-icon{width:48px;height:48px}.header-service-icon svg{width:34px;height:34px}.menu-book svg{display:none}}

/* Service rail spacing correction: full-width cards, readable labels, aligned controls. */
.site-header .header-services>.wrap{width:calc(100% - 32px)!important;max-width:1680px!important}
.header-services-grid>a{grid-template-columns:68px minmax(0,1fr)!important;gap:16px!important;padding:19px 64px 19px 20px!important;overflow:hidden}
.header-services-grid .service-label{display:block!important;min-width:0}
.header-services-grid .service-label b{display:block!important;margin:0 0 5px!important;font-size:.96rem!important;line-height:1!important}
.header-services-grid .service-label strong{display:block!important;font-size:clamp(.82rem,.92vw,.98rem)!important;line-height:1.2!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.header-services-grid .service-label small{display:block!important;margin-top:7px!important;font-size:.72rem!important;line-height:1.25!important;white-space:normal!important}
.header-services-grid>a>i{position:absolute!important;right:16px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important}
.header-services-grid>a:hover>i{transform:translate(3px,-50%)!important}
.header-services-grid>a:nth-child(3) .header-service-icon svg{width:49px;height:49px;stroke-width:2.6}
@media(max-width:1180px){.header-services-grid>a{grid-template-columns:54px minmax(0,1fr)!important;padding:16px 48px 16px 13px!important;gap:10px!important}.header-services-grid>a>i{right:10px!important;width:30px;height:30px}.header-service-icon{width:52px;height:52px}.header-services-grid .service-label strong{font-size:.8rem!important}.header-services-grid .service-label small{font-size:.64rem!important}}
@media(max-width:860px){.site-header .header-services>.wrap{width:max-content!important;max-width:none!important}.header-services-grid>a{width:275px!important;padding:15px 50px 15px 14px!important}.header-services-grid .service-label strong{font-size:.84rem!important}.header-services-grid .service-label small{font-size:.67rem!important}}

/* Mobile-first service navigation: a compact, balanced 2x2 grid. */
@media(max-width:860px){
  .site-header .header-services{padding:10px!important;overflow:visible!important;background:#f4f9fd!important}
  .site-header .header-services>.wrap{width:100%!important;max-width:none!important;margin:0!important}
  .header-services-grid{width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;border-radius:14px!important;overflow:hidden!important}
  .header-services-grid>a{width:auto!important;min-width:0!important;min-height:122px!important;grid-template-columns:42px minmax(0,1fr)!important;align-content:center!important;align-items:center!important;gap:9px!important;padding:14px 36px 14px 12px!important;border-right:1px solid #dbeaf6!important;border-bottom:1px solid #dbeaf6!important}
  .header-services-grid>a:nth-child(2n){border-right:0!important}
  .header-services-grid>a:nth-child(n+3){border-bottom:0!important}
  .header-service-icon{width:42px!important;height:42px!important}
  .header-service-icon svg,.header-services-grid>a:nth-child(3) .header-service-icon svg{width:31px!important;height:31px!important;stroke-width:2.5!important}
  .header-services-grid .service-label b{font-size:.75rem!important;margin-bottom:4px!important}
  .header-services-grid .service-label strong{font-size:.71rem!important;line-height:1.18!important}
  .header-services-grid .service-label small{font-size:.58rem!important;line-height:1.25!important;margin-top:5px!important}
  .header-services-grid>a>i{right:8px!important;width:24px!important;height:24px!important;font-size:.85rem!important}
  .eligibility-cta{white-space:nowrap!important}
}
@media(max-width:420px){
  .site-header .brand-row,.site-header.scrolled .brand-row{width:calc(100% - 20px)!important}
  .site-header .brand,.site-header.scrolled .brand{width:128px!important;flex-basis:128px!important}
  .site-header .nav-cta{padding:0 12px!important;font-size:.69rem!important;min-height:42px!important}
  .header-services-grid>a{min-height:116px!important;grid-template-columns:38px minmax(0,1fr)!important;padding:12px 31px 12px 9px!important;gap:7px!important}
  .header-service-icon{width:38px!important;height:38px!important}
  .header-service-icon svg,.header-services-grid>a:nth-child(3) .header-service-icon svg{width:28px!important;height:28px!important}
  .header-services-grid .service-label strong{font-size:.66rem!important}
  .header-services-grid .service-label small{font-size:.54rem!important}
  .header-services-grid>a>i{right:6px!important;width:22px!important;height:22px!important}
}

/* Final client palette: Jacob's original #0496FF with white and neutral text only. */
:root{--brand:#0496ff;--brand-deep:#0496ff;--blue:#0496ff;--navy:#0496ff;--navy2:#0496ff;--red:#0496ff;--red2:#0496ff;--ink:#111827;--muted:#5f6772;--soft:#f7fbff;--line:#d9ebf8}
.topbar,.main-menu-bar,.main-menu-bar.scrolled,.dark-band,.contact,footer{background:#0496ff!important}
.hero{background:#0496ff!important}.hero-slash{background:#fff!important;opacity:.14!important}.hero h1 em:after{background:#fff!important}
.btn-red,.btn-red:hover,.floating-call,.best-label,.popular,.badge,.menu-book,.menu-book:hover{background:#0496ff!important}
.btn-red,.floating-call,.menu-book{border:1px solid rgba(255,255,255,.88)!important;box-shadow:0 10px 26px rgba(0,0,0,.14)!important}
.main-menu-bar{border-color:#fff!important}.main-menu-bar nav a:after,.site-header nav a:after{background:#fff!important}
.matcher,.match-result{background:#fff!important;color:#111827!important}.match-result p,.match-result .result-label,.match-result .calc-grid small{color:#5f6772!important}.match-result .calc-price{color:#111827!important}
.choice-icon,.choice.active .choice-icon{border-color:#0496ff!important}.choice.active .choice-icon{background:#0496ff!important}
.program-card.featured,.step,.program-icon,.service-icon{background:#0496ff!important}.program-card.featured,.price-card.best{border-color:#0496ff!important}
.program-card:not(.featured) .program-icon{background:#eef8ff!important;color:#0496ff!important}
.legacy-service-card.permit:before,.legacy-service-card.in-person:before,.legacy-service-card.online:before{background:#0496ff!important}
.permit .service-icon,.in-person .service-icon,.online .service-icon{background:#eef8ff!important;color:#0496ff!important}
.permit small i,.in-person small i,.online small i{background:#0496ff!important}
.header-service-icon,.header-service-icon.red{background:#eef8ff!important;color:#0496ff!important}
.header-service-icon svg,.header-service-icon.red svg,.header-service-icon.red svg path:last-child{stroke:#0496ff!important}
.header-services-grid .service-label b,.header-services-grid>a:nth-child(even) .service-label b{color:#0496ff!important}
.header-services-grid>a>i,.header-services-grid>a:nth-child(even)>i{background:#e8f6ff!important;color:#0496ff!important}
.header-services-grid>a:hover>i,.header-services-grid>a:nth-child(even):hover>i{background:#0496ff!important;color:#fff!important}
.header-services-grid>a:after{background:#0496ff!important}

/* Prominent interactive four-service showcase inspired by the original site. */
.legacy-services{padding:112px 0 124px!important;background:#fff!important;border:0!important;position:relative;overflow:hidden}
.legacy-services:after{content:"";position:absolute;width:620px;height:620px;border:110px solid rgba(4,150,255,.055);border-radius:50%;right:-330px;bottom:-390px;pointer-events:none}
.legacy-services-head{position:relative;z-index:1;margin-bottom:52px!important}
.legacy-services-head>span{color:#0496ff!important}
.legacy-services-head h2{color:#111827!important;font-size:clamp(2.8rem,4.5vw,4.8rem)!important;max-width:780px!important}
.legacy-services-head p{color:#5f6772!important;font-size:1.05rem!important}
.legacy-service-grid{position:relative;z-index:1;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;background:transparent!important;border:0!important;border-radius:0!important;overflow:visible!important;box-shadow:none!important}
.legacy-service-card{min-height:350px!important;padding:34px 28px 28px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:0!important;background:#fff!important;border:2px solid #0496ff!important;border-radius:24px!important;box-shadow:0 18px 44px rgba(4,150,255,.14)!important;overflow:hidden!important;isolation:isolate;transition:transform .34s cubic-bezier(.2,.8,.2,1),box-shadow .34s ease,background .34s ease!important}
.legacy-service-card:before{content:""!important;display:block!important;position:absolute!important;inset:auto -55px -75px auto!important;width:190px!important;height:190px!important;border:38px solid rgba(4,150,255,.1)!important;border-radius:50%!important;background:transparent!important;transform:scale(.8)!important;transition:transform .4s ease,border-color .3s ease!important;z-index:-1!important}
.legacy-service-card:after{content:""!important;display:block!important;position:absolute!important;inset:0!important;background:linear-gradient(145deg,transparent 55%,rgba(4,150,255,.06))!important;pointer-events:none!important;z-index:-2!important}
.legacy-service-card .service-icon{width:88px!important;height:88px!important;display:grid!important;place-items:center!important;flex:0 0 88px!important;margin:0 0 34px!important;border-radius:22px!important;background:#0496ff!important;color:#fff!important;box-shadow:0 14px 30px rgba(4,150,255,.22)!important;transition:transform .35s cubic-bezier(.2,.8,.2,1),background .3s ease,color .3s ease!important}
.legacy-service-card .service-icon svg{width:50px!important;height:50px!important;stroke:currentColor!important;stroke-width:1.7!important}
.legacy-service-card .service-copy span{color:#111827!important;font-size:1.48rem!important;line-height:1.12!important;font-weight:850!important;letter-spacing:-.04em!important}
.legacy-service-card .service-copy p{color:#5f6772!important;font-size:.94rem!important;line-height:1.58!important;margin:14px 0 26px!important;max-width:270px!important}
.legacy-service-card .service-arrow{margin-top:auto!important;width:48px!important;height:48px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#0496ff!important;color:#fff!important;font-size:1.35rem!important;transition:transform .3s ease,background .3s ease,color .3s ease!important}
.legacy-service-card:hover,.legacy-service-card:focus-visible{transform:translateY(-14px) scale(1.025)!important;background:#0496ff!important;box-shadow:0 30px 65px rgba(4,150,255,.3)!important;outline:none!important}
.legacy-service-card:hover:before,.legacy-service-card:focus-visible:before{transform:scale(1.18) rotate(18deg)!important;border-color:rgba(255,255,255,.2)!important}
.legacy-service-card:hover:after,.legacy-service-card:focus-visible:after{background:linear-gradient(145deg,transparent 45%,rgba(255,255,255,.1))!important}
.legacy-service-card:hover .service-icon,.legacy-service-card:focus-visible .service-icon{transform:translateY(-5px) rotate(-3deg) scale(1.08)!important;background:#fff!important;color:#0496ff!important}
.legacy-service-card:hover .service-copy span,.legacy-service-card:hover .service-copy p,.legacy-service-card:focus-visible .service-copy span,.legacy-service-card:focus-visible .service-copy p{color:#fff!important}
.legacy-service-card:hover .service-arrow,.legacy-service-card:focus-visible .service-arrow{transform:translateX(8px)!important;background:#fff!important;color:#0496ff!important}
@media(max-width:1080px){.legacy-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.legacy-service-card{min-height:300px!important}}
@media(max-width:620px){.legacy-services{padding:76px 0 84px!important}.legacy-services-head h2{font-size:2.55rem!important}.legacy-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.legacy-service-card{min-height:245px!important;padding:20px 16px 16px!important;border-radius:16px!important}.legacy-service-card .service-icon{width:58px!important;height:58px!important;flex-basis:58px!important;border-radius:15px!important;margin-bottom:20px!important}.legacy-service-card .service-icon svg{width:34px!important;height:34px!important}.legacy-service-card .service-copy span{font-size:1rem!important;line-height:1.18!important}.legacy-service-card .service-copy p{font-size:.72rem!important;line-height:1.42!important;margin:10px 0 16px!important}.legacy-service-card .service-arrow{width:34px!important;height:34px!important;font-size:1rem!important}.legacy-service-card:hover,.legacy-service-card:focus-visible{transform:translateY(-6px)!important}}
@media(prefers-reduced-motion:reduce){.legacy-service-card,.legacy-service-card:before,.legacy-service-card .service-icon,.legacy-service-card .service-arrow{transition:none!important}}

/* Custom generated service artwork and certification asset. */
.legacy-service-card{min-height:440px!important}
.legacy-service-card .service-art{width:100%;height:178px;flex:0 0 178px;margin:0 0 24px;background-image:url('jacobs-service-illustrations.png');background-repeat:no-repeat;background-size:400% 100%;background-position-y:center;filter:drop-shadow(0 14px 18px rgba(4,150,255,.16));transform-origin:center;transition:transform .38s cubic-bezier(.2,.8,.2,1),filter .3s ease}
.legacy-service-card.lesson .service-art{background-position-x:0}.legacy-service-card.permit .service-art{background-position-x:33.333%}.legacy-service-card.in-person .service-art{background-position-x:66.666%}.legacy-service-card.online .service-art{background-position-x:100%}
.legacy-service-card:hover .service-art,.legacy-service-card:focus-visible .service-art{transform:translateY(-8px) scale(1.055);filter:drop-shadow(0 18px 20px rgba(0,0,0,.16))}
.car-stage img.arizona-court-badge{position:absolute!important;right:-18px!important;bottom:18px!important;width:142px!important;height:142px!important;object-fit:contain!important;filter:drop-shadow(0 18px 25px rgba(0,88,150,.22))!important;animation:badgeFloat 4s ease-in-out infinite!important;z-index:4!important}
@keyframes badgeFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-9px) rotate(2deg)}}
@media(max-width:1080px){.legacy-service-card{min-height:390px!important}.legacy-service-card .service-art{height:155px;flex-basis:155px}}
@media(max-width:620px){.legacy-service-card{min-height:300px!important}.legacy-service-card .service-art{height:112px;flex-basis:112px;margin-bottom:15px}.car-stage img.arizona-court-badge{width:98px!important;height:98px!important;right:0!important;bottom:12px!important}}
@media(prefers-reduced-motion:reduce){.legacy-service-card .service-art,.car-stage img.arizona-court-badge{animation:none!important;transition:none!important}}

/* Final bright-blue contrast and certification treatment. */
.dark-band,
.contact,
footer{
  background:#0496ff!important;
  background-image:none!important;
}
.dark-band h2,
.dark-band h3,
.dark-band .kicker,
.dark-band p,
.dark-band .step p,
.contact h2,
.contact .kicker,
.contact p,
footer,
footer h3,
footer p,
footer a,
footer .copyright{
  color:#fff!important;
  opacity:1!important;
}
.contact .btn-outline-white{
  border-color:#fff!important;
  color:#fff!important;
  background:transparent!important;
}
.contact .btn-outline-white:hover{background:#fff!important;color:#0496ff!important}
.contact .btn-white{background:#fff!important;color:#0496ff!important}
footer{
  border-top:1px solid rgba(255,255,255,.75);
  padding-top:68px;
}
.footer-grid{
  grid-template-columns:1.55fr 1fr 1fr 1.25fr;
  align-items:start;
}
.footer-grid>div:first-child img{
  width:190px;
  padding:12px 14px;
  box-shadow:0 12px 30px rgba(0,72,128,.15);
}
.footer-grid h3{font-size:.9rem}
.footer-grid p,.footer-grid a{font-size:.92rem;line-height:1.65}
.footer-certificate{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.35);
}
.footer-certificate img{
  width:116px!important;
  height:116px;
  object-fit:contain;
  flex:0 0 116px;
  filter:drop-shadow(0 9px 15px rgba(0,70,125,.25))!important;
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
}
.footer-certificate span{
  color:#fff;
  font-size:.78rem;
  line-height:1.35;
  font-weight:850;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.copyright{
  border-color:rgba(255,255,255,.4)!important;
  font-weight:650;
}
@media(max-width:860px){
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px}
}
@media(max-width:560px){
  .footer-grid{grid-template-columns:1fr;gap:30px}
  .footer-certificate{max-width:330px}
  .footer-certificate img{width:104px!important;height:104px;flex-basis:104px}
}
.review footer{
  background:transparent!important;
  background-image:none!important;
  color:inherit!important;
  padding:18px 0 0!important;
  border-top:1px solid var(--line)!important;
}

/* Clean illustrated service cards: art first, no overlapping decorative circles. */
.legacy-service-grid{
  gap:18px!important;
}
.legacy-service-card{
  min-height:430px!important;
  padding:16px 16px 22px!important;
  border:1px solid #cfe9fb!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 14px 36px rgba(4,150,255,.11)!important;
  overflow:hidden!important;
  transform:translateZ(0);
}
.legacy-service-card:before{
  display:none!important;
  content:none!important;
}
.legacy-service-card:after{
  display:block!important;
  content:""!important;
  position:absolute!important;
  inset:0!important;
  border:2px solid transparent!important;
  border-radius:23px!important;
  background:none!important;
  pointer-events:none!important;
  transition:border-color .3s ease!important;
}
.legacy-service-card .service-art{
  width:100%!important;
  height:190px!important;
  flex:0 0 190px!important;
  margin:0 0 25px!important;
  border-radius:18px!important;
  background-color:#f1f9ff!important;
  background-size:400% 100%!important;
  filter:none!important;
  transition:transform .42s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease!important;
}
.legacy-service-card .service-copy{
  padding:0 10px;
}
.legacy-service-card .service-copy span{
  color:#10233f!important;
  font-size:1.38rem!important;
  line-height:1.15!important;
}
.legacy-service-card .service-copy p{
  color:#4d5e72!important;
  font-size:.92rem!important;
  line-height:1.55!important;
  margin:12px 0 20px!important;
}
.legacy-service-card .service-arrow{
  margin:4px 0 0 10px!important;
  width:44px!important;
  height:44px!important;
  background:#0496ff!important;
  color:#fff!important;
  box-shadow:0 9px 22px rgba(4,150,255,.22);
}
.legacy-service-card:hover,
.legacy-service-card:focus-visible{
  background:#fff!important;
  transform:translateY(-10px)!important;
  box-shadow:0 26px 56px rgba(4,150,255,.2)!important;
}
.legacy-service-card:hover:after,
.legacy-service-card:focus-visible:after{
  border-color:#0496ff!important;
  background:none!important;
}
.legacy-service-card:hover .service-art,
.legacy-service-card:focus-visible .service-art{
  transform:translateY(-4px) scale(1.045)!important;
  box-shadow:0 14px 28px rgba(4,150,255,.12)!important;
}
.legacy-service-card:hover .service-copy span,
.legacy-service-card:focus-visible .service-copy span{
  color:#10233f!important;
}
.legacy-service-card:hover .service-copy p,
.legacy-service-card:focus-visible .service-copy p{
  color:#4d5e72!important;
}
.legacy-service-card:hover .service-arrow,
.legacy-service-card:focus-visible .service-arrow{
  transform:translateX(7px)!important;
  background:#0496ff!important;
  color:#fff!important;
}

/* Structured blue-and-white footer with an original gold approval badge. */
body > .site-footer{
  padding:64px 0 22px!important;
  background:#0496ff!important;
  color:#fff!important;
  border-top:0!important;
}
.site-footer .footer-grid{
  grid-template-columns:1.45fr 1fr .8fr 1.15fr!important;
  gap:54px!important;
  align-items:start!important;
}
.site-footer .footer-brand>img{
  width:188px!important;
  margin:0 0 22px!important;
  background:#fff!important;
  border-radius:14px!important;
  padding:13px 15px!important;
  box-shadow:none!important;
}
.site-footer h3{
  margin:6px 0 18px!important;
  color:#fff!important;
  font-size:.84rem!important;
  letter-spacing:.14em!important;
}
.site-footer p,
.site-footer a{
  color:#fff!important;
  opacity:1!important;
}
.site-footer .footer-brand p{
  max-width:315px;
  margin:0 0 16px;
}
.site-footer .footer-phone{
  display:inline-flex!important;
  font-size:1.15rem!important;
  font-weight:850!important;
  border-bottom:2px solid #fff;
}
.site-footer .footer-grid>div:not(.footer-brand)>a{
  padding:6px 0!important;
  transition:transform .2s ease,opacity .2s ease;
}
.site-footer .footer-grid>div:not(.footer-brand)>a:hover{
  transform:translateX(4px);
  opacity:.78!important;
}
.site-footer .footer-trust{
  margin-top:46px;
  padding:22px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  background:#fff;
  border-radius:20px;
}
.site-footer .footer-certificate{
  display:flex;
  align-items:center;
  gap:20px;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.site-footer .footer-certificate img{
  width:128px!important;
  height:128px!important;
  flex:0 0 128px!important;
  object-fit:contain!important;
  background:transparent!important;
  padding:0!important;
  border-radius:50%!important;
  filter:drop-shadow(0 8px 12px rgba(118,77,0,.24))!important;
  animation:badgeFloat 4s ease-in-out infinite!important;
}
.site-footer .footer-certificate strong{
  display:block;
  color:#10233f;
  font-size:1.15rem;
  line-height:1.2;
}
.site-footer .footer-certificate span{
  display:block;
  margin-top:6px;
  color:#4d5e72!important;
  font-size:.88rem!important;
  font-weight:600!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.site-footer .footer-eligibility{
  min-height:52px;
  padding:0 24px!important;
  display:inline-flex!important;
  align-items:center;
  gap:18px;
  border-radius:10px;
  background:#0496ff;
  color:#fff!important;
  font-weight:850;
  white-space:nowrap;
}
.site-footer .footer-eligibility span{font-size:1.2rem}
.site-footer .copyright{
  margin-top:26px!important;
  padding-top:20px!important;
  border-top:1px solid rgba(255,255,255,.55)!important;
}
@media(max-width:980px){
  .site-footer .footer-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:700px){
  .legacy-service-card{min-height:300px!important;padding:10px 10px 16px!important}
  .legacy-service-card .service-art{height:118px!important;flex-basis:118px!important;margin-bottom:16px!important}
  .legacy-service-card .service-copy{padding:0 5px}
  .legacy-service-card .service-copy span{font-size:1rem!important}
  .legacy-service-card .service-copy p{font-size:.76rem!important;margin:9px 0 13px!important}
  .legacy-service-card .service-arrow{margin-left:5px!important;width:36px!important;height:36px!important}
  .site-footer .footer-trust{align-items:flex-start;flex-direction:column}
}
@media(max-width:560px){
  .site-footer .footer-grid{grid-template-columns:1fr!important;gap:28px!important}
  .site-footer .footer-trust{padding:20px}
  .site-footer .footer-certificate img{width:96px!important;height:96px!important;flex-basis:96px!important}
  .site-footer .footer-eligibility{width:100%;justify-content:center}
}
@media(prefers-reduced-motion:reduce){
  .site-footer .footer-certificate img{animation:none!important}
}

/* Final proportion correction: compact cards and a clearly separate white footer. */
.legacy-service-card{
  min-height:365px!important;
  padding:14px 14px 20px!important;
}
.legacy-service-card .service-art{
  height:152px!important;
  flex-basis:152px!important;
  margin-bottom:20px!important;
}
.legacy-service-card .service-copy span{
  font-size:1.18rem!important;
  line-height:1.18!important;
}
.legacy-service-card .service-copy p{
  font-size:.86rem!important;
  line-height:1.48!important;
  margin:10px 0 14px!important;
}
.legacy-service-card .service-arrow{
  width:40px!important;
  height:40px!important;
}

body > .site-footer{
  background:#fff!important;
  color:#10233f!important;
  border-top:5px solid #0496ff!important;
  padding:50px 0 18px!important;
}
.site-footer h3,
.site-footer p,
.site-footer a,
.site-footer .copyright{
  color:#10233f!important;
}
.site-footer h3{
  color:#0496ff!important;
}
.site-footer .footer-grid{
  gap:44px!important;
}
.site-footer .footer-brand>img{
  border:1px solid #d5eaf8!important;
  box-shadow:0 10px 28px rgba(4,150,255,.1)!important;
}
.site-footer .footer-phone{
  color:#0496ff!important;
  border-color:#0496ff!important;
}
.site-footer .footer-trust{
  margin-top:34px!important;
  padding:16px 22px!important;
  background:#f1f9ff!important;
  border:1px solid #cfe9fb!important;
  border-radius:16px!important;
}
.site-footer .footer-certificate img{
  width:104px!important;
  height:104px!important;
  flex-basis:104px!important;
}
.site-footer .footer-certificate strong{
  color:#10233f!important;
}
.site-footer .footer-certificate span{
  color:#4d5e72!important;
}
.site-footer .copyright{
  border-color:#d5eaf8!important;
  margin-top:22px!important;
}
.site-footer .copyright a{
  color:#0496ff!important;
  font-weight:800;
}
@media(max-width:1080px){
  .legacy-service-card{min-height:340px!important}
  .legacy-service-card .service-art{height:145px!important;flex-basis:145px!important}
}
@media(max-width:700px){
  .legacy-service-card{min-height:265px!important;padding:9px 9px 14px!important}
  .legacy-service-card .service-art{height:105px!important;flex-basis:105px!important;margin-bottom:13px!important}
  .legacy-service-card .service-copy span{font-size:.95rem!important}
  .legacy-service-card .service-copy p{font-size:.7rem!important;line-height:1.36!important;margin:7px 0 10px!important}
  .legacy-service-card .service-arrow{width:32px!important;height:32px!important}
}
@media(max-width:560px){
  body > .site-footer{padding-top:40px!important}
  .site-footer .footer-certificate img{width:82px!important;height:82px!important;flex-basis:82px!important}
}

/* Final photo, gallery and video presentation */
.school-feature{padding:92px 0;background:#fff}
.school-feature-grid{display:grid;grid-template-columns:.78fr 1.22fr;gap:54px;align-items:center}
.school-feature-copy h2,.gallery-heading h2,.video-heading h2{margin:10px 0 18px;color:#10233f;font-size:clamp(2.45rem,4.5vw,4.35rem);line-height:1;letter-spacing:-.055em;font-weight:800}
.school-feature-copy>p,.gallery-heading>p,.video-heading>p{color:#52667e;font-size:1.05rem;line-height:1.7}
.school-feature-actions{display:flex;align-items:center;gap:24px;margin-top:30px}
.school-feature-photo{position:relative;margin:0;border-radius:22px;overflow:hidden;min-height:490px;box-shadow:0 28px 70px rgba(16,75,116,.18)}
.school-feature-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(8,30,54,.8))}
.school-feature-photo img{width:100%;height:100%;min-height:490px;display:block;object-fit:cover}
.school-feature-photo figcaption{position:absolute;z-index:2;left:28px;right:28px;bottom:24px;display:flex;justify-content:space-between;align-items:end;color:#fff}
.school-feature-photo figcaption strong{font-size:1.18rem}.school-feature-photo figcaption span{font-size:.84rem;font-weight:700}

.school-gallery{padding:106px 0 116px;background:#f1f9ff}
.gallery-heading{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:end;margin-bottom:42px}
.gallery-heading>p{margin:0 0 8px}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:275px;gap:16px}
.gallery-item{position:relative;margin:0;overflow:hidden;border-radius:18px;background:#dceefe;box-shadow:0 14px 36px rgba(13,75,116,.1)}
.gallery-item.gallery-wide{grid-column:span 2}
.gallery-item img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .55s cubic-bezier(.2,.75,.2,1)}
.gallery-item:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(7,31,55,.72));pointer-events:none}
.gallery-item figcaption{position:absolute;z-index:2;left:20px;bottom:17px;color:#fff;font-weight:800;font-size:.92rem}
.gallery-item:hover img{transform:scale(1.045)}

.lesson-videos{padding:108px 0 118px;background:#0496ff;color:#fff}
.video-heading{max-width:820px;margin-bottom:42px}
.video-heading>span{font-size:.72rem;font-weight:900;letter-spacing:.18em;color:#fff}
.video-heading h2{color:#fff;max-width:760px}
.video-heading>p{color:rgba(255,255,255,.88);max-width:680px}
.video-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.video-card{background:#fff;border-radius:20px;padding:20px;box-shadow:0 22px 55px rgba(0,73,124,.2);overflow:hidden}
.video-copy{padding:8px 8px 18px}
.video-copy span{color:#0496ff;font-size:.7rem;font-weight:900;letter-spacing:.16em}
.video-copy h3{color:#10233f;font-size:1.65rem;line-height:1.1;margin:7px 0 8px;letter-spacing:-.035em}
.video-copy p{color:#52667e;line-height:1.58;margin:0;font-size:.92rem}
.video-frame{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#10233f}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* Keep typography and contrast crisp across the final home page */
.legacy-services-head p,.legacy-service-card .service-copy p,.about-copy p,.seo-service-grid p,.faq p{color:#52667e!important}
.dark-band .process-intro h2,.dark-band .process-intro p{color:#fff!important}
.site-footer .footer-brand p,.site-footer .footer-contact p{color:#52667e!important}

@media(max-width:1050px){
  .site-header nav{gap:15px}
  .site-header nav a{font-size:.78rem}
  .school-feature-grid{gap:34px}
  .school-feature-photo,.school-feature-photo img{min-height:410px}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .school-feature{padding:66px 0}
  .school-feature-grid,.gallery-heading{grid-template-columns:1fr;gap:24px}
  .school-feature-photo{order:-1}
  .school-feature-photo,.school-feature-photo img{min-height:330px}
  .school-feature-copy h2,.gallery-heading h2,.video-heading h2{font-size:clamp(2.15rem,10vw,3rem)}
  .school-gallery,.lesson-videos{padding:72px 0 80px}
  .gallery-grid{grid-auto-rows:235px}
  .video-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .school-feature-actions{align-items:flex-start;flex-direction:column;gap:16px}
  .school-feature-photo,.school-feature-photo img{min-height:285px}
  .school-feature-photo figcaption{left:18px;right:18px;bottom:17px}
  .gallery-grid{grid-template-columns:1fr;grid-auto-rows:230px}
  .gallery-item.gallery-wide{grid-column:auto}
  .video-card{padding:12px;border-radius:16px}
  .video-copy{padding:8px 6px 15px}
}

/* Final contrast and gallery symmetry corrections */
.dark-band .step{
  background:#fff!important;
  border:1px solid rgba(255,255,255,.78)!important;
  box-shadow:0 18px 42px rgba(0,75,128,.18)!important;
}
.dark-band .step b{
  color:#0496ff!important;
  opacity:1!important;
  text-shadow:none!important;
}
.dark-band .step h3{
  color:#10233f!important;
  opacity:1!important;
}
.dark-band .step p{
  color:#52667e!important;
  opacity:1!important;
}
.gallery-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-rows:340px!important;
}
.gallery-item,
.gallery-item.gallery-wide{
  grid-column:auto!important;
}
.gallery-item img{object-position:center}
@media(max-width:760px){
  .gallery-grid{
    grid-template-columns:1fr!important;
    grid-auto-rows:250px!important;
  }
}

/* Image-led program cards with tactile click animation */
.legacy-service-card{
  min-height:500px!important;
  padding:14px 14px 24px!important;
  border:1px solid #cbe9fb!important;
  border-radius:22px!important;
  box-shadow:0 15px 38px rgba(4,150,255,.13)!important;
  position:relative!important;
  overflow:hidden!important;
  transform-origin:center!important;
}
.legacy-service-card .service-art{
  width:100%!important;
  height:225px!important;
  flex:0 0 225px!important;
  margin:0 0 24px!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#eaf7ff!important;
  background-image:none!important;
}
.legacy-service-card .service-art img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .48s cubic-bezier(.2,.8,.2,1),filter .35s ease;
}
.legacy-service-card .service-copy{padding:0 14px!important}
.legacy-service-card .service-copy span{font-size:1.38rem!important}
.legacy-service-card .service-copy p{font-size:.91rem!important;line-height:1.55!important}
.legacy-service-card .service-arrow{margin-left:14px!important}
.legacy-service-card:hover .service-art img,
.legacy-service-card:focus-visible .service-art img{transform:scale(1.07)}
.legacy-service-card.is-activating{
  animation:service-card-click .52s cubic-bezier(.2,.8,.2,1) both!important;
  box-shadow:0 28px 70px rgba(4,150,255,.3)!important;
}
.legacy-service-card.is-activating .service-art img{
  transform:scale(1.12)!important;
  filter:saturate(1.12) brightness(1.04);
}
.legacy-service-card.is-activating .service-arrow{
  animation:service-arrow-click .52s ease both;
}
.card-ripple{
  position:absolute;
  z-index:8;
  width:28px;
  height:28px;
  margin:-14px 0 0 -14px;
  border-radius:50%;
  pointer-events:none;
  background:rgba(4,150,255,.28);
  border:2px solid rgba(4,150,255,.45);
  transform:scale(0);
  animation:service-ripple .52s ease-out forwards;
}
@keyframes service-card-click{
  0%{transform:translateY(-10px) scale(1)}
  40%{transform:translateY(-6px) scale(.975)}
  75%{transform:translateY(-13px) scale(1.018)}
  100%{transform:translateY(-10px) scale(1)}
}
@keyframes service-arrow-click{
  0%{transform:translateX(7px)}
  55%{transform:translateX(15px) rotate(-8deg)}
  100%{transform:translateX(7px)}
}
@keyframes service-ripple{
  0%{transform:scale(0);opacity:.9}
  100%{transform:scale(28);opacity:0}
}
@media(max-width:1080px){
  .legacy-service-card{min-height:455px!important}
  .legacy-service-card .service-art{height:205px!important;flex-basis:205px!important}
}
@media(max-width:700px){
  .legacy-service-card{min-height:330px!important;padding:9px 9px 17px!important}
  .legacy-service-card .service-art{height:138px!important;flex-basis:138px!important;margin-bottom:16px!important;border-radius:12px!important}
  .legacy-service-card .service-copy{padding:0 7px!important}
  .legacy-service-card .service-copy span{font-size:1rem!important}
  .legacy-service-card .service-copy p{font-size:.72rem!important;line-height:1.42!important}
  .legacy-service-card .service-arrow{margin-left:7px!important}
}
@media(prefers-reduced-motion:reduce){
  .legacy-service-card.is-activating,.legacy-service-card.is-activating .service-arrow,.card-ripple{animation:none!important}
}

/* v33: compact, readable contact details */
.contact .contact-grid{
  grid-template-columns:minmax(0,.9fr) minmax(620px,1.1fr);
  gap:64px;
  align-items:center;
}
.contact .contact-card{
  display:grid;
  grid-template-columns:.78fr 1.28fr 1.14fr;
  gap:0;
  min-height:0;
  padding:0;
  overflow:hidden;
  border:1px solid rgba(4,150,255,.16);
  border-radius:22px;
  box-shadow:0 22px 55px rgba(0,67,114,.18);
}
.contact .contact-card>div{
  min-width:0;
  min-height:158px;
  padding:30px 24px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  border-right:1px solid #dceaf5;
}
.contact .contact-card>div:last-child{border-right:0}
.contact .contact-card small{
  margin:0 0 12px;
  color:#0496ff;
  font-size:.72rem;
  line-height:1;
  letter-spacing:.16em;
}
.contact .contact-card a,
.contact .contact-card address{
  color:#142036;
  font-size:clamp(.96rem,1.05vw,1.14rem);
  font-weight:800;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.contact .contact-card a:hover{color:#0496ff}
@media(max-width:1050px){
  .contact .contact-grid{grid-template-columns:1fr;gap:36px}
  .contact .contact-card{grid-template-columns:.8fr 1.25fr 1.05fr}
}
@media(max-width:700px){
  .contact .contact-card{grid-template-columns:1fr}
  .contact .contact-card>div{
    min-height:0;
    padding:22px 24px;
    border-right:0;
    border-bottom:1px solid #dceaf5;
  }
  .contact .contact-card>div:last-child{border-bottom:0}
}

/* Home: three service cards (driving lessons, permit prep, defensive school). */
.legacy-service-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:760px){.legacy-service-grid.three{grid-template-columns:1fr!important}.legacy-service-grid.three .legacy-service-card{min-height:0!important}}

/* Language links (Stan, 2026-11-06): written out in full, in the header on wide screens and in the menu on phones. */
.header-langs{display:flex;gap:8px;margin-left:auto}.header-langs a{padding:8px 13px;border:1.5px solid #0496ff;border-radius:999px;color:#0a5fae;font-size:.8rem;font-weight:800;white-space:nowrap;transition:background .2s,color .2s}.header-langs a:hover{background:#0496ff;color:#fff}.main-menu-bar nav a.lang-link{display:none}
@media(max-width:860px){.header-langs{display:none}.main-menu-bar nav a.lang-link{display:block}}
/* The plans on the Spanish and Russian pages look as on the home page. */
.inner-page .pricing .price-card .btn-red{background:#0496ff!important;color:#fff!important;border:1px solid #0496ff!important}
.header-langs a[aria-current]{background:#0496ff;color:#fff}.main-menu-bar nav a.lang-link[aria-current]{color:#0496ff}
.lang-note{margin:0;padding:8px 16px;background:#fff7e0;color:#5b4500;font-size:.85rem;font-weight:650;text-align:center}
/* Mid-size screens (and longer Spanish or Russian labels): the menu wraps onto a second line rather than running under the Book button. */
@media(min-width:861px) and (max-width:1199px){.main-menu-bar nav{flex-wrap:wrap;row-gap:6px;column-gap:16px;padding:8px 0}.main-menu-bar nav a:after{bottom:-4px}.main-menu-inner{gap:16px}}
