/* GOEM / Dealers + Test Ride — independent from the homepage & admin styles */
.gd-page-hero{background:linear-gradient(122deg,#0b1723 0%,#233c50 65%,#38546b 100%);color:#fff;padding:142px 0 86px;position:relative;overflow:hidden}
.gd-page-hero:after{content:'';position:absolute;width:48vw;height:48vw;border:1px solid rgba(224,242,255,.13);border-radius:50%;right:-14vw;top:-24vw;pointer-events:none}
.gd-page-hero-inner{position:relative;z-index:1;max-width:1280px}
.gd-kicker{display:block;font-size:12px;font-weight:750;letter-spacing:.24em;color:#b9ccda;text-transform:uppercase;margin-bottom:18px}
.gd-page-hero h1{font-family:Manrope,Arial,sans-serif;font-size:clamp(35px,4.7vw,69px);font-weight:800;line-height:1.06;max-width:850px;letter-spacing:-.045em;margin:0 0 24px}
.gd-page-hero p{font-size:clamp(15px,1.2vw,18px);line-height:1.75;color:#d7e2e9;max-width:580px;margin:0}
.gd-main{background:#f3f6f9;min-height:380px;padding:74px 0 105px;color:#122739}
.gd-toolbar{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:28px}
.gd-toolbar strong{font-size:23px;font-weight:800;display:block}.gd-toolbar small{font-size:13px;color:#718292;display:block;margin-top:5px}
.gd-select-wrap{display:flex;align-items:center;gap:12px}.gd-select-wrap label{font-size:13px;color:#627686;font-weight:700}
.gd-select{min-width:170px;width:100%;background:#fff;border:1px solid #d3dee7;border-radius:10px;padding:13px 15px;color:#182e41;font:inherit;outline-offset:3px}
.gd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.gd-dealer{background:#fff;border:1px solid #dce5ed;border-radius:16px;padding:26px;display:flex;flex-direction:column;min-height:280px;transition:border-color .2s ease,box-shadow .2s ease}
.gd-dealer:hover{border-color:#b5cbdd;box-shadow:0 14px 35px rgba(16,45,68,.07)}
.gd-dealer-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.gd-location{font-size:11px;font-weight:750;color:#5e7b91;letter-spacing:.15em;text-transform:uppercase}.gd-dot{background:#6a97b5;width:8px;height:8px;border-radius:100%}
.gd-dealer h2{font-size:22px;line-height:1.25;font-weight:800;letter-spacing:-.02em;margin:16px 0 8px;color:#142a3a}
.gd-address{color:#5a6b7a;line-height:1.6;font-size:14px;margin-bottom:19px;flex:1}.gd-badges{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:22px}.gd-badges span{padding:6px 9px;background:#edf4f8;color:#294961;font-size:11px;font-weight:750;border-radius:6px}
.gd-dealer-actions{border-top:1px solid #e5edf2;padding-top:15px;display:flex;gap:9px;flex-wrap:wrap}.gd-dealer-actions a{border-radius:8px;padding:9px 12px;text-decoration:none;color:#25445e;font-size:12px;font-weight:800;background:#eef4f8}.gd-dealer-actions a:hover{background:#dfe9f0}
.gd-dealer-actions .gd-action-primary{background:#19344b;color:#fff}.gd-dealer-actions .gd-action-primary:hover{background:#2c5978}
.gd-empty{border:1px solid #dce5ed;border-radius:16px;background:#fff;padding:45px;max-width:750px}.gd-empty h2{font-size:25px}.gd-empty p{color:#667a89}.gd-pill,.gd-submit{display:inline-flex;border:0;border-radius:11px;background:#153349;color:#fff;padding:13px 24px;text-decoration:none;font-weight:800;font-family:inherit;cursor:pointer}
.gd-form-shell{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);gap:55px;max-width:1180px}
.gd-form-side{padding-top:18px}.gd-form-side .gd-kicker{color:#5e7b91}.gd-form-side h2{font-size:clamp(29px,3vw,44px);font-weight:800;line-height:1.14;letter-spacing:-.035em;margin:0 0 20px}.gd-form-side p{color:#5b7082;line-height:1.75}.gd-link{display:inline-block;color:#25445e;text-underline-offset:5px;margin-top:16px;font-weight:800}
.gd-form-card{background:#fff;border:1px solid #dce5ed;border-radius:18px;padding:36px;box-shadow:0 16px 44px rgba(18,46,63,.035)}
.gd-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.gd-field label:not(.gd-checkline label){display:block;font-size:13px;font-weight:750;color:#30475a;margin:0 0 8px}.gd-full{grid-column:1/-1}.gd-input{width:100%;box-sizing:border-box;border:1px solid #d3dee7;border-radius:10px;padding:13px 15px;background:#fff;color:#173044;font:inherit;min-height:47px}.gd-textarea{min-height:115px;resize:vertical}
.gd-checkline{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:#4a6274;line-height:1.55}.gd-checkline input{margin-top:4px;flex:0 0 auto}.gd-checkline label{font-weight:500}.gd-checkline a{color:#25445e;text-decoration:underline}
.gd-submit{width:100%;justify-content:center;min-height:50px;font-size:14px}.gd-submit:hover{background:#295e80}
.gd-alert{border-radius:10px;padding:15px;margin-bottom:24px;font-size:14px;font-weight:650}.gd-success{background:#edf7f0;color:#1b653d}.gd-error{background:#fef2f0;color:#a33f33}
.gd-honeypot{position:absolute;left:-10000px;top:auto;height:1px;overflow:hidden}
@media(max-width:1020px){.gd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gd-form-shell{gap:28px}}
@media(max-width:700px){.gd-page-hero{padding:125px 0 55px}.gd-main{padding:46px 0 65px}.gd-toolbar{flex-direction:column;align-items:stretch}.gd-select-wrap{flex-direction:column;align-items:stretch}.gd-grid{grid-template-columns:1fr}.gd-dealer{min-height:0}.gd-form-shell{grid-template-columns:1fr}.gd-form-card{padding:21px}.gd-form-grid{grid-template-columns:1fr}.gd-form-side h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){.gd-dealer{transition:none}}

/* GOEM: shared 1440px content grid, same optical alignment as header logo */
.gd-page-hero-inner.goem-container,.gd-main>.goem-container{width:min(var(--goem-max),calc(100% - 104px));max-width:none;margin-left:auto;margin-right:auto;}
.gd-page-hero{padding-top:clamp(125px,11vw,165px);padding-bottom:clamp(68px,6vw,100px)}
.gd-page-hero h1{max-width:780px}
/* Test ride: more focused form treatment without replacing current controls */
.gd-form-card{box-shadow:0 23px 66px rgba(18,46,63,.09);border:1px solid #d5e0e8;border-radius:22px;}
.gd-input:focus,.gd-select:focus{border-color:#507e9e;box-shadow:0 0 0 4px rgba(88,152,190,.12);outline:none}
.gd-submit{border-radius:999px;min-height:54px;transition:background .2s,transform .2s}
.gd-submit:hover{transform:translateY(-2px)}
@media(max-width:760px){.gd-page-hero-inner.goem-container,.gd-main>.goem-container{width:calc(100% - 40px)}.gd-page-hero{padding-top:125px;padding-bottom:58px}.gd-form-shell{gap:22px}.gd-form-side{padding-top:0}}

/* Clear three-part form hierarchy, same controls and server-side validation */
.gd-form-step{display:flex;align-items:center;gap:15px;padding:19px 0 12px;margin-top:4px;border-bottom:1px solid #e1e8ef}
.gd-form-step:first-child{padding-top:0}
.gd-step-index{display:grid;place-items:center;width:37px;height:37px;flex:0 0 auto;border-radius:50%;background:#18364b;color:#fff;font-size:12px;font-weight:800}
.gd-form-step strong,.gd-form-step small{display:block}.gd-form-step strong{font-size:16px;color:#17354b;font-weight:800}.gd-form-step small{font-size:12px;line-height:1.6;color:#63798a;margin-top:2px}
.gd-form-card .gd-form-grid{column-gap:20px;row-gap:17px}.gd-form-card .gd-field{min-width:0}
.gd-form-card .gd-field label{line-height:1.5}.gd-form-card .gd-field input,.gd-form-card .gd-field textarea{max-width:100%}
@media(max-width:700px){.gd-form-step{gap:11px}.gd-form-step strong{font-size:14px}.gd-form-card{padding:22px 18px}}
