@font-face { font-family: "DM Sans"; src: url("assets/fonts/DMSANS-REGULAR.TTF"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/DMSANS-MEDIUM.TTF"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/DMSANS-BOLD.TTF"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Syne"; src: url("assets/fonts/Syne-Bold.ttf"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/InstrumentSerif-Regular.ttf"); font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/InstrumentSerif-Italic.ttf"); font-style: italic; font-display: swap; }
@font-face { font-family: "Doto Rounded"; src: url("assets/fonts/DOTO_ROUNDED-MEDIUM.TTF"); font-weight: 500; font-display: swap; }

:root {
  --black: #0c0c0c; --bg: #121212; --white: #f2f0ed;
  --blue: #0c4e7a; --light: #5aa8e2; --muted: rgba(242,240,237,.6);
  --line: rgba(242,240,237,.14);
  --glass: rgba(242,240,237,.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg) url("assets/img/grain-black.png") center top / 1400px repeat;
  color: var(--white); font-family: "DM Sans", system-ui, sans-serif; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
section { padding: 110px 0; position: relative; }
.alt { background: rgba(12,12,12,.55); border-block: 1px solid var(--line); }

h1, h2, h3 { font-family: "Syne", "DM Sans", sans-serif; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 44px; }
em { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; color: var(--light); letter-spacing: 0; }
h1 em, h2 em { font-size: 1.12em; }
.meta { font-family: "Doto Rounded", monospace; font-weight: 500; font-size: .85rem; letter-spacing: .14em; color: var(--light); text-transform: uppercase; margin-bottom: 20px; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 58ch; }
.center .lead { margin-inline: auto; }

/* Botones */
.pill {
  display: inline-block; padding: 12px 26px; border-radius: 999px; font-weight: 500; font-size: .95rem;
  border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); color: var(--white); font-family: inherit;
  transition: transform .2s, background .2s, border-color .2s; cursor: pointer;
}
.pill:hover { transform: translateY(-2px); border-color: var(--white); }
.pill.solid { background: var(--blue); border-color: var(--blue); }
.pill.solid:hover { background: #115f95; border-color: #115f95; }
.pill.big { padding: 16px 40px; font-size: 1.05rem; margin: 6px 0 28px; }

/* Barra tipo timeline */
.timeline-bar { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60; background:
  repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px); }
.timeline-bar i { display: block; height: 100%; width: 100%; background: var(--light); position: relative; transform: translate3d(-100%, 0, 0); will-change: transform; }
.timeline-bar i::after { content: ""; position: absolute; right: -5px; top: 0; width: 10px; height: 14px; background: var(--light); clip-path: polygon(0 0,100% 0,100% 55%,50% 100%,0 55%); }

/* Nav */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: min(1120px, 100% - 28px); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 10px 20px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(18,18,18,.55); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 12px; font-family: "Syne"; font-weight: 700; }
.brand img { height: 22px; width: auto; }
nav { display: flex; align-items: center; gap: 26px; }
nav a:not(.pill) { color: var(--muted); font-size: .92rem; transition: color .2s; }
nav a:not(.pill):hover { color: var(--white); }
nav .pill { padding: 8px 20px; }
.burger { display: none; background: none; border: 0; width: 32px; height: 32px; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 5px; right: 5px; height: 2px; background: var(--white); transition: .25s; }
.burger i:first-child { top: 11px; } .burger i:last-child { top: 19px; }
.burger[aria-expanded="true"] i:first-child { top: 15px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 15px; transform: rotate(-45deg); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 80px; overflow: hidden;
  background: radial-gradient(900px 560px at 85% 10%, rgba(12,78,122,.75), transparent 70%),
              radial-gradient(600px 400px at 0% 100%, rgba(90,168,226,.18), transparent 70%); }
.hero::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .35; mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%); }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(2.8rem, 8.4vw, 6.6rem); margin-bottom: 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 36px 0 70px; }
.meta.foot { color: var(--muted); font-size: .75rem; margin: 0; }

/* Stats */
.stats { padding: 0; background: rgba(12,12,12,.6); border-block: 1px solid var(--line); }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: "Syne"; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Proyectos */
.projects { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.project { grid-column: span 3; position: relative; overflow: hidden; border-radius: 22px; padding: 32px; min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line);
  background: linear-gradient(160deg, color-mix(in srgb, var(--ac) 22%, transparent), var(--glass) 60%), rgba(18,18,18,.7);
  backdrop-filter: blur(10px); transition: transform .3s, border-color .3s; }
.project:nth-child(n+3) { grid-column: span 2; }
.project:hover { transform: translateY(-6px); border-color: var(--ac); }
.project::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--ac), transparent); opacity: .35; transition: opacity .3s; pointer-events: none; }
.project:hover::after { opacity: .6; }
.project .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: relative; z-index: 1; }
.project .tag { font-family: "Doto Rounded"; font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ac); }
.status { font-size: .72rem; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(12,12,12,.5); white-space: nowrap; }
.status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: #00c27a; box-shadow: 0 0 8px #00c27a; }
.status.soon::before { background: var(--ac); box-shadow: 0 0 8px var(--ac); }
.project h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 56px 0 12px; position: relative; z-index: 1; }
.project p { color: var(--muted); font-size: .95rem; position: relative; z-index: 1; }
.project .foot { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; font-family: "Doto Rounded"; font-size: .75rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; position: relative; z-index: 1; }
.project .arrow { color: var(--ac); font-size: 1.1rem; font-family: "DM Sans"; }

/* Timeline */
.timeline { position: relative; padding-left: 34px; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding-bottom: 42px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -42px; top: 6px; width: 15px; height: 15px; background: var(--light); box-shadow: 0 0 0 6px var(--bg);
  clip-path: polygon(0 0,100% 0,100% 55%,50% 100%,0 55%); }
.timeline .yr { font-family: "Doto Rounded"; font-weight: 500; letter-spacing: .14em; color: var(--light); font-size: .9rem; }
.timeline h3 { font-size: 1.45rem; margin: 6px 0; }
.timeline p { color: var(--muted); }

/* Meet us */
nav a[aria-current="page"] { color: var(--white); }
.page-hero { min-height: 0; padding: 170px 0 90px; }
.page-hero h1 { margin-bottom: 20px; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.member { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; }
.member .info { align-self: end; }
@media (min-width: 860px) {
  .member { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: end; }
  .member .photo { margin-bottom: 0; }
}
.member .photo { position: relative; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 80% 0%, rgba(12,78,122,.9), rgba(18,18,18,.9)); display: flex; align-items: center; justify-content: center; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member .ini { font-family: "Syne"; font-size: 4.5rem; color: var(--light); opacity: .85; }
.member .tc { position: absolute; left: 14px; bottom: 12px; font-family: "Doto Rounded"; font-size: .72rem; letter-spacing: .12em; color: var(--muted); }
.member h3 { font-size: 1.5rem; }
.member .role { font-family: "Doto Rounded"; font-weight: 500; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--light); margin: 6px 0 10px; }
.member p { color: var(--muted); font-size: .95rem; }
.mlinks { display: flex; gap: 14px; margin-top: 12px; font-size: .88rem; color: var(--light); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.value { padding: 30px 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); }
.value .meta { margin-bottom: 36px; display: block; }
.value h3 { font-size: 1.4rem; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: .95rem; }

/* Comunidad */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* Contacto */

footer { padding: 30px 0; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); }
footer .row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px 24px; }
footer .row > :first-child { justify-self: start; }
footer .row > :last-child { justify-self: end; text-align: right; }
@media (max-width: 700px) {
  footer .row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer .row > :first-child, footer .row > :last-child { justify-self: center; text-align: center; }
}
footer .meta { margin: 0; font-size: .72rem; color: var(--muted); }
.foot-mark { height: 20px; opacity: .8; }

/* Animación */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  section { padding: 76px 0; }
  .burger { display: block; }
  nav { position: fixed; top: 76px; left: 14px; right: 14px; flex-direction: column; gap: 18px; padding: 26px; border-radius: 22px;
    background: rgba(18,18,18,.96); border: 1px solid var(--line); transform: translateY(-140%); transition: transform .3s; }
  nav.open { transform: none; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .projects { grid-template-columns: 1fr; }
  .project, .project:nth-child(n+3) { grid-column: auto; min-height: 260px; }
}

/* Pager: botón centrado con el nombre de la siguiente sección */
.pager { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 40; }
.pager button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: rgba(18,18,18,.65); backdrop-filter: blur(14px);
  color: var(--white); font: 500 .92rem "DM Sans", sans-serif; cursor: pointer; transition: transform .2s, border-color .2s; white-space: nowrap; }
.pager button:hover { transform: translateY(-2px); border-color: var(--light); }
.pager button:focus-visible { outline: 2px solid var(--light); outline-offset: 2px; }
.pager button span { color: var(--light); font-size: 1.05rem; line-height: 1; }

/* Tarjeta de contacto */
.contact { padding: 90px 0 110px; }
.cta-card { position: relative; overflow: hidden; border-radius: 32px; border: 1px solid rgba(90,168,226,.35); padding: clamp(36px, 6vw, 72px);
  background: linear-gradient(180deg, rgba(12,78,122,.55), rgba(12,12,12,.7)), url("assets/img/grain-blue.png") center / cover; }
.cta-card::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(242,240,237,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(242,240,237,.07) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 70%); }
.cta-mark { position: absolute; right: -4%; bottom: -14%; width: min(58%, 560px); opacity: .09; pointer-events: none; }
.cta-card > * { position: relative; }
.cta-card > .cta-mark { position: absolute; }
.cta-card .meta { color: var(--white); opacity: .75; }
.cta-card h2 { font-size: clamp(2.4rem, 6.4vw, 5rem); margin-bottom: 22px; max-width: 14ch; }
.cta-card .lead { color: rgba(242,240,237,.8); margin-bottom: 36px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-card .pill.big { margin: 0; }
.cta-card .pill.solid { background: var(--white); border-color: var(--white); color: var(--black); font-weight: 700; }
.cta-card .pill.solid:hover { background: #fff; border-color: #fff; }
.cta-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(242,240,237,.22); }
.cta-foot .meta { margin: 0; opacity: .85; }
.cta-social { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.cta-social a { font-size: .92rem; color: rgba(242,240,237,.75); transition: color .2s; }
.cta-social a:hover { color: var(--white); }
.cta-ticks { height: 14px; margin-top: 28px; opacity: .45; background: repeating-linear-gradient(90deg, rgba(242,240,237,.6) 0 1px, transparent 1px 12px); mask-image: linear-gradient(90deg, #000, transparent); }

/* Comunidad */
.community { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.community h2 { margin-bottom: 22px; }
.community-stat { display: flex; align-items: baseline; gap: 14px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.community-stat b { font-family: "Syne"; font-size: 2.4rem; letter-spacing: -.02em; color: var(--light); }
.community-stat span { color: var(--muted); font-size: .92rem; }
.social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.social { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass);
  backdrop-filter: blur(10px); overflow: hidden; transition: transform .25s, border-color .25s, background .25s; }
.social:hover { transform: translateY(-5px); border-color: var(--light); background: rgba(90,168,226,.08); }
.social .meta { margin: 0 0 22px; font-size: .74rem; }
.social strong { font-family: "Syne"; font-size: 1.5rem; letter-spacing: -.01em; }
.social p { color: var(--muted); font-size: .9rem; max-width: 30ch; }
.social .go { position: absolute; top: 20px; right: 22px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--light); transition: .25s; }
.social:hover .go { background: var(--light); color: var(--black); border-color: var(--light); transform: rotate(0deg) scale(1.05); }
.social.featured { grid-column: 1 / -1; padding: 32px 28px; background: linear-gradient(135deg, rgba(12,78,122,.8), rgba(18,18,18,.4)); border-color: rgba(90,168,226,.4); }
.social.featured strong { font-size: 2.2rem; }
@media (max-width: 860px) {
  .community { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 480px) { .social-grid { grid-template-columns: 1fr; } }
.social-grid .social:last-child:not(.featured) { grid-column: 1 / -1; }
.social-grid .social:last-child:not(.featured) p { max-width: 48ch; }

/* Milestones: lista cronológica */
.log { border-top: 1px solid var(--line); }
.log-row { display: grid; grid-template-columns: 190px minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px 40px; align-items: center; padding: 34px 12px; border-bottom: 1px solid var(--line); position: relative; transition: background .3s; }
.log-row::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--ac); transition: width .5s; }
.log-row:hover { background: color-mix(in srgb, var(--ac) 7%, transparent); }
.log-row:hover::before { width: 100%; }
.log-date span { display: block; font-family: "Doto Rounded"; font-weight: 500; font-size: .85rem; letter-spacing: .14em; color: var(--muted); }
.log-date b { font-family: "Syne"; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -.03em; line-height: 1; }
.log-tag { display: inline-flex; align-items: center; gap: 8px; font-family: "Doto Rounded"; font-weight: 500; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ac); margin-bottom: 8px; }
.log-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--ac); }
.log-main h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.log-row p { color: var(--muted); max-width: 46ch; }
.log-row.latest .log-date b { color: var(--light); }
@media (max-width: 860px) {
  .log-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 4px; }
  .log-date { display: flex; align-items: baseline; gap: 12px; }
}

/* Proyectos: índice tipográfico */
.projects { display: block; border-top: 1px solid var(--line); }
.work-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 56px; gap: 14px 40px; align-items: center; padding: 34px 20px; border-bottom: 1px solid var(--line); color: var(--white);
  position: relative; transition: background .35s, color .35s, padding .35s; }
a.work-row { cursor: pointer; }
.work-name h3 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: .95; letter-spacing: -.035em; }
.work-tag { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: "Doto Rounded"; font-weight: 500; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ac); transition: color .35s; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #00c27a; box-shadow: 0 0 8px #00c27a; }
.dot.soon { background: var(--ac); box-shadow: 0 0 8px var(--ac); }
.work-info p { color: var(--muted); max-width: 42ch; transition: color .35s; }
.work-meta { display: block; margin-top: 12px; font-family: "Doto Rounded"; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .35s; }
.work-go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.3rem; color: var(--ac); transition: .35s; }
.work-go:empty { border-color: transparent; }
.work-row:hover { background: var(--ac); color: var(--black); padding-left: 32px; }
.work-row:hover .work-tag, .work-row:hover .work-info p, .work-row:hover .work-meta { color: rgba(12,12,12,.78); }
.work-row:hover .dot { background: var(--black); box-shadow: none; }
.work-row:hover .work-go { background: var(--black); border-color: var(--black); color: var(--white); transform: rotate(0deg) scale(1.05); }
.work-row:focus-visible { outline: 2px solid var(--white); outline-offset: -2px; }
@media (max-width: 860px) {
  .work-row { grid-template-columns: minmax(0, 1fr) 48px; padding: 26px 4px; }
  .work-info { grid-column: 1; grid-row: 2; }
  .work-go { grid-column: 2; grid-row: 1; width: 44px; height: 44px; }
  .work-row:hover { padding-left: 4px; }
}

/* Proyectos: tamaño más contenido */
.work-row { padding: 22px 16px; gap: 10px 32px; }
.work-name h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1; letter-spacing: -.025em; }
.work-tag { margin-bottom: 8px; font-size: .7rem; }
.work-info p { font-size: .95rem; }
.work-meta { margin-top: 8px; }
.work-go { width: 42px; height: 42px; font-size: 1.1rem; }
.work-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 42px; }
.work-row:hover { padding-left: 26px; }
@media (max-width: 860px) {
  .work-row { grid-template-columns: minmax(0, 1fr) 40px; padding: 20px 4px; }
  .work-go { width: 38px; height: 38px; }
  .work-row:hover { padding-left: 4px; }
}

/* Stats: ficha técnica */
.stats { background: rgba(12,12,12,.6); }
.stats .grid { gap: 0; }
.stat { position: relative; text-align: left; padding: 40px 28px 36px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.stat::before { content: ""; position: absolute; left: 28px; top: 0; width: 28px; height: 3px; background: var(--light); transition: width .4s; }
.stat:hover::before { width: calc(100% - 56px); }
.stat-label { font-family: "Doto Rounded"; font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.stat b { font-family: "Syne"; font-size: clamp(2.6rem, 4.6vw, 3.8rem); letter-spacing: -.03em; line-height: 1; display: flex; align-items: baseline; }
.stat b i { font-style: normal; color: var(--light); }
.stat p { color: var(--muted); font-size: .9rem; margin-top: 12px; max-width: 24ch; }
@media (max-width: 860px) {
  .stat { padding: 30px 18px 28px; }
  .stat::before { left: 18px; }
  .stat:hover::before { width: calc(100% - 36px); }
  .stat:nth-child(2) { border-right: 0; }
}
.stat b span { color: inherit; font-size: inherit; }

/* Proyectos: paleta de marca (azul) en lugar de un color por producto */
.work-tag { color: var(--light); }
.work-go { color: var(--light); }
.dot.soon { background: var(--muted); box-shadow: none; }
.work-row:hover { background: var(--blue); color: var(--white); }
.work-row:hover .work-tag { color: var(--white); }
.work-row:hover .work-info p { color: rgba(242,240,237,.85); }
.work-row:hover .work-meta { color: rgba(242,240,237,.7); }
.work-row:hover .dot { background: #00c27a; box-shadow: 0 0 8px #00c27a; }
.work-row:hover .dot.soon { background: var(--white); box-shadow: none; }
.work-row:hover .work-go { background: var(--white); border-color: var(--white); color: var(--black); }
.work-row:hover .work-go:empty { background: transparent; border-color: transparent; }
div.work-row:hover { background: transparent; color: var(--white); }
div.work-row:hover .work-tag { color: var(--light); }
div.work-row:hover .work-info p { color: var(--muted); }
div.work-row:hover .work-meta { color: var(--muted); }
div.work-row:hover { padding-left: 16px; }

/* Milestones: solo azul de marca */
.log-tag { color: var(--light); }
.log-tag i { background: var(--light); }
.log-row::before { background: var(--light); }
.log-row:hover { background: rgba(12,78,122,.28); }

/* Puntos de estado en azul de marca */
.dot { background: var(--light); box-shadow: 0 0 8px var(--light); }
.work-row:hover .dot { background: var(--white); box-shadow: none; }
div.work-row:hover .dot { background: var(--light); box-shadow: 0 0 8px var(--light); }
.work-row:hover .dot.soon, div.work-row:hover .dot.soon { background: var(--muted); box-shadow: none; }

/* Meet us: marco tipo visor de cámara */
.member { padding: 0; gap: 26px; }
.member .photo { border-radius: 4px; border: 0; background:
  linear-gradient(rgba(242,240,237,.06) 1px, transparent 1px) 0 0 / 100% 33.333%,
  linear-gradient(90deg, rgba(242,240,237,.06) 1px, transparent 1px) 0 0 / 33.333% 100%,
  radial-gradient(120% 90% at 80% 0%, rgba(12,78,122,.85), rgba(14,14,14,.95)); }
.member .ini { font-size: clamp(5rem, 9vw, 7.5rem); color: transparent; -webkit-text-stroke: 1.5px var(--light); opacity: .9; }
.cm { position: absolute; width: 22px; height: 22px; border: 0 solid var(--white); opacity: .85; }
.cm.tl { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; }
.cm.tr { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; }
.cm.bl { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; }
.cm.br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }
.rec { position: absolute; top: 20px; left: 46px; display: flex; align-items: center; gap: 8px; font: 500 .72rem "Doto Rounded"; letter-spacing: .14em; color: var(--white); }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff5b4d; animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .rec i { animation: none; } }
.member .tc { left: 46px; bottom: 20px; }
.member .info .role { display: block; margin: 0 0 10px; }
.member h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; margin-bottom: 14px; }
.member p { max-width: 40ch; }
.mtags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mtags li { padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; color: var(--muted); }


/* Meet us: rectángulo dividido en dos */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--black); }
.member { position: relative; display: flex; align-items: flex-end; min-height: 560px; padding: 0; gap: 0; overflow: hidden; isolation: isolate; }
.member + .member { border-left: 1px solid var(--line); }
.member .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); filter: blur(3px) saturate(1.05); z-index: -2; transition: transform .8s, filter .6s; }
.member.reveal .bg.ini { display: grid; place-items: center; font-family: "Syne"; font-size: 9rem; color: rgba(90,168,226,.18); transform: none; filter: none; }
.member::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,12,12,.15) 0%, rgba(12,12,12,.55) 45%, rgba(12,12,12,.94) 100%); transition: opacity .4s; }
.member:hover .bg { transform: scale(1.58); filter: blur(2px) saturate(1.15); }
.member .info { padding: clamp(24px, 4vw, 44px); width: 100%; }
.member .info .role { display: block; margin-bottom: 12px; }
.member h3 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1; margin-bottom: 14px; }
.member p { max-width: 38ch; color: rgba(242,240,237,.8); }
.mtags li { background: rgba(12,12,12,.4); border-color: rgba(242,240,237,.25); color: rgba(242,240,237,.85); backdrop-filter: blur(6px); }
@media (max-width: 760px) {
  .team { grid-template-columns: 1fr; }
  .member { min-height: 440px; }
  .member + .member { border-left: 0; border-top: 1px solid var(--line); }
}

/* Meet us: captura del perfil de Instagram como fondo */
.member .bg { inset: 0 0 auto 0; height: 68%; transform: none; filter: none; object-fit: cover; object-position: 28% 0; opacity: .95;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.member:hover .bg { transform: none; filter: brightness(1.12); }
.member::after { background: linear-gradient(180deg, rgba(12,12,12,0) 0%, rgba(12,12,12,.35) 40%, rgba(12,12,12,.96) 75%); }


/* Meet us: perfiles estilo Instagram, versión sitio */
.team { background: rgba(12,12,12,.7); }
.prof { display: flex; flex-direction: column; gap: 22px; padding: clamp(26px, 4vw, 44px); }
.prof + .prof { border-left: 1px solid var(--line); }
.prof-top { display: flex; align-items: center; gap: 22px; }
.avatar { flex: none; width: 108px; height: 108px; border-radius: 50%; padding: 4px; background: conic-gradient(from 200deg, var(--light), var(--blue), var(--light)); }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--black); background: var(--black); }
.prof-id { min-width: 0; }
.handle { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; color: var(--muted); }
.vf { width: 16px; height: 16px; }
.prof h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; margin: 4px 0 6px; }
.prof .role { font-family: "Doto Rounded"; font-weight: 500; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--light); }
.pstats { display: flex; gap: 34px; padding: 16px 0; border-block: 1px solid var(--line); }
.pstats li { display: flex; flex-direction: column; }
.pstats b { font-family: "Syne"; font-size: 1.5rem; letter-spacing: -.02em; }
.pstats span { font-size: .8rem; color: var(--muted); }
.pbio { color: rgba(242,240,237,.82); max-width: 44ch; }
.prof .mtags { margin-top: 0; }
.hls { display: flex; gap: 18px; flex-wrap: wrap; }
.hl { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 68px; }
.hl .ring { width: 62px; height: 62px; border-radius: 50%; padding: 2px; background: var(--line); display: grid; place-items: center; transition: background .3s, transform .3s; }
.hl .ring img { width: 100%; height: 100%; padding: 17px 15px; border-radius: 50%; background: #17181b; border: 2px solid var(--black); }
.hl:hover .ring { background: var(--light); transform: translateY(-3px); }
.hl em { font-style: normal; font-size: .72rem; color: var(--muted); text-align: center; line-height: 1.2; }
.pill.ig { align-self: flex-start; margin-top: 4px; }
@media (max-width: 760px) {
  .prof + .prof { border-left: 0; border-top: 1px solid var(--line); }
  .avatar { width: 88px; height: 88px; }
}


/* Values: lista editorial */
.vals { border-top: 1px solid var(--line); }
.val-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px 56px; align-items: center; padding: 38px 16px; border-bottom: 1px solid var(--line); position: relative; transition: background .3s; }
.val-row::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--light); transition: width .5s; }
.val-row:hover { background: rgba(12,78,122,.28); }
.val-row:hover::before { width: 100%; }
.val-row h3 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.025em; display: flex; align-items: center; gap: 18px; }
.val-row h3::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--light); clip-path: polygon(0 0,100% 0,100% 55%,50% 100%,0 55%); }
.val-row p { color: var(--muted); max-width: 46ch; }
@media (max-width: 760px) { .val-row { grid-template-columns: 1fr; padding: 28px 4px; } }


/* Perfiles: portada + avatar superpuesto */
.prof { padding: 0; gap: 0; position: relative; }
.prof-cover { position: relative; height: 132px; overflow: hidden; background: linear-gradient(180deg, rgba(12,78,122,.35), rgba(12,12,12,.9)), url("assets/img/grain-blue.png") center / cover; border-bottom: 1px solid var(--line); }
.prof-cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(242,240,237,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(242,240,237,.07) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 80%); }
.prof-cover img { position: absolute; right: -2%; top: 50%; height: 150%; transform: translateY(-50%); opacity: .12; }
.prof-cover span { position: absolute; right: 22px; bottom: 14px; font: 500 .72rem "Doto Rounded"; letter-spacing: .14em; color: rgba(242,240,237,.75); }
.prof-body { padding: 0 clamp(24px, 4vw, 44px) clamp(26px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.prof-head { display: flex; justify-content: space-between; align-items: flex-end; margin-top: -58px; }
.prof .avatar { width: 124px; height: 124px; padding: 5px; box-shadow: 0 0 0 6px var(--black); background: conic-gradient(from 200deg, var(--light), var(--blue), var(--light)); }
.prof .pill.ig { align-self: flex-end; margin: 0 0 6px; padding: 10px 22px; }
.prof-id { display: flex; flex-direction: column; gap: 4px; }
.prof-id h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.prof-id .handle { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.prof .pbio { max-width: 46ch; }
@media (max-width: 760px) {
  .prof + .prof { border-left: 0; border-top: 1px solid var(--line); }
  .prof .avatar { width: 100px; height: 100px; }
  .prof-head { margin-top: -46px; }
  .prof-cover { height: 110px; }
}
.prof-body { position: relative; z-index: 1; }

/* Perfiles: pulido */
.prof-cover { height: 140px; }
.prof-cover img { right: 4%; top: 50%; height: 120%; transform: translateY(-50%); opacity: .14; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); transition: opacity .4s, transform .6s; }
.prof:hover .prof-cover img { opacity: .22; transform: translateY(-50%) scale(1.04); }
.prof-head { margin-top: -62px; }
.prof .avatar { width: 128px; height: 128px; transition: transform .35s; }
.prof:hover .avatar { transform: translateY(-3px); }
.prof .role { color: #8cc4f0; }
.prof-id .handle { display: inline-flex; align-items: center; gap: 7px; }
.prof-id .handle::before { content: ""; width: 14px; height: 14px; background: currentColor; opacity: .8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; }
.prof .pbio { font-size: 1.02rem; line-height: 1.65; }
.mtags li { transition: border-color .25s, color .25s, background .25s; }
.mtags li:hover { border-color: var(--light); color: var(--white); background: rgba(90,168,226,.1); }
.prof .pill.ig:hover { background: #115f95; border-color: #115f95; transform: translateY(-2px); }
@media (max-width: 760px) { .prof-head { margin-top: -48px; } .prof .avatar { width: 104px; height: 104px; } .prof-cover { height: 116px; } }

/* Perfiles: portada más visual */
.prof-cover { height: 190px; border-bottom: 0;
  background:
    radial-gradient(420px 220px at 88% 0%, rgba(140,196,240,.75), transparent 70%),
    radial-gradient(360px 200px at 8% 110%, rgba(8,40,66,.9), transparent 70%),
    linear-gradient(180deg, rgba(12,78,122,.2), rgba(12,12,12,.35) 100%),
    url("assets/img/grain-blue.png") center / cover; }
.prof-cover::before { background-image: linear-gradient(rgba(242,240,237,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(242,240,237,.09) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at 85% 10%, #000, transparent 75%); }
.prof-cover img { right: -3%; top: -18%; height: 150%; transform: none; opacity: .2; -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 0 24px rgba(140,196,240,.55)); }
.prof:hover .prof-cover img { opacity: .3; transform: translateX(-8px); }
.prof-cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; border-top: 1px solid rgba(242,240,237,.22);
  background: repeating-linear-gradient(90deg, rgba(242,240,237,.5) 0 1px, transparent 1px 12px) 0 100% / 100% 9px no-repeat, linear-gradient(180deg, rgba(12,12,12,0), rgba(12,12,12,.55)); }
.prof:first-child .prof-cover::after { background-position: 0 100%, 0 0; }
.prof-cover span { bottom: 36px; right: 26px; padding: 4px 12px; border-radius: 999px; background: rgba(12,12,12,.35); backdrop-filter: blur(8px); border: 1px solid rgba(242,240,237,.25); color: var(--white); }
.prof-head { margin-top: -66px; }
@media (max-width: 760px) { .prof-cover { height: 150px; } .prof-head { margin-top: -52px; } }

/* Un solo banner 411 para los dos perfiles */
.team { grid-template-rows: auto 1fr; }
.team-cover { grid-column: 1 / -1; position: relative; height: 200px; overflow: hidden;
  background:
    radial-gradient(520px 240px at 82% 0%, rgba(140,196,240,.7), transparent 70%),
    radial-gradient(480px 220px at 12% 110%, rgba(8,40,66,.9), transparent 70%),
    linear-gradient(180deg, rgba(12,78,122,.2), rgba(12,12,12,.35)),
    url("assets/img/grain-blue.png") center / cover; }
.team-cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(242,240,237,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(242,240,237,.09) 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 80%); }
.team-cover img { position: absolute; left: 50%; top: 50%; height: 230%; transform: translate(-50%, -50%); opacity: .2; filter: drop-shadow(0 0 30px rgba(140,196,240,.5)); pointer-events: none; }
.team-cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; border-top: 1px solid rgba(242,240,237,.22);
  background: repeating-linear-gradient(90deg, rgba(242,240,237,.5) 0 1px, transparent 1px 12px) 0 100% / 100% 9px no-repeat, linear-gradient(180deg, rgba(12,12,12,0), rgba(12,12,12,.55)); }
.team-cover .th { position: absolute; bottom: 38px; padding: 4px 12px; border-radius: 999px; background: rgba(12,12,12,.35); backdrop-filter: blur(8px); border: 1px solid rgba(242,240,237,.25); font: 500 .72rem "Doto Rounded"; letter-spacing: .14em; color: var(--white); }
.team-cover .th0 { right: calc(50% + 26px); }
.team-cover .th1 { right: 26px; }
.prof-body { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .team-cover { height: 150px; }
  .team-cover img { height: 300%; }
  .team-cover .th0 { right: auto; left: 20px; }
  .team-cover .th1 { display: none; }
}

/* Banner: mismo logo de antes, a menor escala */
.team-cover img { height: 150%; top: 50%; }
@media (max-width: 760px) { .team-cover img { height: 200%; } }

/* Banner: movimiento del logo al pasar el cursor */
.team-cover img { transition: opacity .5s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.team-cover:hover img { opacity: .3; transform: translate(calc(-50% - 14px), -50%) scale(1.05); }
@media (prefers-reduced-motion: reduce) { .team-cover img { transition: none; } }

/* Móvil: menú, pager y ajustes */
@media (max-width: 860px) {
  nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .pager { left: auto; right: max(14px, env(safe-area-inset-right, 0px)); transform: none; bottom: max(14px, env(safe-area-inset-bottom, 0px)); }
  .pager button { width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 50%; }
  .pager button .lbl { display: none; }
  .pager button .arr { font-size: 1.2rem; }
}
@media (max-width: 760px) {
  .prof + .prof .prof-head { margin-top: 0; }
  .prof + .prof .prof-body { padding-top: 30px; }
}
@media (max-width: 760px) {
  .prof .pill.ig { white-space: nowrap; padding: 10px 16px; font-size: .85rem; flex: none; }
  .prof-head { gap: 12px; }
}


/* Móvil: cada perfil lleva su banner; botón con aire; barra de progreso fluida */
.prof .prof-cover { display: none; }
.timeline-bar { overflow: visible; }
@media (max-width: 760px) {
  .team-cover { display: none; }
  .team { grid-template-rows: none; }
  .prof .prof-cover { display: block; position: relative; height: 150px; border-bottom: 0; }
  .prof .prof-cover span { position: absolute; right: 16px; bottom: 36px; }
  .prof-head { margin-top: -34px; }
  .prof + .prof .prof-head { margin-top: -34px; }
  .prof + .prof .prof-body { padding-top: 0; }
  .prof .pill.ig { margin-bottom: 4px; }
  .nav { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}

/* Fluidez: barra de progreso movida por el scroll (sin JS) y menos blur en móvil */
@supports (animation-timeline: scroll()) {
  .timeline-bar i { animation: tlgrow linear both; animation-timeline: scroll(root block); }
  @keyframes tlgrow { from { transform: translate3d(-100%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
}
@media (max-width: 860px) {
  * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .nav { background: rgba(18,18,18,.94); }
  .pager button { background: rgba(18,18,18,.92); }
  .tl-card, .social, .pill, .mtags li { background-color: rgba(26,26,28,.9); }
  .reveal { transition-duration: .45s; }
}

/* El botón flotante se detiene justo encima de la línea del pie de página */
.pager { bottom: calc(max(18px, env(safe-area-inset-bottom, 0px)) + var(--lift, 0px)); }
@media (max-width: 860px) { .pager { bottom: calc(max(14px, env(safe-area-inset-bottom, 0px)) + var(--lift, 0px)); } }

/* Menú móvil: panel claro con filas grandes */
@media (max-width: 860px) {
  nav { align-items: stretch; gap: 0; padding: 8px 10px 12px; border-radius: 24px; background: #101114; border: 1px solid rgba(242,240,237,.16); box-shadow: 0 24px 60px rgba(0,0,0,.6); }
  nav a:not(.pill) { display: flex; justify-content: space-between; align-items: center; padding: 18px 12px; font-family: "Syne", sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: var(--white); border-bottom: 1px solid rgba(242,240,237,.12); }
  nav a:not(.pill)::after { content: "→"; font-family: "DM Sans", sans-serif; font-weight: 400; font-size: 1.2rem; color: var(--light); }
  nav a[aria-current="page"]::after { content: "●"; font-size: .7rem; }
  nav .pill { margin-top: 12px; padding: 16px; text-align: center; font-size: 1.05rem; font-weight: 700; background: var(--blue); border-color: var(--blue); color: var(--white); }
}

/* Menú desplegable también en escritorio */
@media (min-width: 861px) {
  .burger { display: block; }
  nav { position: absolute; top: calc(100% + 10px); right: 0; left: auto; width: 360px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 10px 12px; border-radius: 24px;
    background: #101114; border: 1px solid rgba(242,240,237,.16); box-shadow: 0 24px 60px rgba(0,0,0,.6);
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  nav > a:not(.pill) { display: flex; justify-content: space-between; align-items: center; padding: 18px 12px; font-family: "Syne", sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: var(--white); border-bottom: 1px solid rgba(242,240,237,.12); }
  nav > a:not(.pill):hover { color: var(--light); }
  nav > a:not(.pill)::after { content: "→"; font-family: "DM Sans", sans-serif; font-weight: 400; font-size: 1.2rem; color: var(--light); }
  nav > a[aria-current="page"]::after { content: "●"; font-size: .7rem; }
  nav .pill { margin-top: 12px; padding: 16px; text-align: center; font-size: 1.05rem; font-weight: 700; background: var(--blue); border-color: var(--blue); color: var(--white); }
  nav .pill:hover { background: #115f95; border-color: #115f95; }
}

/* Menú en escritorio: más compacto */
@media (min-width: 861px) {
  nav { width: 230px; padding: 6px 8px 8px; border-radius: 18px; }
  nav > a:not(.pill) { padding: 12px 10px; font-size: 1.05rem; }
  nav > a:not(.pill)::after { font-size: 1rem; }
  nav .pill { margin-top: 8px; padding: 11px; font-size: .9rem; }
}
