/* Herramienta de coste eléctrico: estilos aislados del resto del sitio. */
.df-tool {
  --df-ink: #171713;
  --df-paper: #f4f1e8;
  --df-orange: #ff6334;
  --df-line: #d8d2c5;
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 38px 25px;
  color: var(--df-ink);
  font-family: var(--sans, 'Manrope', sans-serif);
}
.df-tool * { box-sizing: border-box; }
.df-tool a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.df-tool a:hover { color: #a83b1c; }
.df-breadcrumb { display: flex; justify-content: space-between; gap: 18px; align-items: center; border-bottom: 1px solid var(--df-line); padding-bottom: 14px; color: #68665e; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.df-breadcrumb a { text-decoration: none; color: var(--df-ink); }
.df-intro { max-width: 850px; padding: 54px 0 38px; }
.df-kicker, .df-step { margin: 0; color: #a94325; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.df-intro h1 { max-width: 790px; margin: 16px 0 18px; font: 800 clamp(48px, 8vw, 88px)/.94 var(--display, 'Barlow Condensed', sans-serif); letter-spacing: -.025em; text-transform: uppercase; }
.df-intro h1 em { color: var(--df-orange); font-style: normal; }
.df-deck { max-width: 670px; margin: 0; font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }
.df-privacy { display: inline-block; margin: 20px 0 0; padding: 11px 14px; background: #e8e4d9; font-size: 12px; line-height: 1.6; }
.df-calculator, .df-results, .df-method, .df-related, .df-faq { margin-top: 28px; border-top: 2px solid var(--df-ink); padding-top: 22px; }
.df-calc-heading h2, .df-method h2, .df-related h2, .df-faq h2 { margin: 7px 0 8px; font: 700 clamp(32px, 5vw, 47px)/1 var(--display, 'Barlow Condensed', sans-serif); text-transform: uppercase; }
.df-calc-heading > p { margin: 0; color: #5c5a52; font-size: 13px; line-height: 1.6; }
.df-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; margin: 25px 0 0; padding: 0; border: 0; }
.df-field { display: flex; flex-direction: column; min-width: 0; gap: 8px; }
.df-field label { font-size: 13px; font-weight: 800; }
.df-field label span { color: #625f57; font-weight: 600; }
.df-field input { width: 100%; min-height: 50px; padding: 10px 13px; border: 1px solid #aaa497; border-radius: 0; background: #fffdf7; color: var(--df-ink); font: 700 18px/1.2 var(--sans, 'Manrope', sans-serif); }
.df-field input[aria-invalid="true"] { border: 2px solid #a32016; }
.df-field small { color: #625f57; font-size: 11px; line-height: 1.45; }
.df-compare-toggle { margin-top: 24px; padding: 16px 18px; background: #e9e5da; }
.df-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 800; }
.df-check input { width: 19px; height: 19px; margin: 0; accent-color: var(--df-orange); }
.df-compare-toggle p { margin: 7px 0 0 29px; color: #5c5a52; font-size: 11px; line-height: 1.5; }
.df-second-fields { margin: 18px 0 0; padding: 18px; border: 1px solid var(--df-line); }
.df-second-fields legend { padding: 0 7px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.df-second-fields:disabled { opacity: .58; }
.df-errors { margin: 20px 0 0; padding: 12px 14px; border-left: 4px solid #a32016; background: #f7e4df; color: #681b15; font-size: 13px; line-height: 1.5; }
.df-errors[hidden], .df-result-second[hidden] { display: none; }
.df-submit { display: flex; justify-content: space-between; align-items: center; width: min(100%, 360px); min-height: 54px; margin-top: 23px; padding: 14px 18px; border: 0; border-radius: 0; background: var(--df-orange); color: #171713; font: 800 13px var(--sans, 'Manrope', sans-serif); letter-spacing: .04em; text-transform: uppercase; }
.df-submit:hover { background: #ee542a; }
.df-submit span { font-size: 20px; }
.df-result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 23px; }
.df-result-card { min-width: 0; padding: 21px; border: 1px solid var(--df-line); background: #fffdf7; }
.df-result-name { margin: 0 0 17px; font: 700 26px/1 var(--display, 'Barlow Condensed', sans-serif); text-transform: uppercase; }
.df-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; }
.df-result-grid > div { min-width: 0; padding: 14px 10px 14px 0; border-top: 1px solid var(--df-line); }
.df-result-grid > div:nth-child(odd) { padding-right: 13px; }
.df-result-grid > div:nth-child(even) { padding-left: 13px; }
.df-result-grid dt { color: #605d55; font-size: 10px; font-weight: 700; line-height: 1.45; }
.df-result-grid dd { margin: 5px 0 0; font-size: clamp(17px, 2vw, 23px); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.df-result-highlight dd { color: #a94325; }
.df-result-grid small { display: block; margin-top: 5px; color: #68665e; font-size: 9px; line-height: 1.4; }
.df-caveat { margin: 15px 0 0; padding: 14px 16px; border-left: 4px solid var(--df-orange); background: #e9e5da; font-size: 12px; line-height: 1.65; }
.df-method ol { display: grid; gap: 10px; margin: 20px 0; padding-left: 22px; font-size: 13px; line-height: 1.7; }
.df-method li::marker { color: #ad4527; font-weight: 800; }
.df-example { margin-top: 19px; padding: 17px 19px; background: var(--df-ink); color: #fffdf7; }
.df-example strong { color: #ff8866; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.df-example p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; }
.df-practical, .df-related > p { max-width: 800px; margin: 17px 0 0; color: #514f48; font-size: 13px; line-height: 1.75; }
.df-related ul { display: grid; gap: 10px; margin: 16px 0 0; padding-left: 20px; font-size: 14px; font-weight: 700; line-height: 1.65; }
.df-faq details { border-top: 1px solid var(--df-line); }
.df-faq details:first-of-type { margin-top: 19px; }
.df-faq summary { padding: 16px 4px; cursor: pointer; font-size: 14px; font-weight: 800; line-height: 1.5; }
.df-faq details p { max-width: 850px; margin: -2px 4px 17px; color: #514f48; font-size: 13px; line-height: 1.7; }
.df-faq-note { color: #68665e; font-size: 11px; line-height: 1.5; }
@media (max-width: 700px) {
  .df-tool { padding: 26px 22px 20px; }
  .df-intro { padding: 39px 0 26px; }
  .df-fields { gap: 16px; }
  .df-result { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .df-tool { padding-inline: 17px; }
  .df-breadcrumb { align-items: flex-start; flex-direction: column; gap: 8px; font-size: 9px; }
  .df-fields { grid-template-columns: 1fr; }
  .df-result-card { padding: 17px 13px; }
  .df-result-grid dt { font-size: 9px; }
  .df-result-grid dd { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .df-tool * { scroll-behavior: auto; } }
