:root{--ink:#10251f;--muted:#64746f;--green:#0a4b37;--green-2:#0f684b;--lime:#c9f26d;--cream:#f4f1e8;--paper:#fbfaf6;--line:#dcded7;--white:#fff;--shadow:0 24px 60px rgba(10,48,35,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-variant-numeric:tabular-nums}.topbar{height:82px;padding:0 max(28px,calc((100vw - 1180px)/2));display:flex;align-items:center;border-bottom:1px solid var(--line);background:rgba(251,250,246,.92);backdrop-filter:blur(16px);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}.brand-mark{width:38px;height:38px;background:var(--green);border-radius:50% 50% 48% 52% / 62% 62% 38% 38%;display:grid;place-items:center;transform:rotate(45deg)}.brand-mark span{width:12px;height:17px;border:2px solid var(--lime);border-top:0;border-left:0;border-radius:50%}.brand strong,.brand small{display:block}.brand strong{font-family:Georgia,serif;font-size:18px}.brand small{color:var(--muted);font-size:11px;letter-spacing:.12em;text-transform:uppercase}.topbar nav{margin-left:auto;display:flex;gap:32px}.topbar nav a{color:var(--ink);text-decoration:none;font-weight:650;font-size:13px}.topbar nav a:hover{color:var(--green-2)}.icon-btn{margin-left:28px;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:transparent;font-size:20px;color:var(--green);cursor:pointer}main{overflow:hidden}.hero{max-width:1180px;margin:auto;padding:76px 28px 52px;display:grid;grid-template-columns:1.15fr .85fr;gap:80px;align-items:center;position:relative}.hero:before{content:"";position:absolute;width:410px;height:410px;border:1px solid #e3e5dc;border-radius:50%;left:-250px;top:-130px}.eyebrow{color:var(--green-2);text-transform:uppercase;letter-spacing:.17em;font-size:11px;font-weight:800;display:flex;align-items:center;gap:8px;margin:0 0 18px}.eyebrow span{width:24px;height:2px;background:var(--lime)}h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(50px,6vw,82px);line-height:.95;font-weight:500;letter-spacing:-.05em;margin:0}h1 em{font-weight:400;color:var(--green-2)}.hero-copy{max-width:570px;color:var(--muted);line-height:1.7;font-size:16px;margin:28px 0 0}.live-card{background:var(--green);color:white;border-radius:4px;padding:28px 32px;box-shadow:var(--shadow);position:relative;overflow:hidden}.live-card:after{content:"";position:absolute;width:230px;height:230px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-80px;top:-110px}.live-head,.live-foot{display:flex;justify-content:space-between;align-items:center;font-size:12px}.live-head{color:#c7d7d1;text-transform:uppercase;letter-spacing:.11em}.status{color:var(--lime);letter-spacing:0;text-transform:none}.status i{display:inline-block;width:7px;height:7px;background:var(--lime);border-radius:50%;margin-right:6px;box-shadow:0 0 0 5px rgba(201,242,109,.11)}.live-value{display:flex;align-items:baseline;gap:8px;padding:24px 0 20px;border-bottom:1px solid rgba(255,255,255,.14)}.live-value strong{font-family:Georgia,serif;font-size:76px;font-weight:400;line-height:1}.live-value span{color:var(--lime);font-weight:700}.live-foot{padding-top:17px;color:#b9cdc5}.metrics{max-width:1180px;margin:0 auto 72px;padding:0 28px;display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.metrics article{background:var(--paper);padding:25px;display:flex;gap:17px;align-items:center}.metric-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-weight:900}.water{background:#e4f4ef;color:var(--green-2)}.volume{background:#eef7db;color:#608423}.meter{background:#ecebe5;color:#53625d}.metrics small,.metrics strong,.metrics em{display:block}.metrics small{text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-size:10px;font-weight:750;margin-bottom:6px}.metrics strong{font-family:Georgia,serif;font-size:25px;font-weight:500}.metrics strong b{font:700 11px Inter,sans-serif;color:var(--muted)}.metrics em{font-style:normal;font-size:11px;color:var(--green-2);margin-top:3px}.workspace{background:var(--cream);padding:76px max(28px,calc((100vw - 1180px)/2));display:grid;grid-template-columns:1fr 1fr;gap:0}.form-panel,.result-panel{padding:42px 48px}.form-panel{background:var(--white);box-shadow:var(--shadow)}.result-panel{background:var(--green);color:var(--white)}.section-title{display:flex;gap:14px;align-items:flex-start;margin-bottom:34px}.section-title .step{color:var(--green-2);font-size:10px;font-weight:800;padding-top:5px}.section-title p{margin:0 0 4px;color:var(--muted);text-transform:uppercase;letter-spacing:.12em;font-size:10px;font-weight:800}.section-title h2{font:500 28px Georgia,serif;margin:0}.section-title.light .step,.section-title.light p{color:var(--lime)}form label{display:flex;justify-content:space-between;font-size:12px;font-weight:760;margin:19px 0 8px}form label small{color:var(--muted)}.field{height:54px;border:1px solid var(--line);display:flex;align-items:center;background:#fff}.field:focus-within{border-color:var(--green-2);box-shadow:0 0 0 3px rgba(15,104,75,.1)}.field input{height:100%;border:0;outline:0;flex:1;min-width:0;padding:0 16px;background:transparent;color:var(--ink);font:600 15px Inter,sans-serif}.field>span{padding:0 16px;color:var(--muted);font-size:12px}.input-reading input{font:500 24px Georgia,serif}.help{font-size:11px;color:var(--muted);margin:6px 0 0}.previous{margin:22px 0;padding:15px 17px;background:var(--cream);display:grid;grid-template-columns:1fr auto;font-size:11px}.previous span{color:var(--muted)}.previous strong{font-family:Georgia,serif;font-size:15px}.previous small{grid-column:1/-1;margin-top:3px;color:var(--muted)}button{font-family:inherit}.primary{width:100%;height:54px;border:0;background:var(--green);color:white;display:flex;justify-content:space-between;align-items:center;padding:0 19px;font-weight:750;cursor:pointer}.primary:hover{background:var(--green-2)}.primary b{color:var(--lime);font-size:20px}.form-message{height:16px;font-size:12px;color:var(--green-2);margin:10px 0 -10px}.gauge{position:relative;max-width:280px;margin:-12px auto 0}.gauge svg{display:block;width:100%}.gauge-track,.gauge-bar{fill:none;stroke-width:14;stroke-linecap:round}.gauge-track{stroke:rgba(255,255,255,.11)}.gauge-bar{stroke:var(--lime);stroke-dasharray:0 100;transition:stroke-dasharray .45s ease}.gauge-number{position:absolute;left:0;right:0;bottom:15px;text-align:center}.gauge-number strong{display:block;font:400 60px Georgia,serif}.gauge-number span{color:var(--lime);font-size:11px;font-weight:800}.gauge-scale{position:absolute;bottom:-7px;left:1px;right:1px;display:flex;justify-content:space-between;color:#89a097;font-size:10px}.calculation{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12);margin-top:25px}.calculation div{padding:18px 0}.calculation div+div{border-left:1px solid rgba(255,255,255,.12);padding-left:22px}.calculation span,.calculation strong{display:block}.calculation span{color:#98b0a7;font-size:10px;text-transform:uppercase;letter-spacing:.1em}.calculation strong{font:400 17px Georgia,serif;margin-top:5px}.formula{background:rgba(0,0,0,.12);margin-top:18px;padding:12px 15px}.formula span{display:block;color:var(--lime);text-transform:uppercase;font-size:9px;letter-spacing:.12em;margin-bottom:5px}.formula code{font:12px Inter,sans-serif;color:#d6e1dd}.validation{color:var(--lime);font-size:11px;margin:16px 0 0}.validation span{display:inline-grid;place-items:center;width:19px;height:19px;border:1px solid rgba(201,242,109,.55);border-radius:50%;margin-right:7px}.validation.error{color:#ffbdad}.history{max-width:1180px;margin:auto;padding:76px 28px}.history-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px}.history-heading h2{font:500 35px Georgia,serif;margin:0}.secondary{border:1px solid var(--line);background:transparent;padding:12px 15px;color:var(--ink);font-weight:700;font-size:11px;cursor:pointer}.secondary span{margin-left:10px;color:var(--green-2)}.table-wrap{overflow:auto;border-top:1px solid var(--ink)}table{width:100%;border-collapse:collapse;min-width:760px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:15px 12px;font-size:12px}th{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.1em}td:nth-child(2),td:nth-child(3),td:nth-child(4){font-family:Georgia,serif;font-size:14px}.pill{display:inline-block;background:#e7f3ed;color:var(--green-2);padding:5px 8px;border-radius:20px;font:700 9px Inter,sans-serif;text-transform:uppercase;letter-spacing:.08em}.text-btn{display:block;margin:22px auto 0;border:0;background:transparent;font-size:11px;font-weight:750;color:var(--green-2);cursor:pointer}.text-btn span{margin-left:8px}footer{max-width:1180px;margin:auto;padding:30px 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:11px}body.high-contrast{--paper:#fff;--cream:#eef2ed;--line:#bcc6c1;--muted:#465650}
@media(max-width:800px){.topbar{height:70px;padding:0 18px}.topbar nav{display:none}.icon-btn{margin-left:auto}.hero{grid-template-columns:1fr;gap:38px;padding:48px 20px 35px}.live-card{padding:24px}.metrics{grid-template-columns:1fr;margin-bottom:48px;padding:0 20px;background:transparent;border:0;gap:1px}.metrics article{border:1px solid var(--line)}.workspace{grid-template-columns:1fr;padding:32px 20px}.form-panel,.result-panel{padding:32px 24px}.history{padding:54px 20px}.history-heading{align-items:flex-start;gap:18px}.secondary{white-space:nowrap}.hero h1{font-size:54px}footer{margin:0 20px;padding:25px 0;gap:16px;flex-direction:column}}
@media(max-width:430px){.brand small{display:none}.live-value strong{font-size:62px}.history-heading{display:block}.secondary{margin-top:18px}.form-panel,.result-panel{padding:28px 18px}.calculation strong{font-size:15px}}

/* Diseño azul editorial basado en la referencia entregada */
:root{--ink:#081426;--muted:#64748b;--green:#0f2038;--green-2:#2563eb;--lime:#38bdf8;--cream:#f1f5f9;--paper:#f8fafc;--line:#e2e8f0;--shadow:0 25px 50px -12px rgba(15,32,56,.23)}
body{background-image:radial-gradient(circle 380px at 15% 15%,rgba(56,189,248,.08),transparent 80%),radial-gradient(circle 600px at 85% 85%,rgba(37,99,235,.05),transparent 70%)}
.topbar{height:80px;background:rgba(255,255,255,.76)}
.brand-mark{width:40px;height:40px;border-radius:50%;background:linear-gradient(45deg,#0f2038,#2563eb);box-shadow:0 5px 14px rgba(37,99,235,.2);outline:2px solid rgba(56,189,248,.2)}
.brand strong,.hero h1,.live-value strong,.metrics strong,.section-title h2,.gauge-number strong,.calculation strong{font-family:Newsreader,Georgia,serif}
.nav-pill{background:#0f2038;color:#38bdf8!important;border:1px solid rgba(56,189,248,.25);border-radius:999px;padding:7px 16px;font-size:11px!important}
.hero{padding-top:52px;padding-bottom:40px;gap:68px}
.hero h1{font-size:clamp(48px,5vw,66px);line-height:1.03;letter-spacing:-.035em}.hero:before{border-color:rgba(56,189,248,.12)}
.live-card{background:linear-gradient(135deg,#0f2038,#081426);border:1px solid #243750;border-radius:16px;box-shadow:0 22px 42px -16px rgba(8,20,38,.45)}
.live-card:after{border-color:rgba(56,189,248,.14)}.live-head{color:#94a3b8}.live-foot{color:#cbd5e1}.status{color:#6ee7b7}.status i{background:#34d399}
.metrics{gap:18px;background:transparent;border:0;margin-bottom:48px}.metrics article{border:1px solid var(--line);border-radius:12px;background:white;box-shadow:0 4px 20px -8px rgba(15,23,42,.1)}
.metric-icon{border-radius:12px}.water{background:#eff6ff;color:#2563eb}.volume{background:#ecfeff;color:#0ea5e9}.meter{background:#f1f5f9;color:#0f2038}
.workspace{max-width:1180px;margin:0 auto 72px;padding:0 28px;background:transparent;border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.form-panel,.result-panel{padding:48px}.form-panel{box-shadow:none}.result-panel{background:#0f2038}.section-title .step{width:28px;height:28px;border-radius:6px;background:#eff6ff;display:grid;place-items:center;padding:0;color:#2563eb}.section-title.light .step{background:#132845;border:1px solid rgba(56,189,248,.2);color:#38bdf8}.section-title.light p{color:#cbd5e1}
.field{height:72px;border:2px solid var(--line);border-radius:12px}.field:focus-within{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.1)}.input-reading input{font-family:Newsreader,Georgia,serif;font-size:34px;color:#081426}
.previous{border:1px solid var(--line);border-radius:12px;background:#f8fafc;padding:17px}.previous strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#081426}
.primary{height:58px;border-radius:12px;background:#0f2038;box-shadow:0 10px 24px -12px rgba(15,32,56,.65)}.primary:hover{background:#081426}.form-message{color:#0f766e}
.gauge-track{stroke:#1e334f}.gauge-bar{stroke:#38bdf8;filter:drop-shadow(0 0 7px rgba(56,189,248,.45))}.gauge-scale{color:#94a3b8}.calculation span{color:#94a3b8}.formula{border:1px solid #263b57;border-radius:12px;background:#132845}.formula code{color:#cbd5e1}.validation{color:#6ee7b7}
footer{max-width:none;padding-left:max(28px,calc((100vw - 1180px)/2));padding-right:max(28px,calc((100vw - 1180px)/2));background:rgba(255,255,255,.55)}
@media(max-width:800px){.workspace{margin:0 20px 48px;padding:0}.form-panel,.result-panel{padding:32px 24px}.metrics{gap:10px}.hero{padding-top:40px}}

/* Ajustes específicos para teléfonos */
@media(max-width:600px){
  html{scroll-padding-top:66px}
  body{-webkit-text-size-adjust:100%}
  .topbar{height:66px;padding:0 16px}
  .brand{gap:10px;min-width:0}
  .brand-mark{width:36px;height:36px;flex:0 0 36px}
  .brand strong{font-size:16px;white-space:nowrap}
  .icon-btn{width:44px;height:44px;flex:0 0 44px;margin-left:auto}
  .hero{gap:28px;padding:34px 16px 28px}
  .hero:before{display:none}
  .hero h1{font-size:clamp(40px,13vw,52px);line-height:1}
  .hero-copy{font-size:15px;line-height:1.55;margin-top:20px}
  .live-card{padding:21px 20px;border-radius:14px}
  .live-head,.live-foot{gap:12px}
  .live-value{padding:19px 0 16px}
  .live-value strong{font-size:58px}
  .metrics{padding:0 16px;margin-bottom:36px;gap:9px}
  .metrics article{padding:18px 16px;gap:14px}
  .metrics strong{font-size:23px}
  .workspace{margin:0 12px 38px;border-radius:18px}
  .form-panel,.result-panel{padding:28px 18px}
  .section-title{gap:11px;margin-bottom:27px}
  .section-title h2{font-size:25px;line-height:1.1}
  .field{height:64px}
  .input-reading input{font-size:28px;padding:0 13px}
  .field>span{padding:0 13px}
  .previous{grid-template-columns:1fr;margin:18px 0;padding:14px}
  .previous strong{margin-top:5px}
  .previous small{grid-column:auto;margin-top:7px;line-height:1.4}
  .primary{min-height:56px;height:auto;padding:14px 17px;text-align:left;gap:12px}
  .form-message{height:auto;min-height:18px;margin-bottom:-4px;line-height:1.35}
  .gauge{max-width:250px}
  .gauge-number strong{font-size:52px}
  .calculation{grid-template-columns:1fr;gap:0}
  .calculation div{padding:14px 0}
  .calculation div+div{border-left:0;border-top:1px solid rgba(255,255,255,.12);padding-left:0}
  .formula code{display:block;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
  .validation{line-height:1.45}
  footer{margin:0;padding:24px 16px;line-height:1.45}
  button,input{font-size:16px}
}

@media(max-width:360px){
  .brand small{display:none}
  .hero h1{font-size:39px}
  .live-head{align-items:flex-start;flex-direction:column}
  .live-foot{align-items:flex-start;flex-direction:column;gap:5px}
  .live-value strong{font-size:52px}
  .metric-icon{width:38px;height:38px;flex:0 0 38px}
  .metrics article{padding:16px 13px}
  .workspace{margin-left:8px;margin-right:8px}
  .form-panel,.result-panel{padding-left:14px;padding-right:14px}
}
