:root{--y:#ffc814;--ink:#101419;--navy:#0d1c2e;--muted:#68717d;--line:#e3e7eb;--bg:#f3f5f6;--white:#fff;--green:#157347;--red:#a12929;--shadow:0 14px 42px rgba(15,24,35,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font:16px/1.45 "DM Sans",sans-serif;overflow-x:hidden}.topbar{height:88px;background:#fff;display:flex;align-items:center;gap:34px;padding:0 max(20px,calc((100vw - 1180px)/2));position:relative;z-index:5}.brand{display:flex;align-items:center;color:inherit;text-decoration:none;margin-right:auto}.brand img{width:78px;height:66px;object-fit:contain}.brand span{display:flex;flex-direction:column;margin-left:10px}.brand b{font:800 27px Manrope}.brand b::first-letter{color:#dcae00}.brand small{font-weight:700;font-size:12px}.topbar nav{display:flex;gap:25px}.topbar nav a{color:inherit;text-decoration:none;font-size:14px;font-weight:600}.contact-pill{background:var(--y);color:#111;text-decoration:none;font-weight:800;padding:13px 20px;border-radius:14px}
.hero{min-height:410px;background:linear-gradient(90deg,rgba(8,17,26,.97) 0%,rgba(8,17,26,.89) 43%,rgba(8,17,26,.18) 78%),url('assets/hero-appliances.png') center/cover no-repeat;color:#fff;display:flex;align-items:center}.hero-inner{width:min(1180px,100%);margin:auto;padding:46px 24px}.eyebrow{color:var(--y);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.eyebrow.dark{color:#8d6900}.hero h1{font:800 clamp(38px,5vw,58px)/1.03 Manrope;margin:12px 0 15px;max-width:650px}.hero mark,.closing mark{background:none;color:var(--y)}.hero h2{font:800 clamp(20px,2.2vw,26px)/1.2 Manrope;margin:0 0 10px;max-width:720px}.hero p{color:#d7dce0;max-width:720px;margin:0;font-size:15px}.trust-points{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.trust-points span{display:flex;align-items:center;gap:7px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.17);padding:9px 12px;border-radius:99px;font-size:12px;font-weight:700;backdrop-filter:blur(3px)}.trust-points b{color:var(--y);font-size:13px}
.diagnostic-wrap{max-width:1040px;margin:-30px auto 48px;position:relative;z-index:2;padding:0 14px}.diagnostic-card,.chat-panel{background:#fff;border-radius:20px;box-shadow:var(--shadow)}.diagnostic-card{padding:25px 28px}.diagnostic-copy{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.diagnostic-copy h2{font:800 clamp(23px,3vw,30px) Manrope;margin:0}.diagnostic-copy p{margin:0;color:var(--muted)}.start-form{display:grid;grid-template-columns:1fr 1fr 1.5fr auto;gap:12px;align-items:end;margin-top:20px}.start-form label{font-size:13px;font-weight:800}.start-form input{width:100%;display:block;border:1px solid var(--line);border-radius:11px;padding:13px 14px;margin-top:6px;font:inherit;min-width:0;outline:none}.start-form input:focus{border-color:#e3ad00;box-shadow:0 0 0 3px rgba(255,200,20,.18)}.start-form button,.send-request{border:0;background:linear-gradient(90deg,#ffbd0b,#ffd63b);border-radius:12px;padding:13px 20px;font:800 15px "DM Sans";cursor:pointer;min-height:49px;white-space:nowrap}.start-form button span{font-size:20px;margin-left:8px}.start-note{text-align:center;color:var(--muted);font-size:13px;margin:16px 0 0;font-weight:700}
.chat-panel{padding:24px;margin-top:18px}.chat-topline{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;flex-wrap:wrap}.summary{display:flex;gap:7px;flex-wrap:wrap}.summary span{background:#f0f2f3;border-radius:99px;padding:6px 11px;font-size:12px;font-weight:700}.result-badge{border-radius:99px;padding:7px 12px;font-size:12px}.result-badge.fixed{background:#e7f6ed;color:var(--green)}.result-badge.technician,.result-badge.safety{background:#fff1d1;color:#735400}.chat-head{display:flex;align-items:center;gap:12px;margin-top:18px}.chat-head>span{width:42px;height:42px;background:var(--y);border-radius:50%;display:grid;place-items:center;font-weight:900}.chat-head h2{margin:0;font-size:19px}.chat-head p{margin:1px 0;color:var(--muted);font-size:12px}.messages{height:300px;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;background:#f4f5f5;border-radius:14px;margin:14px 0;padding:17px;display:flex;flex-direction:column;gap:10px}.message{max-width:80%;background:#fff;padding:12px 15px;border-radius:14px;white-space:pre-wrap}.message.user{align-self:flex-end;background:var(--navy);color:#fff}.message.error{border:1px solid #c44}.message.warning{border:1px solid #e5a100;background:#fff8e4}.message.technician-offer{background:#fff6cf;border:1px solid #f0c328;font-weight:800}.typing{color:var(--muted);font-style:italic}#chat-form{display:flex;gap:9px}#chat-form input{flex:1;border:1px solid var(--line);border-radius:12px;padding:13px;font:inherit;min-width:0}#chat-form button,.request-tech{border:0;background:var(--navy);color:#fff;border-radius:12px;padding:0 21px;font-weight:800;cursor:pointer}.request-tech{padding:14px 20px;margin-top:13px}
.benefits{background:#fff;display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:40px max(24px,calc((100vw - 1120px)/2));text-align:center}.benefits b{font-size:32px}.benefits h3{margin:7px 0 3px;font:800 17px Manrope}.benefits p{margin:0;color:#4f5861;font-size:14px}.closing{min-height:215px;color:#fff;background:linear-gradient(110deg,#050708 0 48%,var(--y) 48% 100%);display:flex;align-items:center;justify-content:space-between;padding:38px max(42px,calc((100vw - 1120px)/2))}.closing h2{font:800 30px/1.15 Manrope;margin:0}.closing img{width:180px;object-fit:contain;background:#fff}.closing p{font-weight:700}
dialog{border:0;border-radius:22px;max-width:620px;width:calc(100% - 28px);padding:0;box-shadow:0 30px 90px rgba(0,0,0,.28)}dialog::backdrop{background:rgba(5,10,16,.7);backdrop-filter:blur(4px)}dialog form{padding:32px;position:relative}dialog h2{font:800 29px Manrope;margin:5px 0}dialog p{color:var(--muted)}.close{position:absolute;right:16px;top:12px;border:0;background:none;font-size:30px;cursor:pointer}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{font-size:13px;font-weight:700}.form-grid input{width:100%;display:block;border:1px solid var(--line);border-radius:10px;padding:12px;margin-top:5px;font:inherit}.consent{display:flex;gap:8px;margin:17px 0;font-size:13px}.send-request{width:100%;border-radius:99px}#form-status{font-weight:700}.success{color:var(--green)}.form-error{color:var(--red)}footer{background:#07090b;color:#aab0b5;text-align:center;padding:26px 20px;font-size:12px}footer p{max-width:850px;margin:7px auto}.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}
@media(max-width:900px){.topbar nav{display:none}.start-form{grid-template-columns:1fr 1fr}.problem-field{grid-column:1/-1}.start-form button{grid-column:1/-1}.benefits{grid-template-columns:repeat(2,1fr)}.hero{background-position:58% center}}
@media(max-width:580px){.topbar{height:72px;padding:0 12px}.brand img{width:58px;height:50px}.brand span{margin-left:6px}.brand b{font-size:20px}.brand small{display:none}.contact-pill{padding:9px 11px;font-size:11px}.hero{min-height:390px;background-position:62% center}.hero-inner{padding:36px 18px}.hero h1{font-size:34px;margin:10px 0 12px}.hero h2{font-size:18px}.hero p{font-size:13px;line-height:1.4}.trust-points{margin-top:16px;gap:6px}.trust-points span{font-size:10px;padding:7px 9px}.diagnostic-wrap{margin-top:-20px;padding:0 10px}.diagnostic-card,.chat-panel{border-radius:16px}.diagnostic-card{padding:18px 14px}.diagnostic-copy{display:block}.diagnostic-copy h2{font-size:23px;margin-top:4px}.diagnostic-copy p{font-size:13px}.start-form{grid-template-columns:1fr;gap:10px;margin-top:14px}.problem-field,.start-form button{grid-column:auto}.start-form input{padding:12px;margin-top:4px}.start-note{font-size:12px}.chat-panel{padding:15px;margin-top:12px}.messages{height:270px;margin:12px 0;padding:13px}.message{max-width:90%;font-size:14px}.chat-head p{font-size:11px}#chat-form button{padding:0 14px;font-size:12px}.benefits{grid-template-columns:1fr 1fr;padding:28px 16px;gap:18px 10px}.benefits b{font-size:25px}.benefits h3{font-size:14px}.benefits p{font-size:12px}.closing{min-height:190px;padding:28px 20px}.closing h2{font-size:24px}.closing img{width:105px}.form-grid{grid-template-columns:1fr}dialog form{padding:27px 20px}}


/* Correcciones móviles V2 - 05/09/2026 */
@media (max-width: 640px){
  .start-form{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:12px !important;
    width:100% !important;
  }
  .start-form label,
  .start-form .problem-field{
    display:block !important;
    width:100% !important;
    grid-column:auto !important;
  }
  .start-form input{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin-top:5px !important;
  }
  .start-form button{
    display:block !important;
    width:100% !important;
    grid-column:auto !important;
    margin-top:2px !important;
  }
  .trust-points{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:8px !important;
  }
  .trust-points span{
    display:flex !important;
    width:100% !important;
    justify-content:flex-start !important;
    white-space:normal !important;
    line-height:1.3 !important;
    font-size:12px !important;
    padding:9px 11px !important;
  }
  .diagnostic-copy{
    display:block !important;
  }
  .diagnostic-copy .eyebrow,
  .diagnostic-copy h2,
  .diagnostic-copy p{
    display:block !important;
    width:100% !important;
  }
}
