/* V6.1 additions, scoped to existing Maranello theme. */
body.maranello-site .mr61-official-brand{display:inline-flex;align-items:center;max-width:235px;flex-shrink:0;white-space:nowrap}
body.maranello-site .mr61-official-brand .mr61-brand-image{width:auto;height:auto;max-width:225px;max-height:50px;object-fit:contain;object-position:left center}
body.maranello-site .mr61-official-brand .mr61-brand-text{font-family:system-ui,-apple-system,sans-serif;font-size:clamp(15px,1.4vw,21px);font-weight:730;letter-spacing:-.06em;line-height:1}
body.maranello-site .mr61-official-brand .mr61-brand-text b{font-weight:370;letter-spacing:-.05em}
body.maranello-site .site-footer .mr61-official-brand .mr61-brand-image{max-height:62px;max-width:280px}
body.maranello-site .site-header .mr61-header-wa{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:inherit;font-weight:650;font-size:12px;letter-spacing:-.01em;white-space:nowrap;transition:opacity .2s}
body.maranello-site .site-header .mr61-header-wa:hover{opacity:.6}
body.maranello-site .mr61-wa-dot{width:9px;height:9px;border-radius:50%;background:#20a96a;box-shadow:0 0 0 4px #20a96a12;flex-shrink:0}
body.maranello-site .mr61-header-wa-short{display:none}
body.maranello-site .mr61-footer-phone{font-size:clamp(17px,1.5vw,21px);font-weight:650;letter-spacing:-.03em}
/* All pages: reuse native lead form with original privacy and REST endpoint. */
body.maranello-site .mr61-global-form{background:#f3f5f0;color:#151b18;padding:110px 0 120px;scroll-margin-top:100px}
body.maranello-site .mr61-global-form__shell{width:min(1410px,calc(100% - 9vw));margin:auto;display:grid;grid-template-columns:minmax(240px,.75fr) minmax(420px,1fr);gap:clamp(40px,8vw,150px);align-items:start}
body.maranello-site .mr61-global-form__heading{position:sticky;top:145px;padding-top:23px}
body.maranello-site .mr61-eyebrow{font-weight:650;letter-spacing:.2em;font-size:10px;color:#788278}
body.maranello-site .mr61-global-form__heading h2{font-size:clamp(44px,5vw,88px);letter-spacing:-.08em;line-height:1.05;margin:24px 0}
body.maranello-site .mr61-global-form__heading p{font-size:clamp(15px,1.3vw,19px);line-height:1.75;color:#656e65;margin:0 0 35px;max-width:420px}
body.maranello-site .mr61-global-form__heading a{font-weight:650;font-size:17px;border-bottom:1px solid #888;display:inline-block;padding-bottom:6px}
body.maranello-site .mr61-global-form__panel .inquiry-panel{background:#fff;border-radius:22px;box-shadow:0 22px 70px #1326180c;padding:clamp(26px,3vw,56px);max-width:none;position:relative}
body.maranello-site .mr61-global-form__panel .inquiry-panel>h2{font-size:clamp(27px,2.5vw,43px)}
/* AMG Coming Soon overlays the exact supplied licensed image. No AI-generated false car. */
body.maranello-site .mr61-amalfi-overlay{position:absolute;left:50%;bottom:25%;transform:translateX(-50%);z-index:5;font-size:clamp(10px,1.1vw,14px);font-weight:800;letter-spacing:.2em;border-radius:90px;background:#141b18d8;color:#fff;padding:14px 26px;white-space:nowrap;box-shadow:0 8px 30px #0002;pointer-events:none}
body.maranello-site .mr61-amalfi-card-badge{position:absolute;left:50%;top:60%;transform:translate(-50%,-50%);border-radius:30px;background:#171b18e0;color:#fff;font-size:12px;letter-spacing:.16em;font-weight:700;padding:13px 18px;white-space:nowrap;box-shadow:0 5px 23px #0003}
/* Floating WhatsApp concierge. Does not embed or spoof WhatsApp's own web service. */
body.maranello-site .mr61-whatsapp{position:fixed;right:24px;bottom:24px;z-index:180;display:flex;flex-direction:column;align-items:flex-end;gap:13px;font-family:system-ui,-apple-system,sans-serif}
body.maranello-site .mr61-wa-float{display:flex;align-items:center;gap:12px;background:#177b4d;color:#fff;border:0;border-radius:60px;padding:15px 20px;cursor:pointer;font-size:14px;font-weight:650;box-shadow:0 14px 36px #17563439;transition:transform .2s,background .2s;max-width:calc(100vw - 40px)}
body.maranello-site .mr61-wa-float:hover{transform:translateY(-3px);background:#10653f}
body.maranello-site .mr61-wa-float:focus-visible,body.maranello-site .mr61-wa-send:focus-visible,body.maranello-site .mr61-wa-close:focus-visible{outline:3px solid #b3dc9b;outline-offset:3px}
body.maranello-site .mr61-wa-panel[hidden]{display:none!important}
body.maranello-site .mr61-wa-panel{width:min(365px,calc(100vw - 28px));max-height:min(550px,calc(100dvh - 120px));overflow:auto;background:#fff;border-radius:18px;box-shadow:0 24px 65px #0003;border:1px solid #d5dfd7;color:#1b271e;animation:mr61-enter .2s ease both}
body.maranello-site .mr61-wa-panel__head{display:flex;align-items:center;gap:12px;padding:20px;background:#105d3d;color:#fff}
body.maranello-site .mr61-wa-symbol{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#ffffff26;font-size:22px}
body.maranello-site .mr61-wa-panel__title{display:flex;flex-direction:column;gap:2px;flex:1}
body.maranello-site .mr61-wa-panel__title strong{font-size:17px;font-weight:700}
body.maranello-site .mr61-wa-panel__title small{font-size:12px;opacity:.85}
body.maranello-site .mr61-wa-close{border:0;background:transparent;color:#fff;font-size:32px;cursor:pointer;width:35px;height:35px;line-height:1;display:grid;place-items:center}
body.maranello-site .mr61-wa-panel__body{padding:25px 23px 20px}
body.maranello-site .mr61-wa-greeting{font-size:21px;line-height:1.25;font-weight:700;letter-spacing:-.045em;margin:0 0 7px}
body.maranello-site .mr61-wa-sub{color:#657468;font-size:13px;line-height:1.45;margin:0 0 18px}
body.maranello-site .mr61-wa-panel textarea{display:block;width:100%;resize:vertical;border:1px solid #ced8d0;background:#f7f9f6;border-radius:12px;padding:13px;min-height:96px;font-family:inherit;font-size:15px;line-height:1.45;color:#1b271e;outline:none;box-sizing:border-box}
body.maranello-site .mr61-wa-panel textarea:focus{border-color:#177b4d}
body.maranello-site .mr61-wa-send{display:flex;width:100%;justify-content:space-between;align-items:center;padding:15px 18px;background:#177b4d;color:#fff;border:0;border-radius:12px;margin-top:12px;cursor:pointer;font-size:14px;font-weight:700}
body.maranello-site .mr61-wa-fineprint{font-size:11px;line-height:1.55;color:#69756c;margin:13px 0 0}
@keyframes mr61-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1150px){body.maranello-site .site-header .mr61-header-wa-label{display:none}body.maranello-site .site-header .mr61-header-wa-short{display:inline}}
@media(max-width:950px){body.maranello-site .mr61-global-form__shell{grid-template-columns:1fr;gap:27px}body.maranello-site .mr61-global-form__heading{position:static}body.maranello-site .mr61-global-form__heading h2{max-width:640px}}
@media(max-width:700px){body.maranello-site .mr61-global-form{padding:65px 0 90px}body.maranello-site .mr61-global-form__shell{width:calc(100% - 36px)}body.maranello-site .mr61-global-form__heading h2{font-size:clamp(39px,9vw,60px)}body.maranello-site .mr61-global-form__panel .inquiry-panel{padding:25px 18px;border-radius:14px}body.maranello-site .site-header .mr61-official-brand .mr61-brand-image{max-height:34px;max-width:155px}body.maranello-site .site-header .mr61-official-brand .mr61-brand-text{font-size:15px}body.maranello-site .site-header .mr61-header-wa{display:none}body.maranello-site .mr61-whatsapp{right:13px;bottom:15px}body.maranello-site .mr61-wa-float{padding:13px 15px;gap:8px}body.maranello-site .mr61-wa-float span{font-size:12px}body.maranello-site .mr61-amalfi-overlay{bottom:32%;padding:11px 19px}}
@media(max-width:700px){body.maranello-site:has(.route-car) .mr61-whatsapp{bottom:87px}}
@media(prefers-reduced-motion:reduce){body.maranello-site .mr61-wa-panel{animation:none}body.maranello-site .mr61-wa-float{transition:none}}
@media print{body.maranello-site .mr61-whatsapp{display:none!important}}

body.maranello-site [id="richiesta"]{scroll-margin-top:105px}
body.maranello-site .mr61-global-form__panel .inquiry-panel{scroll-margin-top:105px}
