:root {
      --ink: #17243a; --muted: #667386; --line: #e2e6eb;
      --paper: #f6f7f8; --white: #fff; --accent: #315b8b;
      --soft: #edf2f7; --max: 1120px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; background: var(--paper); color: var(--ink);
      font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
    a { color: inherit; text-decoration: none; }
    .wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
    header { position: sticky; top: 0; z-index: 5; background: rgba(246,247,248,.92);
      backdrop-filter: blur(14px); border-bottom: 1px solid rgba(226,230,235,.8); }
    .nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .brand { font-size: 1.55rem; font-weight: 800; letter-spacing: -.08em; }
    nav { display: flex; flex-wrap: wrap; gap: 26px; color: var(--muted); font-size: .9rem; }
    nav a:hover, .text-link:hover { color: var(--accent); }
    .hero { padding: 112px 0 96px; border-bottom: 1px solid var(--line); }
    .eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .15em; font-size: .73rem; font-weight: 750; }
    h1 { max-width: 850px; margin: 22px 0; font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: 1.02; letter-spacing: -.065em; font-weight: 700; }
    .lead { max-width: 690px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
    .tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
    .tag { border: 1px solid #d7dee7; border-radius: 99px; padding: 7px 13px; font-size: .78rem; color: #40516a; background: rgba(255,255,255,.55); }
    section { padding: 82px 0; border-bottom: 1px solid var(--line); }
    .section-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; margin-bottom: 34px; }
    .section-kicker { color: var(--muted); text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 700; padding-top: 10px; }
    h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.045em; line-height: 1.12; }
    .section-intro { color: var(--muted); max-width: 720px; margin: 13px 0 0; }
    .project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
    .project { min-height: 245px; display: flex; flex-direction: column; justify-content: space-between; background: var(--white);
      border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
    .project:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(23,36,58,.07); }
    .project .num { color: #8a96a6; font-size: .75rem; letter-spacing: .1em; }
    .project h3 { margin: 24px 0 8px; font-size: 1.35rem; letter-spacing: -.025em; }
    .project p { margin: 0; color: var(--muted); font-size: .94rem; }
    .status { display: inline-flex; align-self: flex-start; margin-top: 22px; border-radius: 99px; padding: 5px 10px;
      background: var(--soft); color: #405b7b; font-size: .7rem; font-weight: 700; }
    .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
    .two-col p { color: var(--muted); margin-top: 0; }
    .capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
    .cap { padding: 17px 0; border-bottom: 1px solid var(--line); }
    .cap strong { display: block; font-size: .96rem; }
    .cap span { color: var(--muted); font-size: .86rem; }
    .callout { background: #17243a; color: #fff; border-radius: 18px; padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
    .callout h2 { max-width: 620px; }
    .callout p { color: #c5cfdb; max-width: 620px; margin-bottom: 0; }
    .foot { padding: 28px 0 42px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .8rem; }
    /* Perfil JAG: presentación y áreas de experiencia */
    .profile-intro { padding: 82px 0 70px; }
    .profile-top { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 48px; align-items: center; }
    .profile-copy .section-kicker { padding: 0; margin-bottom: 22px; }
    .profile-copy h2 { font-size: clamp(2rem,4.2vw,3.35rem); line-height: 1.08; letter-spacing: -.05em; }
    .profile-copy h2 .blue-dot { color: #1684df; }
    .profile-subtitle { margin: 14px 0 24px; color: #3488c8; font-size: clamp(1.25rem,2.4vw,2rem); line-height: 1.2; font-weight: 650; letter-spacing: -.025em; }
    .profile-copy p { max-width: 760px; margin: 0 0 16px; font-size: 1.04rem; line-height: 1.58; }
    .profile-copy strong { font-weight: 750; }
    .profile-mark { min-height: 300px; display: grid; place-items: center; position: relative; overflow: hidden; }
    .profile-mark::before { content: ""; position: absolute; width: 390px; height: 390px; border-radius: 50%; background: radial-gradient(circle, #eaf5ff 0%, #dceeff 58%, rgba(220,238,255,0) 72%); }
    .profile-areas { padding: 30px 0 54px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .profile-areas h3 { margin: 0 0 24px; font-size: clamp(1.7rem,3vw,2.3rem); letter-spacing: -.04em; }
    .area-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
    .area { padding: 0 26px; border-right: 1px solid #d7e0eb; }
    .area:first-child { padding-left: 12px; }
    .area:last-child { border-right: 0; }
    .area strong { display: block; margin-bottom: 4px; font-size: 1rem; line-height: 1.25; }
    .area span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; }
    .profile-evolution { margin-top: 28px; padding: 25px 30px; display: flex; align-items: center; gap: 24px; border-radius: 16px; background: #eaf4fc; }
    .evolution-symbol { flex: 0 0 62px; height: 62px; display: grid; place-items: center; border-right: 1px solid #4d94cf; color: #1768ad; font-size: 2rem; }
    .profile-evolution h3 { margin: 0 0 4px; font-size: 1.45rem; letter-spacing: -.03em; }
    .profile-evolution p { margin: 0; color: #40516a; }
    @media (max-width: 720px) {
      .wrap { width: min(100% - 32px, var(--max)); }
      .nav { min-height: 66px; align-items: flex-start; padding: 17px 0; flex-direction: column; gap: 10px; }
      nav { gap: 16px; font-size: .82rem; }
      .hero { padding: 76px 0 66px; }
      section { padding: 62px 0; }
      .section-head, .two-col { grid-template-columns: 1fr; gap: 16px; }
      .project-grid, .capabilities { grid-template-columns: 1fr; }
      .callout { padding: 27px; }
      .foot { flex-direction: column; }
      .profile-intro { padding: 62px 0 48px; }
      .profile-top { grid-template-columns: 1fr; gap: 10px; }
      .profile-mark { min-height: 190px; }
      .profile-mark::before { width: 270px; height: 270px; }
      .area-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
      .area:nth-child(2) { border-right: 0; }
      .area:nth-child(3) { padding-left: 12px; }
      .profile-evolution { padding: 22px; align-items: flex-start; }
    }
    @media (max-width: 440px) {
      .area-grid { grid-template-columns: 1fr; }
      .area, .area:first-child, .area:nth-child(3) { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--line); }
      .area:last-child { border-bottom: 0; }
      .profile-evolution { flex-direction: column; gap: 12px; }
      .evolution-symbol { border-right: 0; border-bottom: 1px solid #4d94cf; width: 100%; }
    }

/* Recursos gráficos externos */
.monogram-image {
  position: relative;
  display: block;
  width: min(100%, 430px);
  height: auto;
  z-index: 1;
}
.area-icon-image {
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
}
.evolution-symbol img {
  display: block;
  width: 42px;
  height: 42px;
}
