/* Palette and type follow the flyers (r-engine/templates/profile-sheet.typ in the domestica repo). */
@font-face {
  font-family: "Quicksand";
  src: url("assets/fonts/quicksand.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #fcfcf8;
  --surface: #ffffff;
  --soft: #fcf4cc;
  --yellow: #fcd448;
  --border: #efeadb;
  --muted: #4a4f5c;
  --ink: #1c202c;
  --green: #1f7a4d;
  --green-soft: #e3f3ea;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Quicksand", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0; scroll-margin-top: 72px; }
.section-title { font-size: clamp(26px, 4vw, 32px); font-weight: 700; margin-bottom: 8px; }
.section-lead { color: var(--muted); margin-bottom: 28px; max-width: 620px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(252, 252, 248, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-weight: 700; font-size: 20px; line-height: 1.1; }
.brand-tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 24px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: #f5c92e; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2d3243; }
.btn-outline { background: var(--surface); border-color: var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--yellow); }
/* WhatsApp buttons in WhatsApp's green; dark text keeps the contrast that white text would not. */
.btn-wa { background: #25d366; color: var(--ink); }
.btn-wa:hover { background: #1ebe5a; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding-top: 48px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: var(--soft); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 700; letter-spacing: -.01em; }
.mark { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 90%, transparent 90%); }
.hero .lead { font-size: 19px; color: var(--muted); margin: 20px 0 24px; max-width: 520px; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.checks sup { font-size: 11px; margin-left: 2px; }
.checks sup a { color: var(--muted); text-decoration: none; }
.footnotes { margin: 0 0 8px; padding-left: 18px; font-size: 12.5px; line-height: 1.5; display: grid; gap: 4px; }
.footnotes a { text-decoration: none; }
.footnotes li::marker { font-weight: 700; }
.disclaimer { font-size: 12.5px; line-height: 1.5; font-style: italic; }
footer .wrap.notes { display: block; border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 20px; }
[id^="nota-"], [id^="ref-"] { scroll-margin-top: 90px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.check-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; flex: none; }
.check-dot .icon { width: 15px; height: 15px; stroke-width: 3; }

.hero-art { position: relative; background: var(--yellow); border-radius: 32px; min-height: 480px; padding: 28px; }
.hero-art .house { position: absolute; inset: 0; margin: auto; width: 60%; height: 60%; color: rgba(255, 255, 255, .35); stroke-width: 1.2; }
.hero-art .caption { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; font-weight: 700; padding: 0 16px; }
.person-card { position: absolute; display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 20px; padding: 16px 20px; box-shadow: 0 14px 36px rgba(28, 32, 44, .12); }
.person-card:nth-of-type(1) { top: 36px; left: -28px; }
.person-card:nth-of-type(2) { top: 168px; right: -28px; }
.person-card:nth-of-type(3) { top: 296px; left: -12px; }
.person-card .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; }
.person-card strong { display: block; font-size: 18px; }
.person-card span { font-size: 14px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 700; }
.badge .icon { width: 12px; height: 12px; stroke-width: 3; }

/* Audience split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.split a { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); text-decoration: none; border: 1px solid var(--border); background: var(--surface); }
.split a:hover { border-color: var(--yellow); }
.split .tile-icon { width: 48px; height: 48px; }
.split strong { display: block; font-size: 18px; }
.split span { color: var(--muted); font-size: 15px; }

/* Tiles and steps */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); font-weight: 700; }
.tile.more { background: var(--soft); border-color: var(--soft); }
.tile-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; flex: none; }
.tile.more .tile-icon { background: var(--surface); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.step { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

.price { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding: 18px 24px; border-radius: var(--radius); background: var(--soft); color: var(--muted); text-align: center; }
.price b { color: var(--ink); }

.cta { margin-top: 28px; }

/* Workers */
.workers { background: var(--ink); color: #fff; }
.workers .section-lead { color: #c9ccd6; }
.workers .tile { background: #262b3a; border-color: #333949; color: #fff; }
.workers .step { background: #262b3a; border-color: #333949; }
.workers .step p { color: #c9ccd6; }
.workers .step::before { color: var(--ink); }
.workers .btn-outline { background: transparent; border-color: #4a5165; color: #fff; }
.workers .btn-outline:hover { border-color: var(--yellow); }
.docs { margin-top: 28px; }
.docs h3 { font-size: 20px; margin-bottom: 14px; }
.docs ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.docs li { display: flex; gap: 10px; align-items: flex-start; color: #e6e8ee; }
.docs li .icon { color: var(--yellow); width: 20px; height: 20px; margin-top: 2px; stroke-width: 3; }
.subhead { font-size: 22px; margin: 40px 0 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none; min-width: 0; }
a.contact-item:hover { border-color: var(--yellow); }
.contact-item .tile-icon { border-radius: 50%; }
.contact-item small { display: block; color: var(--muted); font-size: 13px; }
.contact-item strong { display: block; overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Floating WhatsApp, every screen size. The footer leaves room for it. */
.fab { display: grid; position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 20; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); }
.fab .icon { width: 30px; height: 30px; }
.fab:hover { background: #1ebe5a; }
.fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
footer { padding-bottom: 96px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 400px; margin: 0 8px; }
  .person-card:nth-of-type(1) { left: -8px; }
  .person-card:nth-of-type(2) { right: -8px; }
  .person-card:nth-of-type(3) { left: 4px; }
  .tiles, .steps { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 44px 0; }
  .split, .docs ul { grid-template-columns: 1fr; }
  .tiles { gap: 10px; }
  .tile { padding: 12px; gap: 10px; font-size: 15px; }
  .tile-icon { width: 34px; height: 34px; }
  .steps, .contact-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .hero-art { min-height: 480px; }
  .person-card { padding: 12px 14px; gap: 10px; }
  .person-card .avatar { width: 42px; height: 42px; }
  .person-card:nth-of-type(2) { top: 150px; }
  .person-card:nth-of-type(3) { top: 264px; }
  .brand-tag { display: none; }
}

/* Legal pages and links */
.legal { max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.legal h1 { font-size: clamp(30px, 5vw, 40px); font-weight: 700; margin-bottom: 6px; }
.legal h2, .legal h3 { font-weight: 700; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.legal h3 { font-size: 17px; margin: 18px 0 6px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin: 0 0 10px; }
.legal ul { padding-left: 20px; margin: 0 0 10px; display: grid; gap: 6px; }
.legal strong { color: var(--ink); }
.legal-meta { font-size: 14px; }
.legal-links a, .form-note a { color: inherit; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.workers .form-note { color: #c9ccd6; }

/* Form pages: the monday form fills the screen below the sticky header and
   scrolls on its own, because monday sends no height to resize the iframe. */
.form-intro { max-width: 760px; padding-top: 32px; padding-bottom: 16px; }
.form-intro h1 { font-size: clamp(30px, 5vw, 40px); font-weight: 700; margin-bottom: 8px; }
.lead-sm { color: var(--muted); margin-bottom: 16px; }
.notice { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 12px 16px; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.notice summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.notice p { margin: 10px 0 0; }
.notice a, .fallback a { color: var(--ink); }
.fallback { font-size: 14px; color: var(--muted); }
.embed { max-width: 760px; margin: 0 auto 32px; padding: 0 20px; }
.embed iframe { display: block; width: 100%; height: calc(100dvh - 68px); min-height: 560px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
@media (max-width: 600px) {
  .embed { padding: 0; margin-bottom: 0; }
  .embed iframe { border-radius: 0; border-left: 0; border-right: 0; }
}

/* Service pages (one per role: /nanas, /choferes, ...): one template, same
   verification list and footnotes as the landing page. */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.tasks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; list-style: none; padding: 0; margin: 0; max-width: 760px; }
.tasks li { display: flex; gap: 12px; align-items: flex-start; }
.tasks .check-dot { width: 24px; height: 24px; }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 14px 18px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
.faq p { margin: 10px 0 0; color: var(--muted); }
.faq a { color: var(--ink); }
@media (max-width: 760px) {
  .tasks, .tiles.three { grid-template-columns: minmax(0, 1fr); }
}
a.tile { color: inherit; text-decoration: none; }
a.tile:hover { border-color: var(--yellow); }
a.tile:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
