/* Experto de Hogar — Calculadora de pintura. Todos los selectores visuales están encapsulados. */
.edhpc {
  --edhpc-ink: #1d2926;
  --edhpc-muted: #63716c;
  --edhpc-green: #27745e;
  --edhpc-green-dark: #185742;
  --edhpc-peach: #ffd8c6;
  --edhpc-cream: #fffaf3;
  --edhpc-line: #e6e9e2;
  --edhpc-tint: #f5f7f3;
  --edhpc-sh: 0 16px 44px rgba(27,62,49,.055);
  display: block;
  isolation: isolate;
  width: 100%;
  max-width: 850px;
  margin: 28px auto 56px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--edhpc-ink);
  -webkit-font-smoothing: antialiased;
}
.edhpc, .edhpc *,.edhpc *::before,.edhpc *::after { box-sizing: border-box; }
.edhpc button,.edhpc input,.edhpc textarea { font: inherit; }
.edhpc button { -webkit-tap-highlight-color: transparent; cursor: pointer; }
.edhpc button:disabled { cursor: not-allowed; }
.edhpc p,.edhpc h2,.edhpc h3 { margin: 0; padding: 0; }
.edhpc button:focus-visible,.edhpc input:focus-visible,.edhpc textarea:focus-visible,.edhpc a:focus-visible {
  outline: 3px solid #66b4a1;
  outline-offset: 3px;
}
.edhpc__shell {
  background: #fff;
  overflow: clip;
  border: 1px solid #e8eae5;
  border-radius: 28px;
  box-shadow: 0 22px 75px rgba(32,57,48,.095),0 2px 7px rgba(32,57,48,.05);
}
.edhpc__header {
  min-height: 84px;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 10px;
  padding: 12px clamp(18px, 5%, 42px);
  border-bottom: 1px solid var(--edhpc-line);
  background: #fff;
}
.edhpc__round-btn {
  border: 0;
  width: 46px;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #f3f6f3;
  color: var(--edhpc-ink);
  transition: background .15s ease, transform .15s ease;
}
.edhpc__round-btn:not(:disabled):hover { background: #dfefe8; transform: translateY(-1px); }
.edhpc__round-btn:disabled { opacity: .3; }
.edhpc__round-btn svg { width: 23px; height: 23px; }
.edhpc__header-title { text-align: center; min-width: 0; }
.edhpc__header-title strong { display: block; font-size: 17px; font-weight: 750; line-height: 1.25; letter-spacing: -.25px; }
.edhpc__header-mini { display: block; font-size: 10px; letter-spacing: 2.2px; font-weight: 800; color: #408d72; margin-bottom: 3px; }
.edhpc__header-mini span { color: #ed9a6c; }
.edhpc__content { padding: 30px clamp(20px,6%,54px) 40px; }
.edhpc__intro {
  padding: 28px 28px 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 195px;
  border-radius: 25px;
  background: radial-gradient(ellipse 70% 100% at 95% 0%,#ffe6d5 0%,transparent 68%),linear-gradient(124deg,#f1f9f4 0%,#f9f7ed 100%);
  border: 1px solid #e8f1e8;
  overflow: hidden;
  margin-bottom: 38px;
  position: relative;
}
.edhpc__intro::before { content:""; position:absolute; width:110px; height:110px; background:#f0f5db; border-radius:50%; top:-54px; left:-38px; opacity:.6; }
.edhpc__intro-copy { position: relative; max-width: 460px; z-index:1; }
.edhpc__eyebrow { font-size: 11px; font-weight: 800; color: #32765e; letter-spacing: 1.15px; text-transform: uppercase; }
.edhpc__sparkle { font-size:17px; color:#e7a263; vertical-align:middle; }
.edhpc__intro h2 { font-size: clamp(30px,5vw,39px); font-weight: 850; letter-spacing: -1.4px; line-height:1.12; margin: 10px 0 12px; color: var(--edhpc-ink); }
.edhpc__dot { color:#e8a167; }
.edhpc__intro p { font-size:14px; line-height:1.7; color:#53645c; max-width:470px; }
.edhpc__illustration { flex:0 0 153px; width:153px; margin-left:12px; z-index:1; transform:rotate(-3deg); filter:drop-shadow(0 12px 8px #486b511e); }
.edhpc__illustration svg { width:100%; height:auto; }
.edhpc__section { margin: 0 0 39px; }
.edhpc__section-header { display:flex; align-items:center; gap:12px; margin-bottom:17px; }
.edhpc__section-header h3 { font-size:21px; font-weight:800; letter-spacing:-.5px; line-height:1.2; color:var(--edhpc-ink); }
.edhpc__step { flex:none; display:inline-flex; align-items:center; justify-content:center; width:33px; height:33px; border-radius:12px; background:#eef7ed; color:#3d8363; font-weight:800; font-size:12px; letter-spacing:.3px; }
.edhpc__required { color:#db8862; }
.edhpc__field-label { display:block; color:#3a534b; font-size:13px; font-weight:700; margin: 0 0 9px; }
.edhpc__input-wrap { position:relative; display:flex; align-items:center; }
.edhpc__area-input {
  appearance:textfield;
  -moz-appearance:textfield;
  width:100%; min-height:66px;
  border:2px solid #b2d9c5!important;
  border-radius:15px!important;
  background:#fafffa!important;
  color:var(--edhpc-ink)!important;
  font-size:23px!important;
  font-weight:700!important;
  padding:16px 64px 16px 19px!important;
  line-height:1.3!important;
  box-shadow:none!important;
  outline:none;
}
.edhpc__area-input:focus { border-color:#257b61!important; box-shadow:0 0 0 4px #bee6d25e!important; }
.edhpc__area-input::placeholder { color:#92a49c; font-size:16px; font-weight:500; }
.edhpc__area-input::-webkit-inner-spin-button,.edhpc__area-input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.edhpc__area-input.edhpc__area-input--error { border-color:#bf735e!important; }
.edhpc__input-unit { position:absolute; right:21px; font-size:19px; font-weight:650; color:#718279; }
.edhpc__field-help { display:block; margin-top:8px; font-size:12px; color:#89918e; }
.edhpc__field-help--error { color:#aa5040; font-weight:650; }
.edhpc__room-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:22px; }
.edhpc__room {
  display:flex; flex-direction:column; align-items:flex-start; text-align:left;
  min-width:0; min-height:144px; padding:17px 16px 16px;
  background:#fff; border:1.5px solid #dfe6de; border-radius:17px;
  color:var(--edhpc-ink);
  box-shadow:0 2px 0 rgba(33,65,45,.025);
  transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.edhpc__room:not(:disabled):hover { border-color:#95c4ab; transform:translateY(-3px); box-shadow:var(--edhpc-sh); }
.edhpc__room[aria-pressed="true"] { border:2px solid var(--edhpc-green); padding:16.5px 15.5px 15.5px; background:#f3fbf5; box-shadow:0 3px 0 #d1e9d7; }
.edhpc__room-art { width:58px; height:40px; display:block; color:#4e856d; margin-bottom:7px; }
.edhpc__room-art svg { width:100%; height:100%; }
.edhpc__room-art--medium { color:#b37b5a; }
.edhpc__room-art--big { color:#6679a8; }
.edhpc__room strong { font-size:14px; font-weight:780; line-height:1.28; }
.edhpc__room small { font-size:12px; color:#78847d; margin-top:7px; }
.edhpc__measure { padding:17px 20px; background:#f6f8f5; border:1px solid #e8eee8; border-radius:17px; margin-top:19px; }
.edhpc__measure[hidden],.edhpc__modal[hidden] { display:none!important; }
.edhpc__measure-top { display:flex; justify-content:space-between; align-items:center; gap:10px; border-bottom:1px solid #e0e9df; padding-bottom:16px; margin-bottom:16px; font-size:14px; color:#6b7770; }
.edhpc__measure-top strong { color:var(--edhpc-ink); font-size:19px; white-space:nowrap; }
.edhpc__switch-row { display:flex; align-items:center; justify-content:space-between; gap:13px; color:#354640; font-size:14px; font-weight:740; cursor:pointer; }
.edhpc__switch { position:relative; display:inline-flex; align-items:center; flex-shrink:0; width:58px; height:33px; }
.edhpc__switch input { appearance:none; -webkit-appearance:none; position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; margin:0; z-index:1; }
.edhpc__track { display:block; width:58px; height:32px; border:1px solid #a9b4ad; border-radius:99px; background:#dbe0dc; transition:background .2s ease,border-color .2s ease; box-shadow:inset 0 2px 3px #36574716; position:relative; }
.edhpc__track::after { content:""; position:absolute; left:3px; top:3px; width:24px; height:24px; background:white; border-radius:50%; box-shadow:0 2px 6px #12251b30; transition:transform .2s ease; }
.edhpc__switch input:checked + .edhpc__track { background:#358b6e; border-color:#358b6e; }
.edhpc__switch input:checked + .edhpc__track::after { transform:translateX(25px); }
.edhpc__switch input:focus-visible + .edhpc__track { outline:3px solid #66b4a1; outline-offset:3px; }
.edhpc__hint { font-size:13px; line-height:1.5; color:#77827d; margin:-6px 0 17px!important; }
.edhpc__condition-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:12px; }
.edhpc__chip { width:100%; min-height:59px; display:flex; justify-content:space-between; align-items:center; text-align:left; gap:6px; background:#f6f7f5; border:1.5px solid transparent; border-radius:999px; padding:13px 14px 13px 19px; font-size:13px; font-weight:730; color:var(--edhpc-ink); line-height:1.3; transition:border-color .15s,background .15s,transform .15s; }
.edhpc__chip:not(:disabled):hover { transform:translateY(-1px); background:#eaf4ed; }
.edhpc__chip[aria-pressed="true"] { background:#eef9f0; border:2px solid #32846a; padding:12.5px 13.5px 12.5px 18.5px; }
.edhpc__chip-check { opacity:0; flex:none; width:18px; height:18px; color:#28785f; }
.edhpc__chip[aria-pressed="true"] .edhpc__chip-check { opacity:1; }
.edhpc__color-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.edhpc__color-card { min-width:0; min-height:161px; background:#fff; border:1.5px solid #e0e6df; padding:22px 12px 17px; border-radius:19px; display:flex; flex-direction:column; align-items:center; text-align:center; justify-content:center; color:var(--edhpc-ink); transition:transform .15s,border-color .15s,box-shadow .15s,background .15s; }
.edhpc__color-card:not(:disabled):hover { transform:translateY(-3px); border-color:#a9cabc; box-shadow:var(--edhpc-sh); }
.edhpc__color-card[aria-pressed="true"] { border:2.5px solid #2b745d; padding:21px 11px 16px; background:linear-gradient(150deg,#f6fcf8,#fffdf8); box-shadow:0 5px 0 #cde7d4; }
.edhpc__swatch-row { width:100%; display:flex; align-items:center; justify-content:center; gap:clamp(9px,4%,26px); margin-bottom:16px; }
.edhpc__swatch { display:inline-block; background:var(--swatch); flex-shrink:0; width:43px; height:43px; border-radius:50%; border:2.5px solid #fff; box-shadow:0 0 0 1px #dce3db,0 4px 8px #24392a17; }
.edhpc__arrow { flex:0 0 23px; width:23px; height:23px; stroke:#394740; }
.edhpc__color-card strong { font-size:14px; font-weight:780; line-height:1.32; }
.edhpc__color-caption { font-size:11px; font-weight:500; color:#849088; margin-top:5px; }
.edhpc__extras { margin-bottom:4px; }
.edhpc__extra-row { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:86px; border-bottom:1px solid #eff1ee; cursor:pointer; padding:14px 4px; }
.edhpc__extra-row:last-child { border-bottom:0; }
.edhpc__extra-copy { display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:3px; }
.edhpc__extra-copy strong { font-size:15px; font-weight:730; line-height:1.3; }
.edhpc__extra-copy small { font-size:12px; font-weight:400; color:#89938e; line-height:1.35; }
.edhpc__counter { border:1.5px solid #d7e1d9; border-radius:999px; display:flex; align-items:center; flex-shrink:0; height:46px; background:#fff; overflow:hidden; }
.edhpc__counter button { border:0!important; background:transparent!important; color:#1e3229!important; width:40px; height:100%; font-size:28px; line-height:1; display:flex; justify-content:center; align-items:center; padding:0!important; box-shadow:none!important; }
.edhpc__counter button:not(:disabled):hover { background:#eaf4ec!important; }
.edhpc__counter button:disabled { opacity:.3; }
.edhpc__door-count { font-size:16px; font-weight:850; min-width:36px; text-align:center; }
.edhpc__price-bar { position:sticky; bottom:0; z-index:3; background:#fff; border-top:1px solid #edf0eb; box-shadow:0 -8px 20px #2f57440a; padding:19px clamp(20px,6%,54px) 21px; }
.edhpc__price-line { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:15px; }
.edhpc__price-caption { display:block; font-size:13px; color:#78837b; font-weight:650; }
.edhpc__price-value { line-height:1.14; margin-top:2px; }
.edhpc__amount { display:block; color:#15251e; font-size:clamp(33px,5vw,46px); letter-spacing:-1.5px; font-weight:870; white-space:nowrap; }
.edhpc__price-chip { display:inline-flex; align-items:center; gap:6px; color:#387961; background:#eff8ef; border:1px solid #e1efe2; padding:8px 12px; border-radius:99px; font-size:11px; font-weight:800; white-space:nowrap; }
.edhpc__price-chip svg { width:15px; height:15px; color:#dfad65; }
.edhpc__cta,.edhpc__send { width:100%; border:0!important; border-radius:999px!important; padding:17px 23px!important; display:flex; align-items:center; justify-content:center; gap:10px; background:#1d2926!important; color:#fff!important; min-height:59px; font-weight:780!important; font-size:15px!important; line-height:1.3!important; box-shadow:0 6px 16px #173e2e1a!important; transition:transform .15s,background .15s,box-shadow .15s; }
.edhpc__cta:hover:not(:disabled),.edhpc__send:hover:not(:disabled) { background:#27745e!important; transform:translateY(-1px); box-shadow:0 9px 18px #195d402b!important; }
.edhpc__cta:disabled { opacity:.48; box-shadow:none!important; }
.edhpc__cta svg { width:19px; height:19px; }
.edhpc__price-note { text-align:center; color:#8a928d; margin-top:10px!important; font-size:11px; line-height:1.45; }
.edhpc__brand-footer { text-align:center; font-weight:650; color:#9aaba0; padding:12px 15px 15px; background:#fdfdfb; font-size:11px; letter-spacing:.15px; }
.edhpc__brand-footer span { color:#e8a584; }
/* Formulario modal */
body.edhpc-is-dialog-open { overflow:hidden; }
.edhpc__modal { position:fixed; inset:0; z-index:999999; display:flex; align-items:center; justify-content:center; padding:20px; }
.edhpc__modal-shade { position:absolute; inset:0; background:rgba(22,34,28,.7); backdrop-filter:blur(5px); }
.edhpc__modal-card { position:relative; width:min(100%,620px); max-height:min(90vh,920px); overflow:auto; background:#fff; border-radius:24px; padding:35px clamp(18px,4vw,38px) 30px; box-shadow:0 26px 90px #0003; }
.edhpc__modal-card h2 { font-size:31px; letter-spacing:-.75px; font-weight:850; margin:7px 0 6px; }
.edhpc__modal-text { color:#6c7b72; line-height:1.6; font-size:14px; margin-bottom:20px!important; }
.edhpc__modal-close { position:absolute; top:15px; right:15px; width:38px; height:38px; background:#f1f5f0; border:0; border-radius:50%; font-size:26px; line-height:1; color:#213c2f; }
.edhpc__modal-estimate { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 17px; border-radius:13px; background:#eef8ef; color:#3b6351; font-size:13px; margin-bottom:20px; }
.edhpc__modal-estimate strong { font-size:22px; color:#152d21; }
.edhpc__lead-form { display:flex; flex-direction:column; gap:15px; }
.edhpc__lead-form label:not(.edhpc__consent) { font-size:13px; font-weight:760; color:#3e5349; display:flex; flex-direction:column; gap:6px; }
.edhpc__lead-form label span { color:#cc7259; }
.edhpc__lead-form input:not([type="checkbox"]),.edhpc__lead-form textarea { display:block; width:100%; border:1.5px solid #dfe8df!important; background:#fff!important; color:#263e30!important; padding:12px 13px!important; border-radius:12px!important; outline:none; box-shadow:none!important; font-size:15px; font-weight:450; min-height:46px; }
.edhpc__lead-form input:focus,.edhpc__lead-form textarea:focus { border-color:#65a787!important; }
.edhpc__form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.edhpc__consent { display:flex; align-items:flex-start; gap:10px; line-height:1.45; font-size:12px; color:#617367; cursor:pointer; }
.edhpc__consent input { flex-shrink:0; width:17px; height:17px; accent-color:#27745e; margin:2px 0 0; }
.edhpc__consent span { color:inherit!important; }
.edhpc__consent a { text-decoration:underline; color:#24664f; }
.edhpc__lead-form .edhpc__honeypot { position:absolute!important; left:-9999px!important; opacity:0!important; width:1px!important; height:1px!important; pointer-events:none!important; }
.edhpc__form-message { font-size:12px; min-height:0; color:#5c7f6a; }
.edhpc__form-message--error { background:#fff0ed; color:#9a4332; padding:10px 12px; border-radius:9px; }
.edhpc__form-message--success { background:#e7f8ed; color:#146943; padding:12px 14px; border-radius:9px; font-weight:750; }
.edhpc__send { margin-top:0; font-size:14px!important; }
.edhpc__send--loading { opacity:.6; }
.edhpc__send:disabled { opacity:.55; }
.edhpc__privacy-warning { margin:0!important; font-size:12px; line-height:1.5; color:#a14f36; }
@media (max-width:720px) {
  .edhpc { margin:0 auto 30px; max-width:540px; }
  .edhpc__shell { border-radius:0 0 22px 22px; box-shadow:0 6px 26px #2b42300c; }
  .edhpc__header { min-height:76px; }
  .edhpc__content { padding:24px 21px 29px; }
  .edhpc__intro { margin-bottom:31px; padding:24px 21px; min-height:unset; }
  .edhpc__intro h2 { font-size:30px; }
  .edhpc__intro p { font-size:13px; }
  .edhpc__illustration { flex:0 0 115px; width:115px; margin-left:4px; }
  .edhpc__room { min-height:137px; padding:13px 10px; }
  .edhpc__room strong { font-size:13px; }
  .edhpc__room small { font-size:11px; }
  .edhpc__room[aria-pressed="true"] { padding:12.5px 9.5px; }
  .edhpc__color-card { min-height:152px; }
  .edhpc__price-bar { padding:17px 21px 15px; }
}
@media (max-width:480px) {
  .edhpc__intro { padding:22px; }
  .edhpc__illustration { display:none; }
  .edhpc__section-header h3 { font-size:19px; }
  .edhpc__room-grid { gap:8px; }
  .edhpc__room { min-height:120px; border-radius:13px; padding:12px 9px; }
  .edhpc__room-art { width:45px; height:32px; margin-bottom:5px; }
  .edhpc__room strong { font-size:12px; }
  .edhpc__room small { font-size:10px; }
  .edhpc__room[aria-pressed="true"] { padding:11.5px 8.5px; }
  .edhpc__color-grid { gap:9px; }
  .edhpc__color-card { border-radius:14px; padding:16px 6px 13px; min-height:139px; }
  .edhpc__color-card[aria-pressed="true"] { padding:15px 5px 12px; }
  .edhpc__color-card strong { font-size:12px; }
  .edhpc__color-caption { font-size:10px; }
  .edhpc__swatch-row { gap:8px; margin-bottom:11px; }
  .edhpc__swatch { width:34px; height:34px; }
  .edhpc__arrow { width:17px; flex-basis:17px; height:17px; }
  .edhpc__condition-grid { gap:8px; }
  .edhpc__chip { font-size:11.5px; padding:12px 10px 12px 13px; min-height:59px; }
  .edhpc__chip[aria-pressed="true"] { padding:11.5px 9.5px 11.5px 12.5px; }
  .edhpc__chip-check { width:16px; height:16px; }
  .edhpc__price-chip { font-size:10px; padding:6px 7px; }
  .edhpc__price-chip svg { display:none; }
  .edhpc__form-grid { grid-template-columns:1fr; }
}
@media (max-width:355px) {
  .edhpc__content { padding:20px 14px 26px; }
  .edhpc__header { padding:9px 13px; grid-template-columns:40px 1fr 40px; }
  .edhpc__round-btn { width:38px; height:38px; }
  .edhpc__header-title strong { font-size:14px; }
  .edhpc__chip { font-size:11px; }
  .edhpc__swatch { width:30px; height:30px; }
  .edhpc__room strong { font-size:11px; }
  .edhpc__price-bar { padding:14px; }
  .edhpc__price-chip { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .edhpc *, .edhpc *::before, .edhpc *::after { transition:none!important; scroll-behavior:auto!important; }
}
