/* Inter alojada en el propio sitio (latin, variable 400–900) */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); }
/* Daniel Chirino · dirección elegida: "Daniel como marca" (dir-1, 27/10/2026) */
:root {
  --bg: #FAF9F6;
  --ink: #111118;
  --text: #2a2a35;
  --muted: #5d5d6b;
  --line: #e2e0d8;
  --soft: #F1EFE9;
  --or: #F48C0C;
  --ort: #A85600;
  --bl: #2C2A92;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); overflow-x: hidden; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--text); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1312px; margin: 0 auto; padding: 0 32px; }

/* header */
header .wrap { display: flex; justify-content: space-between; align-items: center; height: 80px; gap: 16px; }
.brand { font-weight: 900; font-size: 20px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
nav { display: flex; gap: 26px; align-items: center; }
nav a { text-decoration: none; font-weight: 600; font-size: 16px; white-space: nowrap; }
.brand { white-space: nowrap; }
nav a:hover { text-decoration: underline; }
nav a.pill { background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; }
nav a.pill:hover { text-decoration: none; }
.li-ico { display: inline-flex; align-items: center; gap: 8px; }
.li-ico svg { flex: none; }

/* language bar + switch */
.langbar { background: var(--ink); color: #fff; font-size: 15px; }
.langbar .wrap { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 46px; text-align: center; padding-top: 8px; padding-bottom: 8px; }
.langbar a { color: var(--or); font-weight: 800; }
.switch { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; flex: none; }
.switch a { padding: 7px 12px; font-weight: 800; font-size: 14px; line-height: 1; text-decoration: none; color: var(--ink); }
.switch a:hover { text-decoration: none; background: var(--soft); }
.switch a.on { background: var(--ink); color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 800; font-size: 18px; text-decoration: none; text-align: center; line-height: 1.2; }
.btn.ink { background: var(--ink); color: #fff; }
.btn.line { border: 2px solid var(--ink); color: var(--ink); }
.btn.orange { background: var(--or); color: var(--ink); }
.btn.white { background: #fff; color: var(--ink); }

/* hero */
.hero { position: relative; min-height: 900px; overflow: hidden; }
.hero .disc { position: absolute; width: 720px; height: 720px; border-radius: 50%; background: var(--or); right: -110px; top: 120px; }
/* the photo's straight shoulder cut sits flush with the window edge */
.hero .me { position: absolute; height: 900px; width: auto; max-width: none; right: 0; top: 0; }
.hero .copy { position: relative; z-index: 2; padding-top: 72px; max-width: 640px; }
.hero.sm { min-height: 760px; }
.hero.sm .disc { width: 600px; height: 600px; top: 110px; right: -90px; }
.hero.sm .me { height: 760px; width: auto; }
h1 { font-size: clamp(52px, 7.6vw, 112px); line-height: .92; letter-spacing: -.055em; font-weight: 900; color: var(--ink); margin: 0; }
.hero.sm h1 { font-size: clamp(46px, 6.4vw, 92px); }
.lead { font-size: 21px; max-width: 540px; margin: 32px 0 0; }
.lead b { color: var(--ink); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.lang { margin-top: 20px; font-size: 15px; color: var(--muted); }
.lang a { color: var(--bl); font-weight: 700; }

/* sections */
section.blk { padding: 104px 0; }
section.dark { background: var(--ink); color: #d9d8e2; }
section.soft { background: var(--soft); }
h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.045em; font-weight: 900; color: var(--ink); margin: 0 0 24px; max-width: 900px; }
section.dark h2, section.dark h3 { color: #fff; }
h3 { font-size: 26px; line-height: 1.1; letter-spacing: -.025em; font-weight: 900; color: var(--ink); margin: 0 0 10px; }
.sub { font-size: 20px; max-width: 680px; margin: 0 0 48px; }
.note { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 17px; max-width: 820px; color: var(--muted); }
section.dark .note { border-top-color: #33333d; color: #b9b8c4; }
.label { display: block; font-size: 15px; font-weight: 800; color: var(--ort); margin-bottom: 12px; }
section.dark .label { color: var(--or); }

/* grids */
.cols2, .cols3, .cols4 { display: grid; gap: 48px; }
.cols2 { grid-template-columns: repeat(2, 1fr); }
.cols3 { grid-template-columns: repeat(3, 1fr); }
.cols4 { grid-template-columns: repeat(4, 1fr); gap: 40px; }
.cols2 p, .cols3 p, .cols4 p { margin: 0; }

/* numbered steps (only for real sequences) */
.n { display: flex; width: 84px; height: 84px; border-radius: 50%; background: var(--or); color: var(--ink); font-weight: 900; font-size: 40px; align-items: center; justify-content: center; margin-bottom: 24px; }
.dot { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--or); margin-bottom: 20px; }

/* panels with lists */
.panel { background: #fff; border-radius: 24px; padding: 36px; }
section.dark .panel { background: #1c1c25; }
section.dark .panel h3 { color: #fff; }
.panel h3 { margin-bottom: 20px; }
ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
ul.checks li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 12px; height: 7px; border-left: 3px solid var(--or); border-bottom: 3px solid var(--or); transform: rotate(-45deg); }

/* industries */
ul.ind { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 64px; }
ul.ind li { break-inside: avoid; border-top: 1px solid var(--line); padding: 18px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
ul.ind li small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
ul.ind li.me a { text-decoration: none; display: flex; gap: 14px; align-items: center; }
ul.ind li.me a:hover { text-decoration: underline; }
ul.ind li.me a::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--or); flex: none; }
ul.ind li.me small { color: var(--ort); font-weight: 700; }

/* orange call to action */
section.cta { background: var(--or); padding: 104px 0; color: var(--ink); }
section.cta .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; }
section.cta h2 { font-size: clamp(44px, 7vw, 104px); line-height: .92; letter-spacing: -.055em; margin: 0; }
section.cta p { font-size: 20px; margin: 0 0 24px; }
section.cta .btns { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
section.cta .small { font-size: 16px; margin: 20px 0 0; }

/* legal */
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(44px, 6vw, 80px); margin-bottom: 32px; }
.legal h2 { font-size: 34px; margin-top: 48px; }
.legal h3 { font-size: 22px; margin-top: 32px; }
#es h2 { font-size: 22px; margin-top: 32px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--bl); font-weight: 600; }
.legal hr { border: none; border-top: 1px solid var(--line); margin: 72px 0; }

/* migas de pan */
.migas { font-size: 14px; color: var(--muted); padding-top: 20px; padding-bottom: 4px; }
.migas a { color: var(--muted); }
.migas span[aria-current] { color: var(--ink); font-weight: 600; }

/* cabecera simple (páginas sin foto grande) */
.cabecera { padding: 48px 0 24px; }
.cabecera h1 { font-size: clamp(44px, 6vw, 88px); }
.cabecera .lead { max-width: 760px; }

/* autor */
.autor { display: flex; gap: 14px; align-items: center; margin-top: 28px; font-size: 15px; color: var(--muted); }
.autor img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 8%; background: #ECE8DF; flex: none; }
.autor p { margin: 0; line-height: 1.4; }
.autor a { color: var(--ink); font-weight: 700; }

/* casos y cifras */
.casos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.caso { background: #fff; border-radius: 20px; padding: 26px; }
section.dark .caso { background: #1c1c25; }
.caso .monto { display: block; font-size: clamp(32px, 3.4vw, 46px); font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--ink); margin-bottom: 12px; }
section.dark .caso .monto { color: #fff; }
.caso .quien { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); }
section.dark .caso .quien { color: #b9b8c4; }
.cifras { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 32px; }
.cifras b { display: block; font-size: 38px; font-weight: 900; letter-spacing: -.04em; color: var(--ink); line-height: 1.05; }
.cifras span { font-size: 15px; color: var(--muted); }
.fuente { font-size: 14px; color: var(--muted); margin-top: 16px; }
.caso a { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--ink); }
.sub.tras { margin: 32px 0 0; max-width: 980px; }

/* preguntas frecuentes */
.faq { margin-top: 32px; max-width: 820px; }
.faq h3 { font-size: 22px; margin: 32px 0 8px; }
.faq h3:first-child { margin-top: 0; }
.faq p { margin: 0; }
.faq a { color: var(--bl); font-weight: 600; }

section.dark .fuente { color: #b9b8c4; }
.faq h3 a { color: var(--ink); }

/* glosario */
dl.glosario { margin: 0; max-width: 860px; }
dl.glosario dt { font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--ink); margin: 0; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
dl.glosario dt:first-child { border-top: 0; padding-top: 0; }
dl.glosario dd { margin: 6px 0 24px; }
dl.glosario a { color: var(--bl); font-weight: 600; }

/* cuenta de ejemplo */
table.cuenta { width: 100%; border-collapse: collapse; font-size: 17px; }
table.cuenta td { padding: 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
table.cuenta td:last-child { text-align: right; font-weight: 800; color: var(--ink); padding-left: 16px; white-space: nowrap; }
table.cuenta tr.total td { border-top: 2px solid var(--ink); font-size: 20px; font-weight: 900; color: var(--ink); }

/* trayectoria (sobre mí) */
ol.trayectoria { list-style: none; margin: 0; padding: 0; }
ol.trayectoria li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; border-top: 1px solid var(--line); padding: 24px 0; }
ol.trayectoria .cuando { font-weight: 800; color: var(--ort); }
ol.trayectoria h3 { margin-bottom: 6px; }
ol.trayectoria p { margin: 0; }

/* página del formulario */
.empezar .wrap { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 64px; align-items: start; padding-top: 32px; padding-bottom: 96px; }
.empezar .confianza h1 { font-size: clamp(40px, 5vw, 72px); }
.empezar .confianza ol { padding-left: 22px; margin: 24px 0 0; }
.empezar .confianza li { margin-bottom: 10px; }

/* formulario de varios pasos */
.lf { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.lf h2 { font-size: 28px; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 6px; }
.lf .lf-sub { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.lf .lf-progreso { display: flex; gap: 6px; margin: 0 0 20px; }
.lf .lf-progreso span { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.lf .lf-progreso span.on { background: var(--or); }
.lf fieldset { border: 0; padding: 0; margin: 0; }
.lf fieldset[hidden] { display: none; }
.lf legend { font-weight: 800; color: var(--ink); font-size: 18px; margin-bottom: 12px; }
.lf .lf-campo { margin-bottom: 14px; }
.lf label, .lf .lf-label { display: block; font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.lf .lf-opc { font-weight: 500; color: var(--muted); }
.lf input[type=text], .lf input[type=email], .lf input[type=tel], .lf select, .lf textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.lf input:focus, .lf select:focus, .lf textarea:focus { outline: 3px solid rgba(244, 140, 12, .35); border-color: var(--or); }
.lf .lf-radios { display: grid; gap: 8px; }
.lf .lf-radios label { display: flex; gap: 10px; align-items: center; font-weight: 600; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; margin: 0; }
.lf .lf-radios input { accent-color: var(--or); width: 18px; height: 18px; }
.lf .lf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--text); }
.lf .lf-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--or); flex: none; }
.lf .lf-consent a { color: var(--ink); font-weight: 700; }
.lf .lf-botones { display: flex; gap: 10px; margin-top: 18px; }
.lf button { font: inherit; font-weight: 800; font-size: 17px; border-radius: 999px; padding: 14px 24px; cursor: pointer; border: 0; min-height: 52px; }
.lf .lf-sig { background: var(--ink); color: #fff; flex: 1; }
.lf .lf-atras { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.lf .lf-error { color: #B42318; font-size: 14px; font-weight: 600; margin: 6px 0 0; min-height: 1em; }
.lf .lf-aviso { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.lf .lf-trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lf [aria-invalid=true] { border-color: #B42318 !important; }

/* footer */
footer { padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer span { max-width: 820px; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer .links a { color: var(--ink); font-weight: 600; }

/* menú en pantallas medianas: más junto, LinkedIn solo con el ícono y, más abajo, sin los enlaces del menú */
@media (max-width: 1240px) {
  nav { gap: 18px; }
  nav a { font-size: 15px; }
  .li-ico span { display: none; }
}
@media (max-width: 1000px) {
  nav a.hide { display: none; }
}
/* portada en pantallas medianas: la foto y el círculo se achican y el texto no se monta sobre la foto */
@media (min-width: 861px) and (max-width: 1340px) {
  .hero { min-height: min(900px, 70vw); }
  .hero .me { height: min(900px, 70vw); }
  .hero .disc { width: min(720px, 56vw); height: min(720px, 56vw); }
  .hero.sm { min-height: min(760px, 62vw); }
  .hero.sm .me { height: min(760px, 62vw); }
  .hero.sm .disc { width: min(600px, 47vw); height: min(600px, 47vw); }
  .hero .copy { max-width: 46%; }
  .hero h1 { font-size: 6.2vw; }
}

@media (max-width: 860px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  nav { gap: 16px; }
  nav a.hide { display: none; }
  nav a { font-size: 15px; }
  .hero, .hero.sm { min-height: 0; padding-bottom: 56px; }
  .hero .visual { position: relative; height: 430px; margin: 0 -20px; overflow: hidden; }
  .hero .disc, .hero.sm .disc { width: 360px; height: 360px; right: auto; left: 50%; transform: translateX(-50%); top: 40px; }
  .hero .me, .hero.sm .me { width: 100%; height: auto; right: 0; left: 0; top: 0; }
  .hero .copy { padding-top: 24px; }
  .lead { font-size: 18px; }
  .btn { width: 100%; }
  section.cta .btns { align-items: stretch; }
  .cols2, .cols3, .cols4, section.cta .wrap { grid-template-columns: 1fr; gap: 40px; }
  section.blk, section.cta { padding: 72px 0; }
  .panel { padding: 26px 22px; }
  ul.ind { columns: 1; }
  ul.ind li { font-size: 20px; flex-direction: column; gap: 2px; }
  .casos { grid-template-columns: 1fr 1fr; }
  .cifras { grid-template-columns: repeat(2, 1fr); }
  ol.trayectoria li { grid-template-columns: 1fr; gap: 6px; }
  .empezar .wrap { grid-template-columns: 1fr; gap: 32px; padding-bottom: 64px; }
  .empezar .lf { order: -1; }
  .lf { padding: 22px 18px; }
  h3 { font-size: 23px; }
}
@media (max-width: 480px) {
  .casos { grid-template-columns: 1fr; }
  nav { gap: 10px; }
  nav a.li-ico { display: none; }
  .brand { font-size: 17px; white-space: nowrap; }
  nav a.pill { padding: 10px 13px; font-size: 14px; white-space: nowrap; }
  .switch a { padding: 7px 10px; }
  .langbar { font-size: 14px; }
  .langbar .wrap { gap: 6px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
  header .wrap { height: 68px; gap: 10px; }
}
