/* SIN TOC by Belinda Núñez: shared stylesheet. Color tokens with measured contrast (LD 2026-11-24). */
/* Self-hosted fonts (SIL OFL 1.1, licenses in /assets/fonts/), latin subset from Google Fonts, 2026-11-24 */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/fraunces-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: "Fraunces"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/fraunces-italic-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: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/source-sans-3-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; }
/* Color system (LD 2026-11-24): brand colors as base, variants per surface, contrast measured on
   #FAF7F2 unless noted. Text tokens aim at 7:1 or more. */
:root {
  --paper: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #221B26;          /* 15.7 */
  --muted: #5A5160;        /* 7.1 */
  --line: #E6DED6;
  --violet: #7A2470;       /* 8.5; white on it 9.1: text, links, primary button */
  --violet-deep: #6A1E61;  /* hover; white on it 10.7 */
  --violet-brand: #9B358A; /* logo violet: display and decoration only (6.0) */
  --violet-wash: #F4E8F1;  /* violet text on it 7.6 */
  --teal: #5FC7CF;         /* logo teal: fills only, ink on it 8.4 */
  --teal-wash: #E3F4F5;    /* ink on it 14.5 */
  --teal-deep: #154B52;    /* 9.1; on teal-wash 8.6 */
  --night: #2B1530;        /* footer and closing band; cream on it 15.7 */
  --night-soft: #D9C9DE;   /* 10.7 on night */
  --night-teal: #8FE0E6;   /* 11.2 on night */
  --tbd: #FFF1B8;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(34, 27, 38, .06), 0 8px 28px rgba(34, 27, 38, .08);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@view-transition { navigation: auto; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: .18em; }
a:hover { color: var(--violet-deep); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.eyebrow { font: 700 .82rem/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--teal-deep); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.tbd { background: var(--tbd); color: var(--ink); border-radius: 4px; padding: 0 .3em; font-size: .9em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* Draft ribbon: remove before publishing */
.draft { background: var(--tbd); color: var(--ink); text-align: center; font-size: .9rem; padding: 6px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em; min-height: 48px;
  padding: .7em 1.35em; border-radius: 999px; border: 2px solid var(--violet);
  font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-deep); border-color: var(--violet-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--violet); }
.btn-ghost:hover { background: var(--violet-wash); color: var(--violet-deep); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 242, .92); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; height: auto; }
.brand span { font: 500 1.15rem/1.1 var(--serif); }
.brand small { display: block; font: 600 .78rem/1.2 var(--sans); color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--violet); border-bottom-color: var(--violet); }
.menu { display: none; }
@media (max-width: 980px) {
  .nav, .bar > .btn { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; min-height: 48px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--ink); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { border-color: var(--violet); color: var(--violet); }
  .menu .panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, 90vw); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: grid; }
  .menu .panel a { padding: 12px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .menu .panel a:hover { background: var(--violet-wash); color: var(--violet-deep); }
}

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); margin: 14px 0 22px; }
.hero h1 em { font-style: italic; color: var(--violet); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.proof li { font-size: .95rem; font-weight: 600; color: var(--teal-deep); background: var(--teal-wash); border-radius: 999px; padding: 6px 14px; }
.visual { position: relative; aspect-ratio: 4 / 4.4; border-radius: 28px; overflow: hidden; background:
    radial-gradient(120% 90% at 85% 10%, rgba(95, 199, 207, .55), transparent 60%),
    radial-gradient(110% 80% at 10% 95%, rgba(155, 53, 138, .35), transparent 62%), var(--violet-wash); }
.visual .tree { position: absolute; right: 6%; top: 12%; width: 44%; opacity: .95; }
.visual .photo-note { position: absolute; left: 20px; top: 20px; right: 20px; font-size: .85rem; }
.care { position: absolute; left: 6%; right: 6%; bottom: 6%; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; }
.care h2 { font: 700 .82rem/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 12px; }
.care ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.care li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 1rem var(--serif); color: var(--violet); background: var(--violet-wash); }
.care strong { display: block; font-size: 1rem; line-height: 1.3; }
.care span { display: block; font-size: .86rem; line-height: 1.35; color: var(--muted); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .visual { aspect-ratio: 4 / 3.6; }
  .visual .tree { width: 44%; }
}

/* Sections */
section { padding: clamp(56px, 8vw, 104px) 0; }
.head { max-width: 720px; margin-bottom: 40px; }
.head h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); margin: 10px 0 14px; }
.tint-violet { background: var(--violet-wash); }
.tint-teal { background: var(--teal-wash); }

/* Router */
.router { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.route { display: flex; flex-direction: column; gap: 10px; min-height: 210px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.route:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--violet); color: var(--ink); }
.route h3 { font-size: 1.45rem; }
.route p { color: var(--muted); font-size: 1rem; }
.route .go { margin-top: auto; font-weight: 700; color: var(--violet); }
@media (max-width: 980px) { .router { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .router { grid-template-columns: 1fr; } .route { min-height: 0; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; padding: 28px 26px; border-radius: var(--radius); background: var(--surface); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--violet); color: #fff; font: 600 1.15rem var(--serif); margin-bottom: 18px; }
.steps h3 { font-size: 1.35rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.tile.wide { grid-column: span 3; }
.tile.feature { grid-column: span 4; grid-row: span 2; background: var(--violet); color: #fff; border: 0; justify-content: flex-end; min-height: 320px; }
.tile.feature p { color: #F7EDF5; }
.tile.feature a { color: #fff; }
.tile h3 { font-size: 1.4rem; }
.tile p { color: var(--muted); font-size: 1rem; }
.tile .tag { align-self: flex-start; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); background: var(--teal-wash); padding: 4px 10px; border-radius: 999px; }
.tile.feature .tag { color: var(--ink); background: var(--teal); }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .tile, .tile.wide { grid-column: span 1; } .tile.feature { grid-column: span 2; grid-row: auto; min-height: 0; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile.feature { grid-column: span 1; } }

/* Online band */
.online { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.online ul { margin: 18px 0 0; padding-left: 1.1em; }
.online li { margin: 6px 0; }
.langs { display: grid; gap: 12px; }
.langs div { background: var(--surface); border-radius: var(--radius); padding: 18px 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.langs b { font: 500 1.3rem var(--serif); }
.langs span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .online { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person .ph { aspect-ratio: 4 / 3; background: linear-gradient(160deg, var(--violet-wash), var(--teal-wash)); display: grid; place-items: center; color: var(--muted); font-size: .9rem; }
.person .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.person h3 { font-size: 1.4rem; }
.person .role { font-weight: 700; color: var(--teal-deep); font-size: 1rem; }
.person p { font-size: 1rem; color: var(--muted); }
.cred { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.45; color: var(--ink); }
.network { margin-top: 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 26px 30px; border-radius: var(--radius); background: var(--teal-wash); }
.network img { width: 56px; }
.network h3 { font-size: 1.4rem; margin-bottom: 4px; }
.network p { font-size: 1rem; color: var(--ink); }
@media (max-width: 980px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } .network { grid-template-columns: 1fr; } }

/* Professionals */
.pro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pro article { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.pro h3 { font-size: 1.4rem; }
.pro p { font-size: 1rem; color: var(--muted); }
.pro a.more { margin-top: auto; font-weight: 700; }
@media (max-width: 860px) { .pro { grid-template-columns: 1fr; } }

/* Closing band + footer */
.closing { background: var(--night); color: var(--paper); text-align: center; }
.closing h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 18ch; margin: 0 auto 16px; }
.closing p { color: var(--night-soft); max-width: 46ch; margin: 0 auto 28px; }
.closing .btn-primary { background: var(--paper); color: var(--violet); border-color: var(--paper); }
.closing .btn-primary:hover { background: #fff; color: var(--violet-deep); }
footer { background: var(--night); color: var(--night-soft); border-top: 1px solid rgba(217, 201, 222, .2); padding: 48px 0 32px; font-size: .95rem; }
@media (max-width: 980px) { footer { padding-bottom: 110px; } }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
footer h2 { font: 700 .82rem/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--night-teal); margin-bottom: 12px; }
footer a { color: var(--paper); }
footer a:hover { color: var(--night-teal); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.creds-foot p { margin-bottom: 6px; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(217, 201, 222, .2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr; } }

/* Mobile WhatsApp bar: help in the same place on every page (WCAG 2.2 3.2.6) */
.wa-bar { display: none; }
@media (max-width: 980px) {
  .wa-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; justify-content: center; box-shadow: var(--shadow); }
  body { scroll-padding-bottom: 90px; }
}

/* Gentle reveal, only where supported and when motion is welcome; text is visible without it */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes rise { from { opacity: .4; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  }
}

/* Inner pages */
.nav a[aria-current="page"] { color: var(--violet); border-bottom-color: var(--violet); }
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); background:
    radial-gradient(70% 120% at 100% 0%, rgba(95, 199, 207, .28), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(155, 53, 138, .14), transparent 60%), var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin: 12px 0 18px; max-width: 20ch; }
.page-hero .lead { max-width: 52ch; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.crumbs { font-size: .92rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.index { position: sticky; top: 100px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.index p { font: 700 .82rem/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 10px; }
.index ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .98rem; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } .index { position: static; } }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 48px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin-top: 28px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.byline { font-size: .95rem; color: var(--muted); padding: 14px 18px; border-left: 4px solid var(--teal); background: var(--teal-wash); border-radius: 0 12px 12px 0; }
.cycle { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: c; }
.cycle li { counter-increment: c; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; position: relative; }
.cycle li::before { content: counter(c); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--violet-wash); color: var(--violet); font: 600 1rem var(--serif); margin-bottom: 10px; }
.cycle b { display: block; font: 500 1.15rem var(--serif); }
.cycle span { font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .cycle { grid-template-columns: 1fr 1fr; } }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 1.45rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card dl { margin: 6px 0 0; display: grid; gap: 8px; font-size: 1rem; }
.card dt { font-weight: 700; color: var(--teal-deep); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.card dd { margin: 0; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; font: 500 1.15rem/1.4 var(--serif); padding: 16px 0; }
.faq details[open] summary { color: var(--violet); }
.faq details p { padding-bottom: 18px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 16px 0 0; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.contact-main { background: var(--violet); color: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.contact-main h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.contact-main p { color: #F7EDF5; }
.contact-main .btn-primary { align-self: flex-start; background: var(--paper); color: var(--violet); border-color: var(--paper); }
.contact-main .btn-primary:hover { background: #fff; color: var(--violet-deep); }
.contact-side { display: grid; gap: 16px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound img { width: 120px; margin: 0 auto 24px; }
.notfound h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 12px; }
.notfound p { color: var(--muted); max-width: 42ch; margin: 0 auto 28px; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* FIDI criterion (SIN TOC's rule for telling an intrusive thought from an obsession) */
.fidi { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fidi li { background: var(--violet-wash); border-radius: 16px; padding: 18px 16px; display: grid; gap: 8px; }
.fidi b { font: 600 2.6rem/1 var(--serif); color: var(--violet); }
.fidi strong { display: block; font-size: 1.05rem; color: var(--ink); }
.fidi span { font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .fidi { grid-template-columns: 1fr 1fr; } }
.fidi-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.fidi-band .fidi { margin: 0; }
@media (max-width: 860px) { .fidi-band { grid-template-columns: 1fr; } }
