/* Humanglement: one stylesheet for every page. Colours from the live site (v3c design.json): sand, navy, lime. */
/* Brand fonts, self-hosted (ASSETS.md): Sansita 800 for headings, Nunito Sans 400/700 for text. Latin subsets only. */
@font-face { font-family: "Sansita"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/sansita-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg: #e1dfd9;
  --card: #f1f0ec;
  --ink: #081f34;
  --muted: #3c4c5c;
  --navy: #0b2238;
  --lime: #d2ff87;
  --line: rgba(8, 31, 52, .18);
  --radius: 999px;
  --font-d: "Sansita", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-b: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font-b); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-d); font-weight: 800; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 { margin: 1.2em 0 .3em; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* language bar and skip link */
.langbar { font-size: .85rem; }
.langbar .wrap { display: flex; justify-content: flex-end; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { position: static; }

/* header */
.header-inner { display: flex; align-items: center; gap: 28px; padding-top: 10px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-d); font-weight: 800; font-size: 1.3rem; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav { display: flex; gap: 24px; flex: 1; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: var(--radius);
       font: 700 .95rem/1.2 var(--font-b); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; border: 0; }
.btn-primary { background: var(--lime); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-primary:hover { background: #c4f56f; }
.btn-secondary { background: var(--ink); color: var(--lime); }
.link { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 28px 0; }

/* hero */
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; padding-top: 40px; padding-bottom: 64px; }
.lead { font-size: 1.2rem; max-width: 38em; }
.creds { font-size: .95rem; font-weight: 700; padding-top: 18px; border-top: 1px solid var(--line); max-width: 40em; }
.hero-photo img, .about-photo img { border-radius: 24px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
figcaption { margin-top: 12px; font-size: .95rem; }
figcaption strong { display: block; }

/* portfolio strip */
.strip { background: var(--navy); color: #fff; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; padding-top: 26px; padding-bottom: 26px; }
.strip-label { color: var(--lime); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 700; }
.strip-names { display: flex; flex-wrap: wrap; gap: 10px 32px; list-style: none; margin: 0; padding: 0; font-family: var(--font-d); font-weight: 800; font-size: 1.25rem; }

/* sections */
.section { padding: 56px 0; border-top: 1px solid var(--line); }
.page-head + .section, .hero + .strip + .wrap > .section:first-child { border-top: 0; }
.section-lead { max-width: 40em; }
.page-head { padding: 40px 0 24px; }
.note { font-size: .92rem; color: var(--muted); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 8px 0 24px; }
.plan { background: var(--card); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.plan .btn { margin-top: auto; width: 100%; padding: 12px 14px; font-size: .85rem; letter-spacing: .01em; }
.plan-custom { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.who { color: var(--muted); margin-bottom: .6em; }
.price { font-family: var(--font-d); font-weight: 800; font-size: 1.9rem; margin-bottom: 1em; }
.per { font: 400 .9rem var(--font-b); color: var(--muted); }
.ticks { padding-left: 1.2em; margin: 0 0 24px; }
.ticks li { margin-bottom: .35em; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 14px; }
.step-n { font-family: var(--font-d); font-weight: 800; font-size: 1.7rem; }
.steps h3 { font-size: 1.05rem; margin: 6px 0 4px; font-family: var(--font-b); }
.steps p { margin: 0; font-size: .95rem; }

/* booking card and facts */
.book-card { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.facts li { background: var(--card); border-radius: var(--radius); padding: 4px 14px; font-size: .9rem; }
.calendly-inline-widget { position: relative; min-width: 300px; height: 720px; background: var(--card); border-radius: 20px; overflow: hidden; }
.calendly-spinner { display: none; } /* Calendly's own spinner CSS isn't loaded; the card colour shows while it loads */

/* founder, about, ventures, tees */
.founder p { max-width: 44em; }
.page-head.about, .page-head.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.page-head.about p { max-width: 40em; }
.ventures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.venture { background: var(--card); border-radius: 20px; padding: 24px; }
.year { font: 400 .95rem var(--font-b); color: var(--muted); margin-left: 6px; }
.tees { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tees li { background: var(--card); border-radius: 20px; padding: 24px; }

/* band */
.band { background: var(--navy); color: #fff; margin-top: 24px; }
.band-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.band h2 { margin-bottom: .2em; }
.band p { margin: 0; }

/* forms */
.lead-form { background: var(--card); border-radius: 20px; padding: 28px; display: grid; gap: 16px; max-width: 640px; }
.lead-form h2 { margin: 0; }
.lead-form label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.lead-form input:not([type=radio]), .lead-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.lead-form .btn { justify-self: start; }
.intent { border: 0; padding: 0; margin: 0; }
.intent legend { font-weight: 700; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex !important; grid-auto-flow: column; align-items: center; gap: 8px !important; padding: 8px 16px; border-radius: var(--radius);
        box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 400 !important; cursor: pointer; }
.pill:has(input:checked) { background: var(--ink); color: var(--lime); }
.form-status:empty { display: none; }
.form-section .lead-form { margin: 0 auto 0 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 0; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 48px; }
.foot-brand { font-family: var(--font-d); font-weight: 800; font-size: 1.2rem; margin-bottom: .3em; }
.foot-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.foot-links li { margin-bottom: .4em; }

/* narrow three-column plans (861–1040 px): keep «Reserva una llamada gratis» on one line */
@media (min-width: 861px) and (max-width: 1040px) {
  .plans { gap: 14px; }
  .plan { padding: 24px 16px; }
  .plan .btn { font-size: .76rem; padding: 12px 8px; letter-spacing: 0; }
}

/* mobile */
@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .header-inner { flex-wrap: wrap; gap: 12px 16px; justify-content: space-between; }
  .nav { order: 3; flex-basis: 100%; gap: 20px; }
  .btn-header { padding: 10px 16px; font-size: .8rem; min-height: 44px; }
  .hero-inner, .page-head.about, .page-head.contact, .book-card, .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-inner { padding-top: 16px; }
  .hero-photo { max-width: 360px; }
  .actions .btn, .book-card .btn, .band .btn { width: 100%; }
  .plans, .ventures, .tees { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
  .steps { grid-template-columns: 1fr; }
  .foot-links { columns: 1; }
}
