/* Free tools for landlords (/herramientas). Same "Laguna" look as Rentas al Día: lagoon mist, teal actions, Instrument Serif amounts. */
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: #EDF2F1; --surface: #FFFFFF; --surface-2: #F5F8F7; --ink: #0C2A2B; --muted: #5E7372; --line: #DCE5E3;
  --accent: #0F6B66; --accent-ink: #FFFFFF; --accent-soft: #DCEEEB;
  --ok: #0F8A4F; --ok-soft: #E1F4E8; --warn: #A15C00; --warn-soft: #FCEFD8; --bad: #C2372F;
  --band: #0C2A2B; --band-ink: #EDF2F1; --band-muted: #9FB6B4;
  --shadow: 0 1px 1px rgba(12,42,43,.04), 0 10px 26px -16px rgba(12,42,43,.22);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --r: 20px; color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0B1516; --surface: #122022; --surface-2: #172729; --ink: #E7F0EF; --muted: #93A8A6; --line: #223436;
  --accent: #5CC8BC; --accent-ink: #062120; --accent-soft: #14312F;
  --ok: #4CD68F; --ok-soft: #12301F; --warn: #F5BC55; --warn-soft: #33260C; --bad: #FF7A70;
  --band: #050C0D; --band-ink: #E7F0EF; --band-muted: #93A8A6; --shadow: none; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0B1516; --surface: #122022; --surface-2: #172729; --ink: #E7F0EF; --muted: #93A8A6; --line: #223436;
  --accent: #5CC8BC; --accent-ink: #062120; --accent-soft: #14312F;
  --ok: #4CD68F; --ok-soft: #12301F; --warn: #F5BC55; --warn-soft: #33260C; --bad: #FF7A70;
  --band: #050C0D; --band-ink: #E7F0EF; --band-muted: #93A8A6; --shadow: none; color-scheme: dark; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { text-wrap: balance; margin: 0; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 6vw, 64px); line-height: 1.02; letter-spacing: -.01em; }
h1 em { color: var(--accent); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.08; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.logo .mark { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }
footer { margin-top: 24px; }
footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer a { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px; font: 700 15px/1 var(--font);
  text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--surface); cursor: pointer; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.field small { color: var(--muted); font-size: 13px; }
.input { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 16px/1.3 var(--font); }
.input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.num { font-variant-numeric: tabular-nums; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 520px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 3px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: var(--muted); font: 600 14px/1 var(--font); padding: 10px 12px; border-radius: 9px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

.hero { padding-block: clamp(24px, 4vw, 48px) 24px; display: grid; gap: 14px; }
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid transparent; min-width: 0; }
:root[data-theme="dark"] .card { border-color: var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card { border-color: var(--line); } }
.pad { padding: clamp(18px, 3vw, 28px); }
.tool { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .tool { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; gap: 16px; }
.big { font-family: var(--serif); font-size: clamp(48px, 7vw, 76px); line-height: 1; font-variant-numeric: tabular-nums; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv b { font-variant-numeric: tabular-nums; text-align: right; }
.note { background: var(--surface-2); border-radius: 14px; padding: 14px 16px; color: var(--muted); font-size: 14px; }

.promo { background: var(--band); color: var(--band-ink); border-radius: var(--r); padding: clamp(22px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-block: 28px; }
.promo h2 { color: var(--band-ink); }
.promo p { color: var(--band-muted); margin-top: 8px; max-width: 46em; }
.promo .btn.primary { background: #5CC8BC; border-color: #5CC8BC; color: #062120; }
.promo .btn { background: transparent; color: var(--band-ink); border-color: color-mix(in srgb, var(--band-ink) 30%, transparent); }
@media (max-width: 760px) { .promo { grid-template-columns: minmax(0, 1fr); } }

.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.more a { display: grid; gap: 6px; text-decoration: none; color: var(--ink); padding: 20px; }
.more a p { color: var(--muted); font-size: 15px; }
.more a:hover h3 { text-decoration: underline; }
section.block { padding-block: 28px; display: grid; gap: 16px; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border-radius: 16px; padding: 0 18px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 600; z-index: 20; }
