.mg-valuation{--gold:#c5a346;--ink:#211e18;--cream:#f7f5ef;--muted:#6c685f;--line:#dfd9cd}.mg-valuation *{box-sizing:border-box}.mg-valuation{margin:0;background:var(--cream);font:17px/1.6 "Segoe UI",Arial,sans-serif;color:var(--ink)}.mg-valuation a{color:inherit}.mg-valuation .site-header{background:#1a1814;color:#f7f5ef;padding:17px max(24px,calc((100vw - 1050px)/2));display:flex;justify-content:space-between;align-items:center;gap:20px}.mg-valuation .site-header a{text-decoration:none;font-size:15px;white-space:nowrap}.mg-valuation .brand{display:flex;align-items:center;gap:16px;letter-spacing:2px;line-height:1.5}.mg-valuation .brand span{font-size:10px}.mg-valuation .brand strong{font-size:13px}.mg-valuation .brand img{object-fit:contain}.mg-valuation{max-width:850px;padding:24px 24px 54px;margin:auto}.mg-valuation .preview{font-size:11px;text-align:center;letter-spacing:.6px;color:#7a6b46;margin:0 0 28px}.mg-valuation .page-heading{text-align:center;margin:32px 0}.mg-valuation .eyebrow{font-size:11px;letter-spacing:2px;color:#8d732d;font-weight:700;margin:0 0 10px}.mg-valuation h1{font-family:Georgia,serif;font-size:clamp(32px,4vw,46px);font-weight:400;line-height:1.2;margin:12px 0}.mg-valuation .page-heading>p:last-child{color:var(--muted);font-size:17px}.mg-valuation h2{font-size:25px;line-height:1.3;margin:0 0 12px}.mg-valuation h3{font-size:21px;line-height:1.4;margin:0 0 10px}.mg-valuation .widget{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:0 10px 35px #33280b06;scroll-margin-top:20px}.mg-valuation .steps{list-style:none;display:flex;justify-content:space-between;gap:12px;padding:19px 32px;margin:0;border-bottom:1px solid var(--line);background:#fff}.mg-valuation .steps li{color:#777165;font-size:13px;display:flex;align-items:center;gap:8px}.mg-valuation .steps span{border:1px solid #d5cdbe;border-radius:50%;width:25px;height:25px;display:inline-flex;justify-content:center;align-items:center;font-size:12px}.mg-valuation .steps [aria-current]{font-weight:700;color:#3b321d}.mg-valuation .steps [aria-current] span{background:var(--gold);border-color:var(--gold)}.mg-valuation .step{padding:32px}.mg-valuation .address-step{background:linear-gradient(130deg,#f2e6bd,#fbf6e6)}.mg-valuation .lead{color:var(--muted);margin:0 0 24px}.mg-valuation label{display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:15px;min-width:0;margin:0 0 21px}.mg-valuation input,.mg-valuation select{font:inherit;font-size:17px;min-width:0;width:100%;min-height:49px;padding:11px 13px;border:1px solid #bcb5a6;border-radius:4px;background:#fff;color:var(--ink)}.mg-valuation input:focus,.mg-valuation select:focus,.mg-valuation button:focus-visible,.mg-valuation a:focus-visible,.mg-valuation summary:focus-visible{outline:3px solid #c5a34670;outline-offset:2px}.mg-valuation .grid{display:grid;grid-template-columns:1fr 1fr;column-gap:22px}.mg-valuation .wide{grid-column:1/-1}.mg-valuation .street-row{display:grid;grid-template-columns:minmax(0,1fr) 105px;gap:14px}.mg-valuation .street-row label{margin-bottom:10px}.mg-valuation fieldset{border:0;margin:0;padding:0;min-width:0}.mg-valuation legend{font-weight:600;font-size:16px;margin-bottom:14px}.mg-valuation .address-tabs{display:flex;margin:26px 0 24px}.mg-valuation .address-tabs label{flex:1;margin:0;position:relative;cursor:pointer}.mg-valuation .address-tabs input{position:absolute;opacity:0;width:1px;min-height:1px;height:1px}.mg-valuation .address-tabs span{text-align:center;padding:12px 8px;background:#fff;border:1px solid #d4c9ab;color:#756e5c}.mg-valuation .address-tabs input:checked+span{border:2px solid #987724;background:#fffaf0;color:#705310;padding:11px 7px}.mg-valuation .address-tabs input:focus-visible+span{outline:3px solid #88702488;outline-offset:2px}.mg-valuation .check{flex-direction:row;gap:11px;align-items:flex-start;font-weight:400;font-size:15px}.mg-valuation .check input,.mg-valuation .choices input{width:19px;height:19px;min-height:19px;flex-shrink:0;margin:3px 0 0;padding:0;accent-color:#a58632}.mg-valuation .hint,.mg-valuation .fine{font-size:13px;color:var(--muted);line-height:1.55}.mg-valuation .fine{margin:20px 0 0}.mg-valuation .primary,.mg-valuation .button{background:var(--gold);color:#201b11;border:1px solid var(--gold);padding:13px 23px;border-radius:4px;font:inherit;font-size:16px;font-weight:650;text-decoration:none;cursor:pointer;display:inline-block;text-align:center}.mg-valuation .primary:hover,.mg-valuation .button:hover{background:#d3b45d}.mg-valuation .full{width:100%;margin-top:8px}.mg-valuation .actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:26px}.mg-valuation .back,.mg-valuation .edit{font:inherit;font-size:14px;color:#76602a;border:0;background:transparent;cursor:pointer;padding:8px 0;text-decoration:underline;text-underline-offset:4px}.mg-valuation .location-card,.mg-valuation .property-summary{background:#f5f4f0;border:1px solid #e4e0d7;border-radius:4px;padding:20px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:20px 0}.mg-valuation .location-card strong{display:block;font-size:17px;margin:6px 0;overflow-wrap:anywhere}.mg-valuation .location-card a{font-size:13px;color:#7b6429}.mg-valuation .location-card .edit,.mg-valuation .property-summary .edit{flex-shrink:0}.mg-valuation .counter{display:grid;grid-template-columns:45px minmax(0,1fr) 45px;gap:5px}.mg-valuation .counter input{text-align:center;appearance:textfield;-moz-appearance:textfield}.mg-valuation .counter input::-webkit-inner-spin-button{appearance:none}.mg-valuation .counter button{font-size:23px;border:1px solid #bcb5a6;background:#fbfaf6;border-radius:4px;cursor:pointer;color:var(--ink)}.mg-valuation .features{display:grid;grid-template-columns:1fr 1fr;margin:0 0 16px}.mg-valuation .features legend{grid-column:1/-1}.mg-valuation .features label{margin:0 0 15px}.mg-valuation .features small,.mg-valuation small{font-weight:400;color:var(--muted);font-size:12px}.mg-valuation .choices label{display:flex;flex-direction:row;align-items:flex-start;gap:13px;padding:12px 14px;border:1px solid #e4e0d8;border-radius:5px;margin:0 0 10px;font-weight:400;cursor:pointer}.mg-valuation .choices label:has(input:checked){background:#fbf5e4;border-color:#b49648}.mg-valuation .secondary{border-top:1px solid var(--line);padding-top:22px;margin-top:28px}.mg-valuation .consent{font-size:13px;line-height:1.65;margin-top:12px}.mg-valuation .demo-note,.mg-valuation .coverage:not(:empty){background:#f8f3e5;border-left:3px solid var(--gold);padding:12px 15px;color:#665836;font-size:13px}.mg-valuation .coverage:empty{display:none}.mg-valuation .step[data-step="4"]{padding:0}.mg-valuation .property-summary{border:0;border-radius:0;border-bottom:1px solid var(--line);margin:0;padding:24px 32px}.mg-valuation .property-summary strong{font-size:17px;overflow-wrap:anywhere}.mg-valuation .property-summary p{font-size:13px;color:var(--muted);margin:4px 0 0}.mg-valuation .result-content{padding:30px 32px}.mg-valuation .result-content>.eyebrow,.mg-valuation .result-content>h2{text-align:center}.mg-valuation .result-figure{text-align:center;border:1px solid #ddcfaa;border-radius:7px;padding:24px 16px;margin:24px 0;background:#fffcf3}.mg-valuation .result-figure small{display:block}.mg-valuation .rate{font-family:Georgia,serif;font-size:48px;font-weight:500;line-height:1.3;margin:7px 0}.mg-valuation .breakdown{text-align:center;color:var(--muted);font-size:14px}.mg-valuation .method{font-size:13px;color:var(--muted);margin:22px 0}.mg-valuation .method summary{cursor:pointer;font-weight:600;color:#5d512f}.mg-valuation .next{border-top:1px solid var(--line);padding-top:24px;margin-top:26px}.mg-valuation .next p{color:var(--muted);font-size:15px}.mg-valuation #status{padding:0 32px;color:#963a23;font-size:14px}.mg-valuation #status:empty{display:none}.mg-valuation .source{font-size:11px;text-align:center;color:var(--muted);margin:20px 0 0}.mg-valuation footer{padding:30px 20px;background:#1a1814;text-align:center;color:var(--gold);font-size:12px;letter-spacing:2px}.mg-valuation footer span{display:block;color:#c7bfad;font-size:12px;letter-spacing:0;margin-top:7px}.mg-valuation .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mg-valuation [hidden]{display:none!important}@media(max-width:600px){.mg-valuation .site-header{padding:13px 17px}.mg-valuation .site-header>a:last-child{font-size:12px}.mg-valuation .brand{gap:8px}.mg-valuation .brand span{font-size:8px;letter-spacing:1px}.mg-valuation .brand strong{font-size:10px}.mg-valuation .brand img{width:43px;height:43px}.mg-valuation{padding:18px 12px 36px}.mg-valuation .preview{font-size:10px;margin-bottom:22px}.mg-valuation .page-heading{margin:22px 5px}.mg-valuation .page-heading>p:last-child{font-size:14px}.mg-valuation .steps{padding:15px 12px;gap:6px}.mg-valuation .steps li{flex-direction:column;gap:5px;font-size:11px}.mg-valuation .step{padding:24px 18px}.mg-valuation h2{font-size:23px}.mg-valuation .lead{font-size:15px}.mg-valuation .address-tabs span{font-size:13px}.mg-valuation .grid{column-gap:14px}.mg-valuation .grid:not(.counters){grid-template-columns:1fr}.mg-valuation .street-row{grid-template-columns:minmax(0,1fr) 78px;gap:10px}.mg-valuation .street-row input{padding:11px 9px}.mg-valuation .counter{grid-template-columns:34px minmax(0,1fr) 34px;gap:4px}.mg-valuation .counter input{padding:11px 3px}.mg-valuation .features label{font-size:14px}.mg-valuation .actions{gap:12px}.mg-valuation .actions .primary{padding:13px 16px;font-size:14px}.mg-valuation .location-card{padding:15px;gap:14px}.mg-valuation .property-summary{padding:20px 18px}.mg-valuation .result-content{padding:26px 18px}.mg-valuation .rate{font-size:42px}.mg-valuation .button{width:100%;font-size:14px}.mg-valuation .choices label{font-size:15px}.mg-valuation .fine{font-size:11px}}@media(prefers-reduced-motion:no-preference){.mg-valuation .primary,.mg-valuation .button{transition:background .15s}}.mg-valuation .page-heading{margin:20px 0}.mg-valuation .page-heading h1{font-family:inherit;font-size:27px;font-weight:650;line-height:1.3}.mg-valuation .preview{margin-bottom:18px}@media(max-width:600px){.mg-valuation .page-heading{margin:18px 5px}.mg-valuation .page-heading h1{font-size:23px}}.mg-valuation .address-tabs span{height:64px;display:flex;align-items:center;justify-content:center;line-height:1.35}

body.mg-valuador-page .entry-header{display:none}body.mg-valuador-page #primary{width:100%;margin:0}body.mg-valuador-page .site-content .ast-container{display:block;max-width:none;padding:0}body.mg-valuador-page .entry-content{margin:0}body.mg-valuador-page .site-content{background:#f7f5ef}.mg-valuation{width:100%;margin:0 auto;max-width:850px;font-family:Poppins,"Segoe UI",sans-serif}.mg-valuation .mgv-trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.mg-valuation .widget{scroll-margin-top:160px}.mg-valuation button:disabled{opacity:.6;cursor:wait}
.mg-valuation .privacy-basic{font-size:13px;line-height:1.65;margin:20px 0;padding:16px;background:#f4efe4;color:#454039;overflow-wrap:anywhere}.mg-valuation .mgv-privacy h2{margin-top:32px}.mg-valuation .mgv-privacy p{line-height:1.8}.mg-valuation .mgv-privacy{margin:36px 0}.mg-valuation .mgv-privacy a{overflow-wrap:anywhere}.mg-valuation [hidden]{display:none!important}.mg-valuation .check input,.mg-valuation .choices input{appearance:auto;-webkit-appearance:auto;position:static;opacity:1}.mg-valuation .privacy-basic a{color:#574215;text-decoration:underline}
html:has(body.mg-valuador-page){scroll-behavior:auto!important}.mg-valuation h1,.mg-valuation h2,.mg-valuation h3{font-family:Poppins,"Segoe UI",sans-serif;color:#211e18}.mg-valuation .counter button{padding:0;min-width:0;width:100%;font-size:22px;line-height:1}.mg-valuation .counter input{min-width:0;width:100%;text-align:center}.mg-valuation .mgv-privacy{padding:clamp(20px,4vw,38px)}.mg-valuation{padding-bottom:100px}
/* Desplegables con sugerencias: municipio y calle (2026-10-01). La flecha es un botón de verdad. */
.mg-valuation .mg-combo{position:relative;margin:0 0 21px}
.mg-valuation .mg-combo>label{margin:0 0 8px}
.mg-valuation .street-row .mg-combo{margin-bottom:10px}
.mg-valuation .mg-combo__caja{position:relative}
#valuation .mg-combo__caja input{padding-right:13px}
#valuation [data-combo="municipio"] input{padding-right:56px}
#valuation .mg-combo__flecha{position:absolute;top:1px;right:1px;bottom:1px;width:48px;min-height:0;margin:0;padding:0;border:0;border-left:1px solid #e4e0d8;border-radius:0 3px 3px 0;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2314110E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center/14px;box-shadow:none;cursor:pointer;color:transparent}
#valuation .mg-combo__flecha:hover{background-color:#fbf5e4}
#valuation .mg-combo__flecha[aria-expanded="true"]{transform:none;background-color:#fbf5e4}
.mg-valuation .mg-combo__lista{position:absolute;z-index:30;left:0;right:0;top:100%;margin:4px 0 0;padding:4px 0;list-style:none;max-height:min(300px,45vh);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #bcb5a6;border-radius:6px;box-shadow:0 10px 28px rgba(33,30,24,.16)}
.mg-valuation .street-row .mg-combo__lista{right:-119px}
.mg-valuation .mg-combo__lista li{margin:0;padding:11px 14px;font-size:16px;line-height:1.35;font-weight:400;cursor:pointer;color:var(--ink)}
.mg-valuation .mg-combo__lista li strong{font-weight:700}
.mg-valuation .mg-combo__lista li[aria-selected="true"],.mg-valuation .mg-combo__lista li:hover{background:#fbf5e4}
.mg-valuation .mg-combo__lista li+li{border-top:1px solid #f1ede5}
.mg-valuation .mg-osm{margin:-6px 0 14px;font-size:11.5px;color:var(--muted)}
.mg-valuation .mg-osm a{color:inherit}
@media (max-width:640px){.mg-valuation .street-row .mg-combo__lista{right:-88px}}
/* Horquilla (2026-09-29): dos cifras en una línea también en móvil. */
.mg-valuation .result-figure .rate{font-size:clamp(26px,7vw,46px);line-height:1.2;letter-spacing:-.01em}
/* Rango de dos extremos (2026-09-29). */
.mg-valuation .mg-rango-caja{text-align:center;padding:24px 20px}
.mg-valuation .mg-rango-contexto{margin:0 0 14px;font-size:13px;color:var(--muted)}
.mg-valuation .mg-rango{display:grid;grid-template-columns:1fr minmax(36px,90px) 1fr;align-items:end;gap:12px;max-width:560px;margin:0 auto}
.mg-valuation .mg-rango__extremo{display:flex;flex-direction:column;gap:4px;min-width:0}
.mg-valuation .mg-rango__extremo--bajo{text-align:right;align-items:flex-end}
.mg-valuation .mg-rango__extremo--alto{text-align:left;align-items:flex-start}
.mg-valuation .mg-rango__etiqueta{font-size:14px;line-height:1.35;color:var(--ink)}
.mg-valuation .mg-rango__valor{font-size:clamp(22px,6vw,32px);line-height:1.1;font-weight:700;color:var(--ink);white-space:nowrap}
.mg-valuation .mg-rango__linea{position:relative;height:3px;margin-bottom:.8em;background:var(--gold);border-radius:2px}
.mg-valuation .mg-rango__linea::before,.mg-valuation .mg-rango__linea::after{content:"";position:absolute;top:50%;width:12px;height:12px;border-radius:50%;background:var(--gold);transform:translateY(-50%)}
.mg-valuation .mg-rango__linea::before{left:-6px}.mg-valuation .mg-rango__linea::after{right:-6px}
.mg-valuation .mg-rango-medio{margin:16px 0 0;font-size:13px;color:var(--muted)}
.mg-valuation .mg-rango-aviso{font-size:12.5px;line-height:1.6;color:var(--muted);margin:16px 0}
@media (max-width:420px){.mg-valuation .mg-rango-caja{padding:20px 12px}.mg-valuation .mg-rango{grid-template-columns:1fr 22px 1fr;gap:10px}.mg-valuation .mg-rango__etiqueta{font-size:12.5px}.mg-valuation .mg-rango__valor{font-size:clamp(19px,5.6vw,24px)}.mg-valuation .mg-rango__linea::before,.mg-valuation .mg-rango__linea::after{width:9px;height:9px}.mg-valuation .mg-rango__linea::before{left:-4px}.mg-valuation .mg-rango__linea::after{right:-4px}}
.mg-valuation .mg-rango-ajustes{margin:8px 0 0;font-size:13px;color:#5A5040}
.mg-valuation .mg-ayuda-campo{display:block;margin-top:6px;font-size:12.5px;font-weight:400;line-height:1.45;color:#5A5040}
/* Terrazas y balcón con sus metros (2026-10-01). */
.mg-valuation .mg-exterior{margin:0 0 6px;padding:14px 16px 0;border:1px solid #ece6d8;border-radius:6px;background:#fcfaf5}
.mg-valuation .mg-exterior label{margin-bottom:14px}
.mg-valuation .mg-exterior__metros{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));column-gap:14px}
.mg-valuation .mg-exterior+.mg-exterior{margin-top:10px}
.mg-valuation #balcony-fields,.mg-valuation #terrace-fields{margin-bottom:16px}
/* Aviso del resultado: es una orientación y qué factores mueven el precio (2026-10-01). */
.mg-valuation .mg-orientativo{margin:24px 0 0;padding:20px 22px;border:1px solid #e4d9c2;border-left:4px solid var(--gold);border-radius:6px;background:#fcfaf5}
.mg-valuation .mg-orientativo h3{font-size:18px;margin:0 0 8px}
.mg-valuation .mg-orientativo p{font-size:14.5px;line-height:1.6;color:#3d382f;margin:0 0 10px}
.mg-valuation .mg-orientativo ul{margin:4px 0 0;padding-left:20px;font-size:14px;line-height:1.55;color:#3d382f}
.mg-valuation .mg-orientativo li{margin:0 0 6px}
.mg-valuation .mg-orientativo li strong{color:var(--ink)}
@media (max-width:420px){.mg-valuation .mg-orientativo{padding:16px 14px}.mg-valuation .mg-orientativo ul{padding-left:18px}}
.mg-valuation .mg-orientativo ul{list-style:disc}
/* La lista de sugerencias no puede quedar cortada por el borde de la caja: sin overflow:hidden,
   las esquinas redondeadas las ponen la cabecera y cada paso. */
.mg-valuation .widget{overflow:visible}
.mg-valuation .steps{border-radius:10px 10px 0 0}
.mg-valuation .widget .step{border-radius:0 0 10px 10px}
.mg-valuation .mg-combo__lista li.mg-combo__nota{cursor:default;color:var(--muted);font-size:14.5px;background:none}
/* Errores campo a campo (2026-10-01). */
.mg-valuation .mg-error{margin:-14px 0 18px;font-size:13.5px;line-height:1.45;font-weight:600;color:#a3321b}
.mg-valuation .mg-error::before{content:"⚠ ";font-weight:400}
.mg-valuation .street-row .mg-error,.mg-valuation .check+.mg-error{margin-top:-4px}
.mg-valuation .choices+.mg-error{margin-top:-2px}
.mg-valuation [aria-invalid="true"]:not([type=checkbox]):not([type=radio]){border-color:#a3321b;box-shadow:0 0 0 1px #a3321b}
.mg-valuation .mg-con-error.check span{color:#a3321b}
.mg-valuation #status{padding-top:4px;padding-bottom:16px;font-weight:600}
