/* SGTUNE — Configurador; estilos delimitados para no alterar el resto de la web */
#sg-config{background:#09090a;min-height:80vh;color:#f7f7f9}
#sg-config .cfg-wrap{padding-top:72px;padding-bottom:116px}
#sg-config .cfg-heading{max-width:1050px}
#sg-config .cfg-heading .overline{font-size:11px;letter-spacing:.22em;color:#ff4054;font-weight:900;display:flex;align-items:center;gap:14px}
#sg-config .red-line{height:2px;width:35px;background:#f11d38;display:inline-block}
#sg-config h1{font:900 clamp(56px,7.5vw,112px)/.93 var(--display,Impact,Arial Narrow,sans-serif);margin:21px 0 22px;letter-spacing:-.017em}
#sg-config h1 em{color:#ed172e;font-style:normal}
#sg-config .cfg-heading>p{font-size:14px;color:#bfc0c8;max-width:730px;line-height:1.9;margin-bottom:40px}
#sg-config .cfg-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:44px 0 34px;border-top:1px solid #373940;padding-top:0}
#sg-config .cfg-step{background:transparent;border:0;border-top:3px solid transparent;color:#777981;display:flex;align-items:center;gap:11px;padding:19px 10px;text-align:left;cursor:pointer;font-size:10px;font-family:var(--font,Arial,sans-serif);letter-spacing:.025em}
#sg-config .cfg-step span{font:900 24px var(--display,Impact,sans-serif)}
#sg-config .cfg-step strong{font-size:11px;font-weight:800}
#sg-config .cfg-step.is-active{border-top-color:#ec1933;color:#fff}
#sg-config .cfg-step.is-done{border-top-color:#7d222f;color:#c5c5ca}
#sg-config .cfg-step:disabled{cursor:default}
#sg-config .cfg-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,385px);gap:22px;align-items:start}
#sg-config .cfg-main{min-width:0}
#sg-config .cfg-panel{background:#16171a;border:1px solid #33353c;padding:clamp(24px,3.6vw,50px)}
#sg-config .cfg-panel[hidden],#sg-config .cfg-actions [hidden],#sg-config .cfg-after[hidden]{display:none!important}
#sg-config .cfg-panel-head>span{display:block;color:#ef2941;font-size:10px;font-weight:850;letter-spacing:.16em;margin-bottom:8px}
#sg-config .cfg-panel h2{font:900 clamp(35px,3.8vw,55px)/1 var(--display,Impact,sans-serif);margin:0 0 14px;color:#fff}
#sg-config .cfg-panel-head p{color:#aeb0b8;font-size:12px;margin:0 0 28px;line-height:1.8}
#sg-config .cfg-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
#sg-config .cfg-field{display:flex;flex-direction:column;min-width:0}
#sg-config .cfg-label{display:block;color:#e8e8eb;font-size:10px;font-weight:900;letter-spacing:.075em;text-transform:uppercase;margin-bottom:8px}
#sg-config .cfg-field input,#sg-config .cfg-field select,#sg-config .cfg-field textarea,#sg-config .cfg-map-row select,#sg-config .cfg-health select,#sg-config .cfg-profile select,#sg-config #cfg-message{width:100%;min-width:0;background:#0b0c0e;border:1px solid #42434a;color:#f5f5f6;border-radius:2px;padding:13px 15px;min-height:47px;font:500 13px var(--font,Arial,sans-serif);line-height:1.5}
#sg-config select{color-scheme:dark}
#sg-config input:focus-visible,#sg-config select:focus-visible,#sg-config textarea:focus-visible,#sg-config button:focus-visible{outline:2px solid #ed172e;outline-offset:2px}
#sg-config input::placeholder,#sg-config textarea::placeholder{color:#747681}
#sg-config textarea{resize:vertical}
#sg-config .cfg-textfield{margin-top:20px}
#sg-config .cfg-health{display:grid;grid-template-columns:1fr 210px;gap:18px;align-items:center;border-top:1px solid #36373e;margin-top:25px;padding-top:23px}
#sg-config .cfg-health strong{display:block;font-size:13px}
#sg-config .cfg-health small{display:block;margin-top:6px;font-size:11px;line-height:1.6;color:#a5a6af}
#sg-config .cfg-platforms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#sg-config .cfg-platform{min-height:102px;text-align:left;padding:17px 18px;background:#101114;color:#fff;border:1px solid #43444b;cursor:pointer;transition:.18s}
#sg-config .cfg-platform:hover,#sg-config .cfg-platform.active{border-color:#f4203c;background:linear-gradient(120deg,#2a151c,#151518)}
#sg-config .cfg-platform span{display:block;color:#a6a6ad;font-size:9px;font-weight:900;letter-spacing:.08em;margin-bottom:10px}
#sg-config .cfg-platform strong{font:900 27px/1 var(--display,Impact,sans-serif)}
#sg-config .cfg-platform.active:after{content:'✓';float:right;color:#f4203c;font-weight:900}
#sg-config .cfg-map-row{border-top:1px solid #34353b;border-bottom:1px solid #34353b;margin-top:22px;padding:22px 0;display:grid;grid-template-columns:1fr 150px;gap:15px;align-items:center}
#sg-config .cfg-map-row p{color:#a3a5af;font-size:11px;margin:5px 0}
#sg-config .cfg-map-profiles{margin-top:24px}
#sg-config .cfg-subtitle{font-size:10px;letter-spacing:.14em;color:#b4b5bd;font-weight:900;margin-bottom:10px}
#sg-config .cfg-profile{display:grid;grid-template-columns:85px 1fr;align-items:center;gap:14px;padding:7px 0}
#sg-config .cfg-profile span{font-size:10px;font-weight:900;color:#f02c45;letter-spacing:.09em}
#sg-config .cfg-info{border-left:3px solid #e71d37;background:#211b21;color:#bfc0c8;padding:15px 17px;margin-top:22px;font-size:11px;line-height:1.75}
#sg-config .cfg-info strong{color:#fff}
#sg-config .cfg-extras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
#sg-config .cfg-extra{display:flex;align-items:flex-start;gap:12px;background:#101114;border:1px solid #41434a;min-height:119px;padding:17px 14px;cursor:pointer;position:relative}
#sg-config .cfg-extra:has(input:checked){border-color:#e91b35;background:#21171c}
#sg-config .cfg-extra input{position:absolute;opacity:0;inset:0;cursor:pointer}
#sg-config .cfg-extra-indicator{width:21px;height:21px;flex:0 0 21px;border:1px solid #777982;display:grid;place-items:center;font-size:13px;margin-top:1px}
#sg-config .cfg-extra:has(input:checked) .cfg-extra-indicator{border-color:#ed172e;background:#ed172e}
#sg-config .cfg-extra:has(input:checked) .cfg-extra-indicator:before{content:'✓'}
#sg-config .cfg-extra-body{min-width:0;flex:1}
#sg-config .cfg-extra-body strong{display:block;color:#fff;font-size:12px;line-height:1.35}
#sg-config .cfg-extra-body small{display:block;color:#999ba5;font-size:10px;line-height:1.6;margin-top:9px}
#sg-config .cfg-extra-plus{color:#ed172e;font-size:18px}
#sg-config .cfg-consent{display:flex;gap:13px;color:#c3c4cb;font-size:12px;line-height:1.6;align-items:flex-start;margin:23px 0 5px}
#sg-config .cfg-consent input{margin-top:3px;accent-color:#ed172e;width:18px;height:18px;flex-shrink:0}
#sg-config .cfg-privacy{font-size:11px;color:#898b96}
#sg-config .cfg-final-note{display:flex;flex-direction:column;background:#24181d;border-left:3px solid #ed172e;padding:18px;margin-top:22px;gap:9px}
#sg-config .cfg-final-note strong{font-size:10px;letter-spacing:.1em;color:#ed7180}
#sg-config .cfg-final-note span{font:900 30px var(--display,Impact,sans-serif)}
#sg-config .cfg-final-note small{font-size:11px;color:#a9abb3;line-height:1.6}
#sg-config .cfg-actions{background:#16171a;border:1px solid #33353c;border-top:0;padding:19px 35px;display:flex;justify-content:space-between;gap:12px}
#sg-config .cfg-actions #cfg-next,#sg-config .cfg-actions #cfg-send{margin-left:auto}
#sg-config .cfg-summary{border:1px solid #5a2632;background:#121215;position:sticky;top:24px;overflow:hidden;box-shadow:0 18px 42px #0006}
#sg-config .cfg-summary-top{background:linear-gradient(90deg,#df1129,#a70b24);display:flex;align-items:center;justify-content:space-between;padding:15px 24px;color:#fff;gap:5px}
#sg-config .cfg-summary-kicker,#sg-config .cfg-summary-id{font-weight:900;letter-spacing:.11em;font-size:10px}
#sg-config .cfg-summary-body{padding:32px 27px}
#sg-config .cfg-status{font-size:9px;color:#92949d;letter-spacing:.09em;font-weight:900;display:flex;align-items:center;gap:8px}
#sg-config .cfg-live-dot{width:7px;height:7px;border-radius:50%;background:#ed172e;box-shadow:0 0 0 4px #ed172e29}
#sg-config .cfg-summary h3{font:900 38px/1.05 var(--display,Impact,sans-serif);margin:22px 0 7px;overflow-wrap:anywhere}
#sg-config #cfg-summary-spec{font-size:11px;color:#9698a3;margin:0}
#sg-config .cfg-summary-divider{border-top:1px solid #34353c;margin:27px 0}
#sg-config .cfg-summary-item{display:flex;gap:14px;justify-content:space-between;padding:9px 0;font-size:12px}
#sg-config .cfg-summary-item span{color:#a0a1ab}
#sg-config .cfg-summary-item strong{text-align:right}
#sg-config .cfg-price-label{font-size:10px;color:#9fa1a9;letter-spacing:.1em;font-weight:900}
#sg-config .cfg-price{font:900 clamp(36px,3.2vw,49px)/1.3 var(--display,Impact,sans-serif);color:#fff;margin:6px 0 8px}
#sg-config .cfg-price-info{font-size:11px;color:#d2a9b0;line-height:1.6}
#sg-config .cfg-summary-disclaimer{color:#858792;font-size:10px;line-height:1.75;margin-top:22px;border-top:1px solid #303138;padding-top:17px}
#sg-config .cfg-summary-foot{background:#09090b;padding:14px 24px;display:flex;justify-content:space-between;gap:5px;font-size:9px;font-weight:900;color:#878990;letter-spacing:.09em}
#sg-config .cfg-after{padding:25px;background:#181d1a;border:1px solid #426047;margin-top:22px}
#sg-config .cfg-after h3{font:900 34px var(--display,Impact,sans-serif);margin:0}
#sg-config .cfg-after p{font-size:12px;color:#aaaeb3}
#sg-config #cfg-message{min-height:200px;resize:vertical;font-size:12px}
#sg-config .cfg-after-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}
@media(max-width:1420px){.desktop-nav{display:none}.mobile-toggle{display:block}}
@media(max-width:990px){#sg-config .cfg-layout{grid-template-columns:minmax(0,1fr)}#sg-config .cfg-summary{position:static;max-width:100%}#sg-config .cfg-summary-body{padding:24px}#sg-config .cfg-summary h3{font-size:32px}#sg-config .cfg-wrap{padding-top:45px}#sg-config .cfg-summary{grid-row:1}}
@media(max-width:680px){#sg-config .cfg-wrap{padding-top:42px;padding-bottom:60px}#sg-config h1{font-size:clamp(37px,11vw,58px)}#sg-config .cfg-heading>p{font-size:12px;margin-bottom:21px}#sg-config .cfg-steps{margin:25px 0 20px}#sg-config .cfg-step{display:flex;flex-direction:column;gap:3px;text-align:center;padding:12px 2px}#sg-config .cfg-step span{font-size:19px}#sg-config .cfg-step strong{font-size:9px;line-height:1.1}#sg-config .cfg-panel{padding:22px 17px}#sg-config .cfg-panel h2{font-size:38px}#sg-config .cfg-fields-grid,#sg-config .cfg-extras{grid-template-columns:minmax(0,1fr)}#sg-config .cfg-health{grid-template-columns:1fr}#sg-config .cfg-platforms{gap:7px}#sg-config .cfg-platform{padding:13px;min-height:85px}#sg-config .cfg-platform strong{font-size:23px}#sg-config .cfg-platform span{font-size:8px}#sg-config .cfg-map-row{grid-template-columns:1fr 112px}#sg-config .cfg-actions{padding:15px 16px}#sg-config .cfg-actions .btn{font-size:10px;padding:12px}#sg-config .cfg-summary{grid-row:auto}#sg-config .cfg-summary-body{padding:24px}#sg-config .cfg-summary h3{font-size:34px}#sg-config .cfg-price{font-size:43px}#sg-config .cfg-profile{grid-template-columns:75px 1fr}}
#sg-config .cfg-plan-promo{display:flex}
.cfg-plan-promo{margin-top:32px;border:1px solid #4a2b32;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(110deg,#2a131a,#16171a)}
.cfg-plan-promo h3{font:900 32px/1.1 var(--display,Impact,sans-serif);margin:9px 0}
.cfg-plan-promo p{font-size:12px;margin:0;color:#b4b4bb}
@media(max-width:720px){.cfg-plan-promo{flex-direction:column;align-items:flex-start;padding:23px}}

/* SGTUNE / MAPAS PERSONALIZADOS v2 — selección y RPM contextual */
#sg-config .cfg-profile-card{padding:18px;margin:0 0 12px;background:#101114;border:1px solid #34363d;border-radius:3px}
#sg-config .cfg-profile{padding:0;grid-template-columns:85px minmax(0,1fr)}
#sg-config .cfg-profile label{font-size:10px;font-weight:900;color:#f02c45;letter-spacing:.09em}
#sg-config .cfg-profile-description{margin:11px 0 0 99px;font-size:11px;line-height:1.65;color:#aeb0b9}
#sg-config .cfg-pops-control{margin:18px 0 0;padding:18px;background:#1b171b;border:1px solid #633038}
#sg-config .cfg-pops-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
#sg-config .cfg-pops-head label{font-size:11px;font-weight:800;color:#f4f4f6}
#sg-config .cfg-pops-head output{font:900 24px/1 var(--display,Impact,sans-serif);color:#ff4257}
#sg-config .cfg-pops-range{width:100%;display:block;margin:21px 0 7px;accent-color:#ec1933;cursor:pointer;height:9px;min-height:9px;touch-action:pan-y}
#sg-config .cfg-range-scale{display:flex;justify-content:space-between;font-size:10px;color:#a6a7b0}
#sg-config .cfg-tuner-tip{font-size:11px;line-height:1.65;color:#cebac0;margin:17px 0 0}
#sg-config .cfg-tuner-tip strong{color:#fff}
#sg-config .cfg-rpm-warning:not([hidden]){color:#ff9da7;font-size:10px;line-height:1.6;margin:10px 0 0}
#sg-config .cfg-selected-mapnames{font-size:11px;line-height:1.6;color:#e5acb4;margin:-2px 0 9px;padding:0 0 15px;border-bottom:1px solid #34353c;overflow-wrap:anywhere}
@media(max-width:680px){#sg-config .cfg-profile{grid-template-columns:72px minmax(0,1fr)}#sg-config .cfg-profile-card{padding:14px 12px}#sg-config .cfg-profile-description{margin-left:0}#sg-config .cfg-pops-control{padding:15px 12px}#sg-config .cfg-pops-head output{font-size:21px}}

/* SGTUNE / v3 — Burnout dinámico e intensidad de Pops */
#sg-config .cfg-burnout-wrap{margin-bottom:18px}
#sg-config .cfg-burnout-option,#sg-config .cfg-burnout-included{display:flex;align-items:center;gap:14px;border:1px solid #62404b;background:linear-gradient(95deg,#26171c,#171619);padding:17px;min-height:85px;position:relative}
#sg-config .cfg-burnout-option{cursor:pointer}
#sg-config .cfg-burnout-option input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:1}
#sg-config .cfg-burnout-option:focus-within{outline:2px solid #f21f3d;outline-offset:2px}
#sg-config .cfg-included-icon{flex:0 0 30px;width:30px;height:30px;border:1px solid #ed2941;display:grid;place-items:center;color:#fff;background:#a61d31;font-weight:900}
#sg-config .cfg-burnout-included .cfg-included-icon{background:#24412c;border-color:#428553}
#sg-config .cfg-burnout-wrap strong{display:block;color:#fff;font-size:13px;margin-bottom:5px}
#sg-config .cfg-burnout-wrap small{display:block;color:#adb0ba;font-size:11px;line-height:1.5}
#sg-config .cfg-burnout-wrap b{white-space:nowrap;margin-left:auto;font-size:10px;color:#ff5b6d;letter-spacing:.06em}
#sg-config .cfg-burnout-included b{color:#92cba0}
#sg-config .cfg-intensity{border-top:1px solid #5d3840;padding-top:17px;margin-top:17px}
#sg-config .cfg-intensity-title{display:block;font-weight:800;font-size:11px;letter-spacing:.04em;color:#f0f0f3;margin-bottom:11px}
#sg-config .cfg-intensity-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#sg-config .cfg-intensity-option{position:relative;cursor:pointer;text-align:center;border:1px solid #52505a;background:#111114;color:#aeb0b8;min-height:44px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800}
#sg-config .cfg-intensity-option input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;z-index:1}
#sg-config .cfg-intensity-option:has(input:checked){background:#4a1c27;border-color:#f22a45;color:#fff}
#sg-config .cfg-intensity-option:focus-within{outline:2px solid #f22a45;outline-offset:2px}
#sg-config .cfg-intensity-tip{display:block;margin-top:11px;color:#ada3ab;font-size:10px;line-height:1.65}
@media(max-width:680px){#sg-config .cfg-burnout-option,#sg-config .cfg-burnout-included{gap:10px;padding:13px}#sg-config .cfg-burnout-wrap b{font-size:9px}}
