/* Guys Behind the Desks — brand: black, red, slate blue. Font: DM Sans. */
:root {
  --ink: #14161A; --ink-2: #3A4250; --muted: #5E6878; --line: #E3E6EA;
  --bg: #FFFFFF; --bg-alt: #F4F6F8; --slate: #4A6077; --slate-soft: #E8EEF3;
  --red: #B3261E; --red-dark: #8F1D17; --red-soft: #FBECEA;
  --dark: #14161A; --dark-2: #1E2128; --on-dark: #E9ECF0; --on-dark-muted: #A7B0BC;
  --radius: 12px; --max: 1120px;
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased }
img { max-width: 100%; display: block }
[hidden] { display: none !important }
a { color: var(--slate) }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; margin: 0 }
p { margin: 0 }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)) }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 2px; border-radius: 4px }

/* language */
html[lang="es"] .en, html:not([lang="es"]) .es { display: none !important }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line) }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px }
.logo img { height: 26px; width: auto }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px }
.nav a { color: var(--ink-2); text-decoration: none }
.nav a:hover { color: var(--red) }
.nav-right { display: flex; align-items: center; gap: 12px }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 600 }
.lang button { border: 0; background: none; padding: 4px 10px; border-radius: 999px; color: var(--muted); cursor: pointer; font: inherit }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff }
.menu-btn { display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 14px; cursor: pointer }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px }
  .nav.open { display: flex }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line) }
  .menu-btn { display: inline-block }
  .hide-sm { display: none }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 13px 22px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 2px solid transparent; font-family: inherit; transition: background .15s, color .15s, border-color .15s }
.btn-red { background: var(--red); color: #fff }
.btn-red:hover { background: var(--red-dark) }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent }
.btn-line:hover { background: var(--ink); color: #fff }
.btn-sm { padding: 9px 16px; font-size: 14px }
.btn-light { border-color: #fff; color: #fff }
.btn-light:hover { background: #fff; color: var(--ink) }

/* sections */
section { padding: 84px 0 }
.alt { background: var(--bg-alt) }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red) }
.h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-top: 10px; max-width: 22ch }
.lede { font-size: 18px; color: var(--muted); margin-top: 14px; max-width: 62ch }
.sec-head { margin-bottom: 40px }

/* hero */
.hero { padding: 76px 0 64px; border-bottom: 1px solid var(--line) }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; max-width: 17ch }
.hero h1 em { font-style: normal; color: var(--red) }
.hero .lede { font-size: clamp(17px, 2vw, 20px) }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px }
.pill { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--slate); background: var(--slate-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 22px }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 52px }
.trust div { border-top: 3px solid var(--ink); padding-top: 12px }
.trust b { display: block; font-size: 15px }
.trust span { font-size: 14px; color: var(--muted) }
@media (max-width: 800px) { .trust { grid-template-columns: repeat(2, minmax(0,1fr)) } }

/* cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)) } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0 }
.card .tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.card h3 { font-size: 20px; font-weight: 700 }
.card .price { font-size: 14px; font-weight: 700; color: var(--slate) }
.card p { color: var(--ink-2); font-size: 15px }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 15px; color: var(--red); text-decoration: none }
.card .more:hover { text-decoration: underline }
.card.lead { border: 2px solid var(--red) }
.path-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 34px 0 14px; flex-wrap: wrap }
.path-title h3 { font-size: 22px; font-weight: 800 }
.path-title a { font-weight: 700; color: var(--red); text-decoration: none; font-size: 15px }

/* estimator + checklist */
.tool { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; min-width: 0 }
.big-num { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums }
input[type=range] { width: 100%; accent-color: var(--red); margin-top: 18px }
.range-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted) }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px }
.stat { border: 1px solid var(--line); border-radius: 10px; padding: 14px }
.stat small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted) }
.stat b { font-size: 22px; font-variant-numeric: tabular-nums }
.stat.hi { border-color: var(--red); background: var(--red-soft) }
.stat.hi b { color: var(--red-dark) }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px }
.looks li { margin-bottom: 10px }
.looks { padding-left: 18px; margin: 12px 0 0 }
.note-box { margin-top: 18px; padding: 14px; border-radius: 10px; background: var(--slate-soft); font-size: 14px }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px }
.checks label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; font-size: 15px }
.checks label:hover { background: var(--bg-alt) }
.checks input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex: none }
.checks input:checked + span { font-weight: 600 }
.meter { height: 10px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; margin-top: 14px }
.meter span { display: block; height: 100%; width: 0; background: var(--slate); transition: width .3s }
.risk { font-size: 40px; font-weight: 800; margin-top: 4px }
.risk.high { color: var(--red) }
.risk.mod { color: #9A5B00 }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; counter-reset: s; padding: 0; margin: 0; list-style: none }
.steps li { border-top: 3px solid var(--red); padding-top: 16px }
.steps li::before { counter-increment: s; content: "0" counter(s); font-weight: 800; color: var(--red); font-size: 14px }
.steps h3 { font-size: 18px; margin: 8px 0 6px }
.steps p { color: var(--muted); font-size: 15px }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)) } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr } }

/* faq */
.faq { max-width: 780px; border-top: 1px solid var(--line) }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0 }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px }
.faq summary::after { content: "+"; color: var(--red); font-weight: 800 }
.faq details[open] summary::after { content: "–" }
.faq details p { color: var(--ink-2); margin-top: 10px }

/* about teaser / founder */
.founder { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 36px; align-items: center }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr } }
.photo { width: 220px; height: 260px; border-radius: var(--radius); background: var(--slate); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 56px; font-weight: 800; object-fit: cover; overflow: hidden }
.founder .name { font-size: 26px; font-weight: 800 }
.founder .role { color: var(--red); font-weight: 700 }

/* service page */
.svc-hero .price { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--slate); background: var(--slate-soft); padding: 6px 14px; border-radius: 999px; font-size: 15px }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px }
.ticks li { padding-left: 30px; position: relative }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--red-soft); box-shadow: inset 0 0 0 2px var(--red) }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 8px; border: solid var(--red); border-width: 0 2px 2px 0; transform: rotate(45deg) }
.callout { border-left: 4px solid var(--red); background: var(--red-soft); padding: 16px 18px; border-radius: 0 10px 10px 0; font-weight: 600 }
.two-col { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 40px }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr } }
.side h3 { font-size: 18px; margin-bottom: 8px }
.side p { color: var(--ink-2) }

/* forms */
.form { display: flex; flex-direction: column; gap: 22px }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #fff; min-width: 0 }
.form legend { font-weight: 800; padding: 0 6px; font-size: 16px }
.form .full { grid-column: 1 / -1 }
@media (max-width: 620px) { .form fieldset { grid-template-columns: 1fr } }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; min-width: 0 }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #C9CFD6; border-radius: 10px; background: #fff; color: var(--ink); width: 100% }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--slate); border-color: var(--slate) }
.form .hint { font-weight: 400; color: var(--muted); font-size: 13px }
.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 600 }
.form-status.ok { background: #E7F4EC; color: #1D5C3A }
.form-status.err { background: var(--red-soft); color: var(--red-dark) }
.hp { display: none !important }
.contact-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 40px; align-items: start }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr } }
.contact-card { background: var(--bg-alt); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px }
.contact-card b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted) }

/* cta band + footer */
.cta-band { background: var(--dark); color: var(--on-dark); padding: 72px 0 }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; max-width: 22ch }
.cta-band p { color: var(--on-dark-muted); margin-top: 12px; max-width: 56ch }
.cta-band .hero-ctas { margin-top: 26px }
.site-footer { background: var(--dark-2); color: var(--on-dark-muted); padding: 56px 0 40px; font-size: 14px }
.site-footer a { color: var(--on-dark) }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.6fr; gap: 36px }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr } }
.foot-grid h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px }
.foot-grid ul a { text-decoration: none }
.foot-logo img { height: 24px; width: auto; margin-bottom: 14px }
.legal p { margin-bottom: 10px; font-size: 13px }
.legal b { color: var(--on-dark) }
.copy { border-top: 1px solid #2C313A; margin-top: 36px; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px }

/* prose pages */
.prose { max-width: 760px }
.prose h2 { font-size: 22px; margin: 34px 0 10px }
.prose p, .prose li { color: var(--ink-2) }
.prose p + p { margin-top: 12px }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } * { transition: none !important } }

/* about page */
.about-top { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: center }
.about-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius) }
@media (max-width: 800px) { .about-top { grid-template-columns: 1fr; gap: 28px } .about-photo { max-width: 340px } }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line) }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.facts dd { margin: 2px 0 0; font-size: 15px; color: var(--ink) }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr } }
.story .story-block + .story-block { margin-top: 8px }
.story h2 { font-size: 24px; margin: 30px 0 10px }
.story p { font-size: 17px; line-height: 1.7 }
.about-top .role { color: var(--red); font-weight: 700 }
